[FFmpeg-user] Best way to record video on a computer with a really bad CPU yet really good GPU?

Andy Furniss adf.lists at gmail.com
Sat Sep 10 22:04:36 EEST 2016


Sven C. Dack wrote:

> For those who haven't followed the developers mailing list; this has
>  improved with the latest git. One can stream in H.264 and H.265 from
> a 1920x1080 desktop with a frame rate well above 60Hz (~100fp/s with
> an Nvidia GeForce GTX 960). Anyone who has never tried it and wants
> to can test it on Twitch.TV: 1.) Create an account, 2.) go to the
> dashboard, 3.) reveal the streaming key and 4.) run ffmpeg:
>
> $ export KEY="live_0123456789_aBcDeFgH...." # keep it secret - don't
>  stream the command line arguments or it will show up on the video $
> ffmpeg -f x11grab -s hd1080 -framerate 200 -i :0.0 -c:v h264_nvenc
> -rc cbr -b:v 500k -f flv -y "rtmp://live.justin.tv/app/$KEY"

So does twitch accept h264rgb or does nvenc convert it to 420?



More information about the ffmpeg-user mailing list