No matter what methods you are adopting, chances are that you might find yourself can’t download YouTube videos or audios due to multiple reasons. You can save a YouTube MP3, video, playlist, or channel with a browser recorder, video downloader, desktop recorder. You can check if your version of ffmpeg supports hardware encoding with the command "ffmpeg -codecs | grep 264" and looking for the gpu related encoder options.Download YouTube resources is easy. If you have an Nvidia graphics card, you can see if it supports h264 encoding here: Plus this keeps CPU load relatively low when the videos are generated. Anyway, the quality of saved videos is quite good & the file sizes are quite small, considering the resolution & number of frames involved. The cams I use are 1280x720 and I've configured them in ZM as B&W. Depending on your cpu, you probably will have to change the "-threads" option accordingly - or drop the option completely. I do this to limit cpu utilization during encoding as h264_nvenc still uses some cpu - mostly for i/o when streaming data to/from the gpu. I have a 6 core, 12 thread cpu, so in the above I explicitly allocate just 4 threads to ffmpeg. So the above results in h264 mp4 video files being created. I have the default format set as "mp4" in FFMPEG_FORMATS. So, I offload h264 video creation to the GT-730's gpu with this FFMPEG_OUTPUT_OPTIONS setting: The version of ffmpeg in the 18.04 repo supports h264_nvenc. My Ubuntu 18.04 ZM server (1.30.4) has a fairly low-end Nvidia GT-730 graphics card - but its gpu does support h264 encoding.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |