Good morning all.
To convert a video track, I use the following command with FFmpeg:
Code:
ffmpeg -i Infile.mp4 -map 0:v:0 -pix_fmt yuv420p10le -f yuv4mpegpipe -strict -1 - | SvtAv1EncApp -i stdin --preset 6 --keyint 240 --input-depth 10 --crf 30 --rc 0 --passes 1 --film-grain 0 -b av1.ivf
Only, I have several files that are encoded in 16/9 while the correct ratio is 2.35:1.
FFmpeg man says:
Code:
-aspect[:stream_specifier] aspect (output,per-stream)
Set the video display aspect ratio specified by aspect.
aspect can be a floating point number string, or a string of the form num:den, where num and den are the numerator and denominator of the aspect ratio. For example ``4:3'', ``16:9'', ``1.3333'', and ``1.7777'' are valid argument values.

If used together with -vcodec copy, it will affect the aspect ratio stored at container level, but not the aspect ratio stored in encoded frames, if it exists.
so I tried with:
Code:
video.16.9.mkv -aspect 2.35 -c copy video.2.35.mkv
It works, no problem.
On the other hand, if I add the -aspect 2.35 option to my command line to convert, it does not change the ratio.
Does anyone have an idea how to solve this because I'm pulling my hair out?
Thank you.
Ignace.