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 _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hello,
Did you reply to the wrong message? I am having a problem playing back certain MPEG 2 TS over udp. As far as I can tell the following two messages are not actually a problem because the TS has an AC3 audio track indicated by PID 0x14. 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. I am not sure what the following means but I think other elements produce the same message about implementing drain. 0:00:00.152900772 3772 0xc09e30 FIXME videodecoder gstvideodecoder.c:933:gst_video_decoder_drain_out:<mfxdec_mpeg2-0> Sub-class should implement drain( Regards, Rand -----Original Message----- From: gstreamer-devel [mailto:[hidden email]] On Behalf Of ShilVin Sent: Saturday, November 10, 2018 6:52 AM To: [hidden email] Subject: Re: mpeg2ts won't playback Maximum values of SPS and PPS IDs are set to #define GST_H264_MAX_SPS_COUNT 32 #define GST_H264_MAX_PPS_COUNT 256 https://github.com/agx/gst-plugins-bad/blob/master/gst-libs/gst/codecparsers/gsth264parser.h Change and rebuild gst-libs/gst/codecparsers and gst/videoparsers again. -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |