![]() Some people prefer YouTube, while others prefer Twitch. When it comes to broadcasting platforms, there is a distinct preference for each person. If all else fails, it might be best to contact Geforce Experience’s customer service team for assistance.Ī gaming broadcast is a video game show in which a player plays a game live on live channels in order to engage their audience more. Additionally, make sure that your connection to Twitch is stable and that your account is in good standing. Firstly, ensure that you have the most up-to-date version of Geforce Experience installed. However, if your broadcast fails to go through, it can be frustrating. f x11grab -s 1920x1080 -framerate 60 -i :0.Geforce Experience is a powerful tool for gamers that allows them to customize their gaming experience with tools such as broadcasting to Twitch. Note that the examples above will use Intel’s QuickSync hardware scaler engines (available since Snadybridge) in the GPU to re-scale the output to a perfect 720p (HD-ready) video stream on broadcast. If you want the output video frame size to be smaller than the input then you can insert the appropriate scale video filter for VAAPI: ffmpeg -loglevel debug \ Part 2: Using Intel’s VAAPI to achieve the same: The pulse input device (requires -enable-libpulse) can be an alternative to the ALSA input device, as in: -f pulse -i default, as per your preference. You can also use it to automatically enter the input screen size: -video_size $(xwininfo -root | awk '/-geo/'). ![]() You can use xwininfo | grep geometry to select the target window and get placement coordinates. The example above will stream to both Youtube and twitch TV and at the same time, store a copy of the video stream on the local filesystem. $ ffmpeg -i input -map 0 -c:v h264_nvenc -preset:v llhq -c:a aac -muxrate 2500k -bufsize 3500k -g 50 -f tee \ Using the onfail option will allow the other streams to continue if one fails. Using tee will allow you to encode only once and send the same data to multiple outputs. You can use the tee muxer to efficiently stream to multiple sites and save a local copy if desired. ![]() Outputting to multiple streaming services & local file: Streaming a file to Youtube: $ ffmpeg -re -i input.mkv -c:v h264_nvenc -preset:v llhq -maxrate 3000k \ This will place your webcam overlay in the top right, and a logo in the bottom left: ffmpeg -loglevel debug \ Note: Your webcam may natively support whatever frame size you want to overlay onto the main video, so scaling the webcam video as shown in this example can be omitted (just set the appropriate v4l2 -video_size and remove the scale=120:-1,). See the documentation on the video4linux2 (v4l2) input device for more info. You can see additional details your webcam with something like: ffmpeg -f v4l2 -list_formats all -i /dev/video0 or with v4l2-ctl -list-formats-ext This will place your webcam overlay in the top right: ffmpeg -loglevel debug \ Note that the examples above will use CUVID’s NPP-based hardware scaler in the GPU to rescale the output to a perfect 720p (HD-ready) video stream on broadcast. filter:v hwupload_cuda,scale_npp=w=1280:h=720:format=nv12:interp_algo=lanczos,hwdownload,format=nv12 \Īnd for Youtube: ffmpeg -loglevel debug \ If you want the output video frame size to be smaller than the input then you can insert the appropriate scale video filter for NVENC: ffmpeg -loglevel debug \ Also, ensure that the stream key used is correct, otherwise your live broadcast will fail. ![]() Note: Ensure that the size specified above (-s ) does match your screen’s resolution. To do the same for Youtube, do: ffmpeg -loglevel debug \ If you want the output video frame size to be the same as the input for Twitch: ffmpeg -loglevel debug \ It is possible to use FFmpeg as a live streaming tool with any hardware-based encoder, such as Nvidia’s NVENC and Intel’s VAAPI as demonstrated below: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |