![]() ![]() g 30 means that a maximum of 30 P- or B-frames are allowed in between I-frames. -g 30 and -bf 2, these are adjusting the video encoder for specific circumstances.It's a reasonable option if supported by your player that has no real downside as long as your using a good modern player. -movflags +faststart moves metadata to the start of the file so is an easy for the player to know how to play the file without downloading all of it first.If you have a yuv444p input then you may be losing some quality by converting to yuv420p, though it may not be noticeable depending on the video. I'd remove it so that you simply copy the input pixel format rather than possibly removing data. -pix_fmt yuv420p depends on your input.coder 1 enables CABAC encoding which is slower but better compression so is a good option to retain quality.c:a copy will keep the original audio without any loss, assuming your end user does not mind the format. You are essentially wasting more data for a potential loss of quality. Your original audio is 317kbps and you are, for whatever reason, converting up to 384kbps.I would suggest removing -c:a aac -b:a 384k -profile:a aac_low in favour of -c:a copy so you are not transcoding audio when all you want to do is embed something in the video.Consider 17 or 18 to be visually lossless or nearly so it should look the same or nearly the same as the input but it isn't technically lossless. From the FFMPEG h.264 wikiĪ lower value generally leads to higher quality, and a subjectively sane range is 17–28. Lowering crf should also retain more quality so you'll want it to be as low as possible to suit your bitrate.Better choice of preset: Using the fast preset is likely to be, as implied, faster but if you are trying to retain quality then a slower preset may be better.change your -b 15000k -maxrate 15000k up to 23000k to match your original. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |