mpeg2ts won't playback

Rand Graham rand.graham at zenith.com
Fri Nov 9 22:39:17 UTC 2018


Hello all,

I am trying to playback an mpeg2 TS that is being sent via udp to the loopback interface.

The video doesn't playback. I get a blank video window. I don't get much information on what the problem might be.

When setting  GST_DEBUG to 3. I see a FIXME that says something about a "Refcounting issue"

Can someone tell me why gstreamer is unable to play this back?

gst-launch-1.0 udpsrc multicast-iface=lo  uri=udp://231.8.6.7:5309  ! tsdemux ! mpegvideoparse ! mfxmpeg2dec ! autovideosink
Setting pipeline to PAUSED ...
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_1
libva info: va_openDriver() returns 0
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_1
libva info: va_openDriver() returns 0
Pipeline is live and does not need PREROLL ...
0:00:00.028438146  3772       0xc79290 WARN               structure gststructure.c:1832:priv_gst_structure_append_to_gstring: No value transform to serialize field 'gst.mfx.Aggregator' of type 'GstMfxTaskAggregator'
Got context from element 'mfxsink0': gst.mfx.Aggregator=context, gst.mfx.Aggregator=(GstMfxTaskAggregator)NULL;
Setting pipeline to PLAYING ...
New clock: GstSystemClock
0:00:00.080719063  3772       0xc09e30 FIXME             mpegtsbase mpegtsbase.c:915:mpegts_base_activate_program: Refcounting issue. Setting a known PSI PID (0x0014) as known PES
0:00:00.080769332  3772       0xc09e30 WARN                 tsdemux tsdemux.c:1591:create_pad_for_stream: AC3 stream type found but no guaranteed way found to differentiate between AC3 and EAC3. Assuming plain AC3.
0:00:00.152900772  3772       0xc09e30 FIXME           videodecoder gstvideodecoder.c:933:gst_video_decoder_drain_out:<mfxdec_mpeg2-0> Sub-class should implement drain(

Ffplay is able to playback the stream.

Ffprobe gives the following info.

[mpeg2video @ 0x1581180] Invalid frame dimensions 0x0.
    Last message repeated 1 times
Input #0, mpegts, from 'udp://@231.8.6.7:5309':
  Duration: N/A, start: 92814.991011, bitrate: 18684 kb/s
  Program 1
    Stream #0:0[0x11]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, smpte170m), 1920x1080 [SAR 1:1 DAR 16:9], 18300 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x14]: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 384 kb/

Regards,
Rand

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20181109/12f3db3e/attachment-0001.html>


More information about the gstreamer-devel mailing list