Video gstreamer pipline产生慢动作(低FPS)视频

Video gstreamer pipline产生慢动作(低FPS)视频,video,gstreamer,multimedia,frame-rate,mjpeg,Video,Gstreamer,Multimedia,Frame Rate,Mjpeg,我想连接到HTTP MJPEG实时流,并将其作为视频文件本地转储。所以我做了: $gst发布-vvv souphttpsrc位置=http://bikersschool.dyndns.org/video.cgi?resolution=vga is live=true do timestamp=true!多方数据交换!jpegdec!视频速率!视频/x-raw-yuv,帧速率=60/1!Theoreanc!oggmux!filesink location=hi.ogg Setting pipeli

我想连接到HTTP MJPEG实时流,并将其作为视频文件本地转储。所以我做了:

$gst发布-vvv souphttpsrc位置=http://bikersschool.dyndns.org/video.cgi?resolution=vga is live=true do timestamp=true!多方数据交换!jpegdec!视频速率!视频/x-raw-yuv,帧速率=60/1!Theoreanc!oggmux!filesink location=hi.ogg

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstJpegDec:jpegdec0.GstPad:sink: caps = image/jpeg
/GstPipeline:pipeline0/GstJpegDec:jpegdec0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)640, height=(int)480, framerate=(fraction)0/1
ERROR: from element /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0: Internal data flow error.
Additional debug info:
..\..\..\Source\gstreamer\libs\gst\base\gstbasesrc.c(2507): gst_base_src_loop (): /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 1547045000 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/GstPipeline:pipeline0/GstJpegDec:jpegdec0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstJpegDec:jpegdec0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstMultipartDemux:multipartdemux0.GstPad:src_0: caps = NULL
Setting pipeline to NULL ...
Freeing pipeline ...
但是,在播放hi.ogg时,视频的运动速度较慢

这是它产生的结果:

更新:

我试着放下录像带和caps过滤器。但它失败了,并显示以下消息:

$gst发布-vvv souphttpsrc位置=http://bikersschool.dyndns.org/video.cgi?resolution=vga is live=true do timestamp=true!多方数据交换!jpegdec!Theoreanc!oggmux!filesink location=hi.ogg

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstJpegDec:jpegdec0.GstPad:sink: caps = image/jpeg
/GstPipeline:pipeline0/GstJpegDec:jpegdec0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)640, height=(int)480, framerate=(fraction)0/1
ERROR: from element /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0: Internal data flow error.
Additional debug info:
..\..\..\Source\gstreamer\libs\gst\base\gstbasesrc.c(2507): gst_base_src_loop (): /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 1547045000 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/GstPipeline:pipeline0/GstJpegDec:jpegdec0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstJpegDec:jpegdec0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstMultipartDemux:multipartdemux0.GstPad:src_0: caps = NULL
Setting pipeline to NULL ...
Freeing pipeline ...

视频收费的目的是什么!视频/x-raw-yuv,帧速率=60/1


从技术上讲,videorate将复制掉帧,使输出速率达到60fps。如果你放弃录像带怎么办!capsfilter?gst为jpegdec的封顶推出了什么打印功能?

视频费率的用途是什么!视频/x-raw-yuv,帧速率=60/1


从技术上讲,videorate将复制掉帧,使输出速率达到60fps。如果你放弃录像带怎么办!capsfilter?gst为jpegdec的caps启动了什么打印功能?

删除videorate和caps过滤器会导致失败。我无法在评论中格式化,所以我把信息放在了原始问题中。你能回答另一个问题吗。jpegdec上的fps是什么?另外,尝试在capsfilter中输入一个真实的fps,例如30fps,或者您的流真的是60fps?如果删除视频速率和caps过滤器,则会导致失败。我无法在评论中格式化,所以我把信息放在了原始问题中。你能回答另一个问题吗。jpegdec上的fps是什么?同时尝试将一个真实的fps放入capsfilter,例如30fps,或者你的流真的是60fps?