baddraw.blogg.se

How to use ffmpeg to stream video
How to use ffmpeg to stream video








With this, you can forward the direct camera screen with silent audio to YouTube with minimal CPU usage. (Here is some info about Libavfilter input virtual device: ) f lavfi -i anullsrc=channel_layout=stereo:sample_rate=44100 / I am using this CLI command on a Pine64+ with Ubuntu 16.04 and it is working: ffmpeg -re -rtsp_transport tcp -i /

how to use ffmpeg to stream video

If you have enough bandwith at your network it should be work. The only thing is that you must do it add an extra empty/silent audio track. YouTube can accept some camera's direct video stream. If you have a webcamera with IP address with full HD x264 video source, without audio and you want to stream your direct camera screen to YouTube, you do not need to transcode/reencode video to a lower resolution always. It is streaming a few seconds however, now I'm getting these errors:Īny idea what these mean, or how to fix them? I'm now using -acodec aac instead of libfaac or libfdk_aac since I was getting "Unknown encoder" errors Any idea what I might be doing wrong?įfmpeg -r 18 -f dshow -s 1280x720 -i video="USB2.0 HD UVC WebCam":audio="Microphone (Realtek High Definition Audio)" -vcodec h264 -b:v 1800k -acodec aac -strict experimental -f flv "rtmp://a./live2/" I've managed to stream videos to YouTube with ffmpeg, its just the camera that won't work. I'm using this command to try to stream it:įfmpeg -rtbufsize 1500M -r 25 -f dshow -s 1280x720 -i video="USB2.0 HD UVC WebCam" -vcodec h264 -b:a 600k -acodec libfaac -ab 128k -f flv "rtmp://a./live2/"

how to use ffmpeg to stream video

However it quickly goes gray and the actual stream never actually changes from offline. I've been trying to use ffmpeg to stream my webcam's video to YouTube and so far all I've managed was an "acknowledgement" from YouTube saying 'Starting' in green.










How to use ffmpeg to stream video