-
Notifications
You must be signed in to change notification settings - Fork 332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
omxplayer seems to play then hangs on #272
Comments
ffmpeg refers to it as "constrained basline profile":
That's not something I've seen before. I'll see if I can find out if it's supported by the hardware. (Note: I've tried remuxing to mkv but that didn't help, so it's probably the codec rather than the container). |
i have also purchased MPEG-2 and VC-1 license keys for pi but it didn't help. it would be great for people who wants to watch rtmp streams with that codec. thanks. |
Looking at the data in the file, the decoder config starts like: And video frames start with:
That's size followed by first 16 bytes, it looks a bit strange. Looks like there's a 4 byte length code, and then a 00 00 00 01 start code. I've found if I remove the first 4 bytes of each video frame, it does decode (with some corruption - possibly due to other unwanted length codes inside the packets) |
you can test the stream with rtmpdump -r "rtmp://cp49989.live.edgefcs.net:1935/live/" -v -y "streamRM1@2564" -o /tmp/livevideo | omxplayer -o hdmi /tmp/livevideo command. so you say omxplayer can not do anything with that? |
Baseline is not (as one might expect) a subset of main profile, but allows a number of (somewhat complicated) error recovery features to be turned on. Constrained baseline just means the intersection of baseline and main profiles, and won't cause problems in the least. The problem here appears to be container-related; I'll take a look shortly. |
See: raspberrypi/linux#843 kernel: serial: amba-pl011: Kickstart TX by explicit FIFO fill See: raspberrypi/linux#148 kernel: config: enable TOUCHSCREEN_USB_COMPOSITE See: raspberrypi/linux#718 firmware: ldconfig: Sort config options and use bsearch for lookups firmware: video_decode: Require a small factor improvement for fifo timestamps See: http://forum.kodi.tv/showthread.php?tid=215399 firmware: video codec: allow length-delineated input to have startcodes as well See: popcornmix/omxplayer#272
See: raspberrypi/linux#843 kernel: serial: amba-pl011: Kickstart TX by explicit FIFO fill See: raspberrypi/linux#148 kernel: config: enable TOUCHSCREEN_USB_COMPOSITE See: raspberrypi/linux#718 firmware: ldconfig: Sort config options and use bsearch for lookups firmware: video_decode: Require a small factor improvement for fifo timestamps See: http://forum.kodi.tv/showthread.php?tid=215399 firmware: video codec: allow length-delineated input to have startcodes as well See: popcornmix/omxplayer#272
Can you try updating firmware (with rpi-update) and testing your stream? |
This is believed to be fixed. Please reopen if there is still a problem. |
See: raspberrypi/linux#843 kernel: serial: amba-pl011: Kickstart TX by explicit FIFO fill See: raspberrypi/linux#148 kernel: config: enable TOUCHSCREEN_USB_COMPOSITE See: raspberrypi/linux#718 firmware: ldconfig: Sort config options and use bsearch for lookups firmware: video_decode: Require a small factor improvement for fifo timestamps See: http://forum.kodi.tv/showthread.php?tid=215399 firmware: video codec: allow length-delineated input to have startcodes as well See: popcornmix/omxplayer#272
Hi,
I have a raspberry pi model b installed with the latest raspbian image. I try to play a rtmp stream with omxplayer but i get a black screen every time on my tv connected via hdmi to my pi. i have downloaded the stream with rtmpdump and tried to open it with omxplayer -o hdmi command but omxplayer just hanged on forever. this is the test file from the stream: https://www.dropbox.com/s/ql1migeac8spi2s/stream.flv?dl=0
can you please download it and try to play with omxplayer via hdmi?
mediainfo output _videocodecid: avc1 _audiocodecid : mp4a
omxplayer version
Build date: Sat, 22 Mar 2014 20:58:15 +0000
Version : 39e6342 [master]
thanks
The text was updated successfully, but these errors were encountered: