GNOME Bugzilla – Bug 749541
mpegtsdemux unable to play video
Last modified: 2015-05-21 09:48:34 UTC
Hi, I have a recorded video that VLC can play but not gstreamer. I use gst-launch and the pipeline below. gst-launch-0.10 udpsrc port=1234 ! mpegtsdemux ! ffdec_h264 ! xvimagesink syn=false I don't know where is the problem.
GStreamer 0.10 is no longer maintained and has not been maintained for years now, please test with a recent GStreamer 1.x version. Also, if you could make a capture of the stream available, that would be helpful (udpsrc ! filesink location=foo.ts). Please test with playbin or something like udpsrc ! queue ! decodebin ! videoconvert ! xvimagesink instead of hand-building pipelines.
Created attachment 303643 [details] test Video
Created attachment 303644 [details] send UDP protocol
Thanks for the test video. This seems to work fine for me with the latest release (1.4.5) when streamed with $ tsplay samples/misc/749541-stest.ts -udp 127.0.0.1:5000 and played with: $ gst-play-1.0 udp://127.0.0.1:5000
I have downloaded the lastest release but it's worse. The video don't play at all. The data is received by USB port so I can't use directly tsplay it's why I have created an application. But you can use my appli like that : gcc mpegtsudp.c -o mpegtsudp -lrt Usage : ./mpegtsudp stest.ts ip_address port bitrate And after run gst-launch. The problem is when I play video many time with gst-launch running. The video freeze sommetime. I need for my projet a robust player that can play all of time whatever problems happen on the receive side (USB port).
The player has to replay when the communication is broken. But for the moment the video just freeze without warnings or errors. Or sometimes warning : countinuity counter not expected.
what's I'm doing : https://www.dropbox.com/sh/0wg1ndvml6fonmr/AAC5yR_llqlua_6Osl0Wifkea?dl=0
Ok it work with playbin