HLS question with m4v file

Jerry Geis jerry.geis at gmail.com
Wed May 19 19:13:09 UTC 2021


I have a mov file that seems to stream fine:
 gst-launch-1.0 -e mpegtsmux name=m '!' queue '!' hlssink
playlist-root=/~silentm/hlssink
location=/home/silentm/public_html/hlssink/hlssink.video.0.%05d.ts
target-duration=10 max-files=0 playlist-length=0
playlist-location=/home/silentm/public_html/hlssink/playlist.video.0.m3u8
filesrc 'location="/home/silentm/trailer_videos/pirates1920x1080.mov"' '!'
qtdemux name=d '!' h264parse config-interval=-1 '!' queue '!' m. d. '!'
aacparse '!' queue '!' m.

but when I do a m4v file it does not work:

gst-launch-1.0 -e mpegtsmux name=m '!' queue '!' hlssink
playlist-root=/~silentm/hlssink
location=/home/silentm/public_html/hlssink/hlssink.video.0.%05d.ts
target-duration=10 max-files=0 playlist-length=0
playlist-location=/home/silentm/public_html/hlssink/playlist.video.0.m3u8
filesrc 'location="/home/silentm/asd.m4v"' '!' qtdemux name=d '!' h264parse
config-interval=-1 '!' queue '!' m. d. '!' aacparse '!' queue '!' m.
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
WARNING: from element /GstPipeline:pipeline0/GstQTDemux:d: Delayed linking
failed.
Additional debug info:
./grammar.y(510): gst_parse_no_more_pads ():
/GstPipeline:pipeline0/GstQTDemux:d:
failed delayed linking some pad of GstQTDemux named d to some pad of
GstAacParse named aacparse0

I am using gstreamer 1.12.3

/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src:
caps = video/quicktime, variant=(string)iso
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src:
caps = NULL
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0.GstPad:src_0:
caps = video/x-h264, stream-format=(string)avc, alignment=(string)au,
level=(string)3, profile=(string)main,
codec_data=(buffer)014d401effe1001f674d401eeca05a0937fe0080005ad404040500000300010002bf200f162d9601000568ebe1b2c8,
width=(int)720, height=(int)576, framerate=(fraction)23/1,
pixel-aspect-ratio=(fraction)64/45
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstH264Parse:h264parse0.GstPad:src:
caps = video/x-h264, stream-format=(string)avc, alignment=(string)au,
level=(string)3, profile=(string)main,
codec_data=(buffer)014d401effe1001f674d401eeca05a0937fe0080005ad404040500000300010002bf200f162d9601000568ebe1b2c8,
width=(int)720, height=(int)576, framerate=(fraction)23/1,
pixel-aspect-ratio=(fraction)64/45, interlace-mode=(string)progressive,
parsed=(boolean)true
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstFluH264Dec:fluh264dec0.GstPad:sink:
caps = video/x-h264, stream-format=(string)avc, alignment=(string)au,
level=(string)3, profile=(string)main,
codec_data=(buffer)014d401effe1001f674d401eeca05a0937fe0080005ad404040500000300010002bf200f162d9601000568ebe1b2c8,
width=(int)720, height=(int)576, framerate=(fraction)23/1,
pixel-aspect-ratio=(fraction)64/45, interlace-mode=(string)progressive,
parsed=(boolean)true
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstCapsFilter:capsfilter0.GstPad:src:
caps = video/x-h264, stream-format=(string)avc, alignment=(string)au,
level=(string)3, profile=(string)main,
codec_data=(buffer)014d401effe1001f674d401eeca05a0937fe0080005ad404040500000300010002bf200f162d9601000568ebe1b2c8,
width=(int)720, height=(int)576, framerate=(fraction)23/1,
pixel-aspect-ratio=(fraction)64/45, interlace-mode=(string)progressive,
parsed=(boolean)true
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstCapsFilter:capsfilter0.GstPad:sink:
caps = video/x-h264, stream-format=(string)avc, alignment=(string)au,
level=(string)3, profile=(string)main,
codec_data=(buffer)014d401effe1001f674d401eeca05a0937fe0080005ad404040500000300010002bf200f162d9601000568ebe1b2c8,
width=(int)720, height=(int)576, framerate=(fraction)23/1,
pixel-aspect-ratio=(fraction)64/45, interlace-mode=(string)progressive,
parsed=(boolean)true
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstH264Parse:h264parse0.GstPad:sink:
caps = video/x-h264, stream-format=(string)avc, alignment=(string)au,
level=(string)3, profile=(string)main,
codec_data=(buffer)014d401effe1001f674d401eeca05a0937fe0080005ad404040500000300010002bf200f162d9601000568ebe1b2c8,
width=(int)720, height=(int)576, framerate=(fraction)23/1,
pixel-aspect-ratio=(fraction)64/45
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0:
max-size-buffers = 5
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0:
max-size-time = 0
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0:
max-size-bytes = 2097152
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0.GstMultiQueuePad:sink_0:
caps = video/x-h264, stream-format=(string)avc, alignment=(string)au,
level=(string)3, profile=(string)main,
codec_data=(buffer)014d401effe1001f674d401eeca05a0937fe0080005ad404040500000300010002bf200f162d9601000568ebe1b2c8,
width=(int)720, height=(int)576, framerate=(fraction)23/1,
pixel-aspect-ratio=(fraction)64/45
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0:
max-size-buffers = 5
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0:
max-size-time = 0
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0:
max-size-bytes = 2097152
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0:
max-size-buffers = 5
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0:
max-size-time = 0
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0:
max-size-bytes = 2097152
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstFluH264Dec:fluh264dec0.GstPad:src:
caps = video/x-raw, width=(int)720, height=(int)576, format=(string)I420,
framerate=(fraction)23/1, rotation=(int)0,
pixel-aspect-ratio=(fraction)64/45
/GstPipeline:pipeline0/GstFakeSink:fakesink0.GstPad:sink: caps =
video/x-raw, width=(int)720, height=(int)576, format=(string)I420,
framerate=(fraction)23/1, rotation=(int)0,
pixel-aspect-ratio=(fraction)64/45
/GstPipeline:pipeline0/GstDecodeBin:decodebin0.GstDecodePad:src_0.GstProxyPad:proxypad2:
caps = video/x-raw, width=(int)720, height=(int)576, format=(string)I420,
framerate=(fraction)23/1, rotation=(int)0,
pixel-aspect-ratio=(fraction)64/45

What am I missing ?
Thanks,

Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210519/0ef3ffc4/attachment-0001.htm>


More information about the gstreamer-devel mailing list