tsdemux no more pads
Rand Graham
rand.graham at lge.com
Mon Jan 16 19:26:07 UTC 2017
Hi,
Thank you for your reply.
I am trying to follow some examples that nVidia provided and modify them to work with a different container format.
Their example used the qtdemux.
I am naming the pads because I also want to include the audio stream in the resulting file. Based on your reply I am able to transcode the video using video_0031.
However, I am still failing to pass through the audio with the no more pads error. Can you tell me why this pipeline is failing?
gst-launch-1.0 -v filesrc location=uhd.trp ! tsdemux name=demux demux.video_0031 ! queue ! h265parse ! omxh265dec ! nvvidconv ! 'video/x-raw(mem
ory:NVMM), width=(int)1280, height=(int)720, format=(string)I420' ! omxh264enc profile=8 ! qtmux name=mux ! filesink location=uhd1280x720.mp4 demux.audio_0034 ! queue ! aacparse !
mux.audio_0034
Setting pipeline to PAUSED ...
Inside NvxLiteH264DecoderLowLatencyInitNvxLiteH264DecoderLowLatencyInit set DPB and MjstreamingInside NvxLiteH265DecoderLowLatencyInitNvxLiteH265DecoderLowLatencyInit set DPB and
MjstreamingPipeline 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 pad audio_0034 of GstTSDemux named demux to some pad of GstQueue named queue1
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = "video/x-h265\,\ stream-format\=\(string\)byte-stream\,\ alignment\=\(string\)nal"
/GstPipeline:pipeline0/GstH265Parse:h265parse0.GstPad:sink: caps = "video/x-h265\,\ stream-format\=\(string\)byte-stream\,\ alignment\=\(string\)nal"
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = "video/x-h265\,\ stream-format\=\(string\)byte-stream\,\ alignment\=\(string\)nal"
/GstPipeline:pipeline0/GstH265Parse:h265parse0.GstPad:src: caps = "video/x-h265\,\ stream-format\=\(string\)byte-stream\,\ alignment\=\(string\)au\,\ width\=\(int\)3840\,\ height\
=\(int\)2160\,\ framerate\=\(fraction\)30000/1001\,\ parsed\=\(boolean\)true\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ profile\=\(string\)main-10\,\ tier\=\(string\)main\,\ level\
=\(string\)5.1"
NvMMLiteOpen : Block : BlockType = 279
Thanks,
Rand
________________________________________
From: gstreamer-devel [gstreamer-devel-bounces at lists.freedesktop.org] On Behalf Of Tim Müller [tim at centricular.com]
Sent: Monday, January 16, 2017 11:40 AM
To: gstreamer-devel at lists.freedesktop.org
Subject: Re: tsdemux no more pads
> /GstPipeline:pipeline0/GstTSDemux:demux.GstPad:video_0031: caps =
> "NULL"
> /GstPipeline:pipeline0/GstTSDemux:demux.GstPad:audio_0034: caps =
> "NULL"
You're using a name (video_0) that doesn't exist. The pad names of
demuxers vary from demuxer to demuxer, and might sometimes also differ
from version to version. In this case that first video pad is called
video_0031 as you can see at the end. It's generally best not to
specify pad names unless you have a good reason to do so.
Cheers
-Tim
--
Tim Müller, Centricular Ltd - http://www.centricular.com
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list