LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 12-19-2017, 12:15 PM   #1
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,041

Rep: Reputation: 148Reputation: 148
Question OMXPlayer and ts video files


Greetings!

I know that omxplayer can play mp4 files with no issues. However, any other types of video format (specifically ts and mkv), it will not play. them. Looking inside the omxplayer sources, I see a Makefile.ffmpeg that does indeed dictate which decoder are enabled/disabled. I don't see an option for mpegts in there. So my question is, would it even be possible for omxplayer to play this file format at all? I have a tv tunner which works fine on the pi, but the signals are in mpegts and thus unwatchable. Thank you for your time!
 
Old 12-19-2017, 07:24 PM   #2
abga
Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 449

Rep: Reputation: 225Reputation: 225Reputation: 225
I'm using OMXPlayer under Kodi and I'm able to play all the common media formats & containers. MKV is a container, TS is the whole transport stream (direct dump from DVB) and both may contain different video encoding formats - MPEG2/MPEG4...etc
I'm not sure what OMXPlayer is good for as standalone player and also not sure why it's usually not compiled to use the FFMPEG libs.

To check the type of media (video format/encoding) you can follow this guide:
https://superuser.com/questions/5951...ne-under-linux
- on stock Slackware you only have mplayer to play with.

Since you are using your DVB adapter connected to the Pi, you can compile FFMPEG, then Kodi & tveadend and run them both on the same host, have your own Multimedia Station (Smart TV) playing everything (all common formats & streams) by still using OMXPlayer (Kodi compiles it internally and uses it).
 
1 members found this post helpful.
Old 12-19-2017, 09:37 PM   #3
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,041

Original Poster
Rep: Reputation: 148Reputation: 148
Quote:
Originally Posted by abga View Post
I'm using OMXPlayer under Kodi and I'm able to play all the common media formats & containers. MKV is a container, TS is the whole transport stream (direct dump from DVB) and both may contain different video encoding formats - MPEG2/MPEG4...etc
I'm not sure what OMXPlayer is good for as standalone player and also not sure why it's usually not compiled to use the FFMPEG libs.

To check the type of media (video format/encoding) you can follow this guide:
https://superuser.com/questions/5951...ne-under-linux
- on stock Slackware you only have mplayer to play with.

Since you are using your DVB adapter connected to the Pi, you can compile FFMPEG, then Kodi & tveadend and run them both on the same host, have your own Multimedia Station (Smart TV) playing everything (all common formats & streams) by still using OMXPlayer (Kodi compiles it internally and uses it).
I've seen people say that they had better success using kodi. I'm going to go that route and see. Thank you for the link also. I did not know about the mediainfo command line app. Very nifty!
 
Old 12-20-2017, 01:24 PM   #4
abga
Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 449

Rep: Reputation: 225Reputation: 225Reputation: 225
I'm playing ts files that are recorded by tvheadend without any issues in Kodi 17.x, FFMPEG & Kodi being built by following the guides I posted here in the Slackware ARM forum. However, as reported here, some do have issues playing ts files (no clue about how they've built their FFMPEG&Kodi):
https://forum.kodi.tv/showthread.php?tid=288002

Alternatively, since you already have OMXPlayer available, you could try to use the following switch for playing ts files:
--live Set for live tv or vod type stream
More info on OMXPlayer capabilities/switches:
https://github.com/popcornmix/omxplayer

On running both tvheadend&Kodi on the same system (Pi), I'd like to point out that I've only tested this successfully on a Pi Zero / Pi2. Pi3 should work (enough computing power) and I'm not sure if a Pi1 can handle the load. On a Pi Zero playing 1080p 25fps DVB stream Kodi eats up around 65% of the CPU and tvheadend another 22%, playing 1080p 50-60fps DVB stream on a Pi Zero is also possible but the CPU load will go over 70-80% and tvheadend will not get enough resources. I've mentioned all these details because I don't know what Pi you're using, please try to be a little more specific about your HW/SW.
Quote:
I have a tv tunner which works fine on the pi
 
1 members found this post helpful.
Old 12-20-2017, 08:25 PM   #5
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,041

Original Poster
Rep: Reputation: 148Reputation: 148
Quote:
Originally Posted by abga View Post
I'm playing ts files that are recorded by tvheadend without any issues in Kodi 17.x, FFMPEG & Kodi being built by following the guides I posted here in the Slackware ARM forum. However, as reported here, some do have issues playing ts files (no clue about how they've built their FFMPEG&Kodi):
https://forum.kodi.tv/showthread.php?tid=288002

Alternatively, since you already have OMXPlayer available, you could try to use the following switch for playing ts files:
--live Set for live tv or vod type stream
More info on OMXPlayer capabilities/switches:
https://github.com/popcornmix/omxplayer

On running both tvheadend&Kodi on the same system (Pi), I'd like to point out that I've only tested this successfully on a Pi Zero / Pi2. Pi3 should work (enough computing power) and I'm not sure if a Pi1 can handle the load. On a Pi Zero playing 1080p 25fps DVB stream Kodi eats up around 65% of the CPU and tvheadend another 22%, playing 1080p 50-60fps DVB stream on a Pi Zero is also possible but the CPU load will go over 70-80% and tvheadend will not get enough resources. I've mentioned all these details because I don't know what Pi you're using, please try to be a little more specific about your HW/SW.

It's a Pi3.
 
  


Reply

Tags
ffmpeg, mpegts, omxplayer


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SlackBuild for OMXPlayer slacksam Slackware - ARM 36 06-04-2018 11:12 AM
Gotubecast / Omxplayer / WARNING: "id" field is not a string - forcing string conversion, there is an error in extractor omxplayer.bin Zalokin Linux - Software 1 07-24-2017 10:19 PM
omxplayer slackbuild error jowski Slackware - ARM 6 06-21-2016 05:16 AM
LXer: Multimedia on the Raspberry Pi with omxplayer LXer Syndicated Linux News 0 06-17-2012 08:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 09:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration