Problem with TS containing H264 byte-stream
Baby Octopus
jagadishkamathk at gmail.com
Wed Aug 14 02:31:06 PDT 2013
Hi,
I have a TS file which I'm trying to decode and the decoded video seems to
have patches. So I ran debug pipeline as follows and the issue seems to be
in decodebin
This pipeline has issues
*gst-launch-1.0 filesrc location=whales_333.ts ! decodebin ! video/x-raw !
filesink whales1.yuv*
I split the decodebin as follows and still see the issue
*gst-launch-1.0 filesrc location=whales_333.ts ! tsdemux ! h264parse !
avdec_h264 ! video/x-raw ! filesink whales1.yuv*
The problem goes off with following change
*gst-launch-1.0 filesrc location=whales_333.ts ! tsdemux ! h264parse !
video/x-h264,stream-format=byte-stream ! avdec_h264 ! video/x-raw !
filesink whales1.yuv
*
And I see decodebin is forcing caps between h264parse and avdec_h264.
avdec_h264 can decode both byte-stream and AVC. So naturally, it is best for
h264parse to send the byte-stream as it is downstream rather than converting
into AVC and sending it
Can someone tell me how to fix this?
~BO
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Problem-with-TS-containing-H264-byte-stream-tp4661544.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list