tsdemux no more pads

Rand Graham rand.graham at lge.com
Mon Jan 16 16:44:17 UTC 2017


Hello,

I am trying to transcode a video that is using a transport stream container. I can decode the video using one pipeline the success case. When I try to name the demux video I have a failure that says no more pads.

Can someone tell me what is going wrong?

Failure Case:

gst-launch-1.0 -v filesrc location=uhd.trp ! tsdemux name=demux demux.video_0 ! queue ! h265parse ! omxh265dec ! nvvidconv ! 'video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, format=(string)I420' ! omxh264enc profile=8 ! qtmux name=mux ! filesink location=uhd1280x720.mp4 

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  video_0 of GstTSDemux named demux to some pad of GstQueue named queue0
ERROR: from element /GstPipeline:pipeline0/GstTSDemux:demux: Internal data stream error.
Additional debug info:
mpegtsbase.c(1388): mpegts_base_loop (): /GstPipeline:pipeline0/GstTSDemux:demux:
stream stopped, reason not-linked
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
/GstPipeline:pipeline0/GstTSDemux:demux.GstPad:video_0031: caps = "NULL"
/GstPipeline:pipeline0/GstTSDemux:demux.GstPad:audio_0034: caps = "NULL"
Freeing pipeline ...

Success Case:
gst-launch-1.0 -v filesrc location=uhd.trp ! tsdemux ! queue ! h265parse ! omxh265dec ! nvvidconv ! 'video/x-raw(memory:NVMM), width=(i[36/1983$
height=(int)720, format=(string)I420' ! omxh264enc profile=8 ! qtmux name=mux ! filesink location=uhd1280x720.mp4 

Setting pipeline to PAUSED ...
Inside NvxLiteH264DecoderLowLatencyInitNvxLiteH264DecoderLowLatencyInit set DPB and MjstreamingInside NvxLiteH265DecoderLowLatencyInitNvxLiteH265DecoderLowLatencyInit set DPB and 
MjstreamingPipeline is PREROLLING ...
/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 
TVMR: NvMMLiteTVMRDecBlockOpen: 7580: NvMMLiteBlockOpen 
NvMMLiteBlockCreate : Block : BlockType = 279 
/GstPipeline:pipeline0/GstOMXH265Dec-omxh265dec:omxh265dec-omxh265dec0.GstPad:sink: caps = "video/x-h265\,\ stream-format\=\(string\)byte-stream\,\ alignment\=\(string\)au\,\ wid$
h\=\(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"
TVMR: cbBeginSequence: 1166: BeginSequence  3840x2160, bVPR = 0, fFrameRate = 0.000000
TVMR: BitDepthLuma = 10, BitDepthChroma = 10 
TVMR: LowCorner Frequency = 345000 
TVMR: cbBeginSequence: 1545: DecodeBuffers = 6, pnvsi->eCodec = 10, codec = 9 
TVMR: cbBeginSequence: 1606: Display Resolution : (3840x2160) 
TVMR: cbBeginSequence: 1607: Display Aspect Ratio : (3840x2160) 
TVMR: cbBeginSequence: 1649: ColorFormat : 5 
TVMR: cbBeginSequence:1654 ColorSpace = NvColorSpace_YCbCr709_ER
TVMR: cbBeginSequence: 1790: SurfaceLayout = 3
TVMR: cbBeginSequence: 1868: NumOfSurfaces = 10, InteraceStream = 0, InterlaceEnabled = 0, bSecure = 0, MVC = 0 Semiplanar = 1, bReinit = 1, BitDepthForSurface = 8 LumaBitDepth = 
0, ChromaBitDepth = 0, ChromaFormat = 5
Allocating new output: 3840x2160 (x 12), ThumbnailMode = 0
/GstPipeline:pipeline0/GstOMXH265Dec-omxh265dec:omxh265dec-omxh265dec0.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)NV12\,\ width\=\(int\)3840\,\ height\=\(int\)2160\,\ i$
terlace-mode\=\(string\)progressive\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ chroma-site\=\(string\)mpeg2\,\ colorimetry\=\(string\)bt2020\,\ framerate\=\(fraction\)30000/1001"
/GstPipeline:pipeline0/Gstnvvconv:nvvconv0.GstPad:src: caps = "video/x-raw\(memory:NVMM\)\,\ width\=\(int\)1280\,\ height\=\(int\)720\,\ interlace-mode\=\(string\)progressive\,\ $
ixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30000/1001\,\ format\=\(string\)I420"


More information about the gstreamer-devel mailing list