gstreamer:m3u8到mkv /运动视频失败

问题描述 投票:0回答:1

我想将m3u8流摄取到运动视频(MKV格式)。我编译了kvssink插件,但gstreamer失败,出现未知错误。

也许在发送到kvssink之前,我需要以某种方式转换流?有人可以对此发表评论吗?

命令:

gst-launch-1.0 souphttpsrc  location=http://devimages.apple.com/iphone/samples/bipbop/gear4/prog_index.m3u8 ! hlsdemux ! video/x-h264, format=avc,alignment=au ! h264parse ! kvssink stream-name="my-stream" storage-size=128 access-key="<key>" secret-key="<secret>"

错误

Stream is ready
Pipeline is live and does not need PREROLL ...
Got context from element 'souphttpsrc0': gst.soup.session=context, session=(SoupSession)NULL, force=(boolean)false;
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstHLSDemux:hlsdemux0: Internal data stream error.
Additional debug info:
gstadaptivedemux.c(2531): _src_chain (): /GstPipeline:pipeline0/GstHLSDemux:hlsdemux0:
streaming stopped, reason not-negotiated (-4)
[INFO ] [05-04-2020 10:44:30:735.727 GMT] stopKinesisVideoStreamSync(): Synchronously stopping Kinesis Video Stream 000055d1f527ef50.
video-streaming gstreamer http-live-streaming m3u8 matroska
1个回答
0
投票

video/x-h264, format=avc,alignment=au我认为您不能以这种方式来规定上限。它只会妨碍自动协商上限。

© www.soinside.com 2019 - 2024. All rights reserved.