tsdemux: Delayed linking failed
jmz
jmzheng at gmail.com
Fri Aug 25 09:13:04 UTC 2017
Hi,
Tim Müller wrote
> On Tue, 2017-07-25 at 16:59 -0700, quang_openstack wrote:
>> *Decoder*
>> gst-launch-1.0 udpsrc port=5000 ! tsdemux ! fdkaacdec ! ...
>>
>
> Try adding an aacparse before the decoder.
I got the similar error when converting M2TS file (H.264 + AAC) to MP4 file.
The pipeline does not work:
gst-launch-1.0 filesrc location=src.ts ! typefind ! tsdemux name=demux !
video/x-h264 ! queue ! h264parse ! mp4mux name=mux ! filesink
location=sink.mp4 demux. ! audio/mpeg ! queue ! aacparse ! mux.
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
WARNING: from element /GstPipeline:pipeline0/GstTSDemux:demux: Delayed
linking failed.
Additional debug info:
./grammar.y(506): gst_parse_no_more_pads ():
/GstPipeline:pipeline0/GstTSDemux:demux:
failed delayed linking some pad of GstTSDemux named demux to some pad of
GstQueue named queue1
I did use h264parse and aacparse in the pipeline, but a problem occurred
when linking the audio pad of tsdemux to queue.
The M2TS-to-MP4 pipeline works when linking audio to fakesink:
gst-launch-1.0 filesrc location=src.ts ! typefind ! tsdemux name=demux !
queue ! h264parse ! mp4mux name=mux ! filesink location=sink.mp4 demux. !
audio/mpeg ! queue ! aacparse ! fakesink
How can I fix the M2TS-to-MP4 pipeline? Is this related to
https://bugzilla.gnome.org/show_bug.cgi?id=773357
Thank for help
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/tsdemux-Delayed-linking-failed-tp4683952p4684326.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list