After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 749541 - mpegtsdemux unable to play video
mpegtsdemux unable to play video
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
unspecified
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-05-18 12:47 UTC by cynthia.serber
Modified: 2015-05-21 09:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test Video (1.40 MB, video/vnd.dlna.mpeg-tts)
2015-05-20 08:14 UTC, cynthia.serber
Details
send UDP protocol (6.89 KB, text/x-c)
2015-05-20 08:17 UTC, cynthia.serber
Details

Description cynthia.serber 2015-05-18 12:47:26 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.
Comment 1 Tim-Philipp Müller 2015-05-18 12:54:43 UTC
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.
Comment 2 cynthia.serber 2015-05-20 08:14:57 UTC
Created attachment 303643 [details]
test Video
Comment 3 cynthia.serber 2015-05-20 08:17:35 UTC
Created attachment 303644 [details]
send UDP protocol
Comment 4 Tim-Philipp Müller 2015-05-20 08:31:03 UTC
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
Comment 5 cynthia.serber 2015-05-20 09:46:49 UTC
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).
Comment 6 cynthia.serber 2015-05-20 09:54:12 UTC
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.
Comment 7 cynthia.serber 2015-05-20 12:40:31 UTC
what's I'm doing :
https://www.dropbox.com/sh/0wg1ndvml6fonmr/AAC5yR_llqlua_6Osl0Wifkea?dl=0
Comment 8 cynthia.serber 2015-05-21 09:47:53 UTC
Ok it work with playbin