![]() ![]() The rate-distortion tradeoff matters for final files that you're going to stream many times. f - Indicates the output format i.e image. If that's the case, you should probably require that they encode with x264 with at least preset=slower, so you can just give them a crf value if you're already requiring x264. I.e the number of frames to be extracted into images per second. LordNeckBeard brings up the question of whether you're delivering these files directly to clients. ![]() (actually, I think FFmpeg can decode higher bit depths, but x264 can only produce files up to 10bit.) Or I guess you could get them to send you slightly-lossy pro-res files, if that's a lot easier for your workflows. It's significantly smaller than huffyuv or utvideo, and can support up to 10bit. Lossless h.264 is probably the best format for sending files around. CRF targets a heuristic for quality, not strictly a quality target.)Īnyway, in that case, I have no idea what other encoders support. meaning both CPU and GPU are using same settings but the GPU version. ![]() (Is there a word for this? flexible bitrate? Other than target-quality, as opposed to target-bitrate. Ffmpeg av1 to h264 who won the battle of fort sumter north or south 2021. However, you probably meant variable-across-clips, rather than the usual within-one-file meaning, because CFR as a quality target is clearly much better than blindly setting a target bitrate for many different sources. (h.264 is never going to be strictly CBR like mp3 or something, unless your I frames look HORRIBLE :P) The key parts here are the -cq:v 19 and the -rc:v vbrhq arguments, which allow you to tune the encoder with both a preset variable bitrate and a maximum. You only get CBR with x264 if vbv-maxrate = bitrate, and even then it's can be VBR within the buffer size. the links I dug up for my answer on this question about VBR streaming). x264 2pass figures out what CRF will give the desired bitrate (pass1), and then uses it (pass2). ![]() Any decent encoder can hit a target bitrate (with 2pass), but still spend the bits intelligently to achieve similar quality throughout the file. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |