Good morning all.
To convert a video track, I use the following command with FFmpeg:
Only, I have several files that are encoded in 16/9 while the correct ratio is 2.35:1.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
FFmpeg man says:
so I tried with: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.
It works, no problem.Code:video.16.9.mkv -aspect 2.35 -c copy video.2.35.mkv
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.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 1 of 1
Thread
Similar Threads
-
Conversion error from 1080p to 720p with Svt-Av1
By ignace72 in forum LinuxReplies: 5Last Post: 6th Apr 2022, 14:16 -
What parameters to use to convert videos to av1 with SVT-AV1 with FFmpeg
By ignace72 in forum Video ConversionReplies: 4Last Post: 19th Mar 2022, 08:52 -
AOM adopts Intel SVT-AV1
By sophisticles in forum Latest Video NewsReplies: 2Last Post: 9th Sep 2020, 09:03 -
NetFlix to start using Intel's SVT-AV1
By sophisticles in forum Latest Video NewsReplies: 4Last Post: 8th Jan 2020, 08:12 -
Rotate video and change aspect ratio 9:16 to 16:9
By OgreVorbis in forum EditingReplies: 11Last Post: 28th Apr 2018, 17:29