AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
I can make ffmpeg/x265 crash reliably using one particular source file and two-pass encoding. Values of ☖ will result in about half or twice the original bitrate. 18 (or 24 for x265) should be visually transparent anything lower will probably just waste file size. 23 is a good default for x264, and 28 is the default for x265. In H.264 and H.265, CRF ranges from 0 to 51 (like the QP).I tried veryslow crf 16 but that was almost 100mbits. I want high quality encodes, maybe around that of a 4k bluray, maybe a slightly lower bitrate. How Run x265 via ffmpeg If your ffmpeg is configured to support x265 then the following command illustrates as to configure and to encode x265 (closed gops, 60 frames in each gop, the rate control is CRF, no B-frames): Youtube, 4k, crf x265 : ffmpeg 3 Posted by 2 years ago Youtube, 4k, crf x265 Im trying to find good encoding settings to upload 4k videos to youtube. When I encode directly with x265, it works fine and encodes all 250 frames: ffmpeg -i sintel_02.avi -t 10 -f yuv4mpegpipe - | ~/ffmpeg_build/bin/x265 -y4m -vbv-maxrate. The source file has 250 frames but x265 only encodes 248. The decimate filter would drop frames 2 and 3. It seems that the problem is that frames are duplicated by ffmpeg. ffmpeg -i input.mp4 -vcodec libx265 -crf 28 output.mp4 I tried a few different quality settings before settling on the default -crf 28. It's pretty easy to compress these videos using the ffmpeg command line tool with something like the command below.
0 Comments
Read More
Leave a Reply. |