(Most hardware players will only have hardware decoding for 8-bit 4:2:0 h.264, unfortunately. Leave out the -pix_fmt yuv420p to not force ffmpeg to subsample the chroma after converting from RGB (PNG's color format) to YUV. Increase the preset to slower or veryslow to get higher quality at similar bitrate but slower encode time. Leave out the audio file if you don't have an audio track to mux.ĭecrease the CRF to get higher quality at higher bitrate. Stuff before is input options, stuff after is output options.) (Note that it matters what goes before -i input, and what goes after. ![]() ![]() If there are other PNGs in the same dir that you don't want to include, use ![]() Ffmpeg audio.mp4 -framerate 50 -pattern_type glob -i 3_DucksTakeOff_720p50_CgrLevels_SINC_FILTER_SVTdec05_/'*'.sgi -sws_flags lanczos+print_info -c:a copy -c:v libx264 -preset slow -crf 22 -pix_fmt yuv420p output.mkvĪdjust the input file naming as necessary.
0 Comments
Leave a Reply. |