Video streaming gstreamer:m3u8到mkv/kinesis视频失败

Video streaming gstreamer:m3u8到mkv/kinesis视频失败,video-streaming,gstreamer,http-live-streaming,m3u8,matroska,Video Streaming,Gstreamer,Http Live Streaming,M3u8,Matroska,我想将m3u8流摄取到kinesis视频(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,ali

我想将m3u8流摄取到kinesis视频(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>"
更新

在进行了一些小的更改之后,它现在可以与fakesink一起工作,但仍然会为kvssink带来一个错误

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

video/x-h264,format=avc,alignment=au
我认为你不能那样口述大写字母。这只会妨碍自动协商上限


此外,在该管道中似乎没有H.264解码器。

故障出现在HLS demux元素中。您可以尝试让您的GStreamer管道与fakesink一起工作,一旦工作正常,您可以尝试链接KVS GST插件


KVS GST插件相关问题可以发布在GitHub问题中:

问题已解决,在当前kvssink版本中似乎是一个问题,旧版本的提交可以正常工作


请参见

感谢您的提示,经过一些小的更改后,它现在使用fakesink运行,但现在使用kvssink尝试时会出现不同的错误。请参见上文
gst-launch-1.0 souphttpsrc location=http://devimages.apple.com/iphone/samples/bipbop/gear4/prog_index.m3u8 ! hlsdemux !  tsdemux ! queue ! video/x-h264 ! h264parse !  kvssink stream-name="my-stream" storage-size=128 access-key="<key>" secret-key="<secret>"
[ERROR] [05-04-2020 18:33:57:145.773 GMT] Failed to get the size of the buffer for hex decoding the codec private data with: 3
ERROR: from element /GstPipeline:pipeline0/GstKvsSink:kvssink0: GStreamer encountered a general stream error.
Additional debug info:
/home/ubuntu/amazon-kinesis-video-streams-producer-sdk-cpp/kinesis-video-gstreamer-plugin/src/gstkvssink.cpp(947): gst_kvs_sink_handle_sink_event (): /GstPipeline:pipeline0/GstKvsSink:kvssink0: