Problem with omxplayer / stream playback


3 posts
by Plox » Fri Sep 27, 2013 3:28 pm
Good day fellow programmers,
I am trying to watch live Tv on my Raspberry and I feel like I am pretty close to getting it to work.

I am using the following setup:
mumudvb running on the Pi to tune and stream the Tv channel via http unicast.
omxplayer running on the Pi to play said http unicast stream.

My Pi is running Debian Wheezy and the MPEG2 license is enabled. 256mb of memory have been addressed to the GPU.
I have run rpi-update, apt-get update and apt-get upgrade.
Omxplayer is the latest version.
Omxplayer is able to play .ts http streams hosted by VLC player running on a windows computer in the same network.
However if I try to play one of mumudvbs streams I get the following output:

Code: Select all
root@raspberrypi:~# omxplayer  http://192.168.178.51:8001/
Video codec omx-mpeg2 width 720 height 576 profile 4 fps 25.000000
have a nice day ;)


Note that mumudvb did receive omxplayer's request.

Code: Select all
"nfo:  Unicast :  We add the client 192.168.178.51:19883 to the channel "BR


I also tried "0.0.0.0" instead of my ip address but this lead to the same output.

The same stream can be played using VLC on the windows machine without any problems.

My guess is that it has something to do with audio as the audio part appears to be not recognized by omxplayer.
Please note that I did try the options "-w" and "-p"

Does anyone have an idea how to fix this?
Any help will be greatly appreciated. Thank you!
Posts: 17
Joined: Thu Aug 01, 2013 7:50 pm
by gkreidl » Sun Sep 29, 2013 3:19 pm
recent versions of omxplayer have problems with playing ts streams, espially HD streams. Try the version from the repository. I'm using it every day with SD and HD resolutions and also stream from mumudvb unicast (coming from another computer on the network).
Minimal Kiosk Browser
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode for embedded applications
Posts: 664
Joined: Thu Jan 26, 2012 1:07 pm
by Plox » Sun Sep 29, 2013 5:21 pm
I found the problem:
In the mumudvb config file the audio PID has to come second after the video PID, VLC player seems to able to play the stream no matter how the PiDs are sorted but omxplayer fails to open it all if the PiDs are sorted in a different way.
Posts: 17
Joined: Thu Aug 01, 2013 7:50 pm