FFMPEG显示图像的顶部 [英] FFMPEG displaying top of the image

查看:199
本文介绍了FFMPEG显示图像的顶部的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用ffmpeg来获取我的相机视频(使用RTSP)并将其发送到YouTube。有很多命令行可以使用,这是一个为我工作的:

I am using ffmpeg to get my camera video (using RTSP) and send it to youtube. There are plenty of command lines you can use and this is the one worked for me:

ffmpeg -i rtsp://200.193.21.176:6003/onvif1 -vcodec copy -acodec copy -strict experimental -f flv rtmp://x.rtmp.youtube.com/live2/fh1t-e7p4-fsa1-c8mw

问题是,它只能正确显示视频的顶部,其余的看起来像被抹杀。请参阅:

The problem is that it is only displaying correctly the top part of the video, the rest looks like scrumbled. See:

也许我应该使用一些额外的参数,使其渲染所有的视频,而不是只有顶部,而不是其余的?

Maybe I should use some additional parameter to make it render all the video instead of only the top and poorly the rest?

编辑:当我使用VLC看到视频捕获的原因没有来自RTSP的视频正在正常工作。以下是使用VLC的图片:

there is no prolbem with the video capture cause when I use VLC to see the video from the RTSP it is working perfectly. Here is the image using VLC:

推荐答案

很可能编码器rtsp流没有以所需的速率获取Feed。检查网络。我有相同的问题改变相机设置流1280X720 VBR。那么它的完美。
编辑:
1. ALso检查编码器的上行速度。 VLC流显示其运行1080全高清或需要大量上游数据到YouTube。

It's very likely encoder rtsp stream is not getting feeds at required rate. Check the network. I had the same issue changed camera settings to stream at 1280X720 VBR. then its perfect. 1. ALso check the encoders uplink speed. The VLC stream appears its running 1080 Full HD or something which needs lot of upstream data to youtube.

BTW保持您的流密钥私有....否则您将最终在监狱里有人流向您的网站不需要的东西。

BTW keep your stream key private.... Else you will end up in Jail is someone streams something undesirable to your site.

这篇关于FFMPEG显示图像的顶部的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆