From 72a0c471986e68b4ac6817bd9a3290e205cb8d75 Mon Sep 17 00:00:00 2001 From: zombie Date: Fri, 5 May 2023 10:43:48 -0400 Subject: [PATCH] add dvd fixing --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index a825e69..78b8b13 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,16 @@ done ``` the only difference between the one that does the audio and the one that doesnt is `-a "-c:a libopus -b:a:0 128k -af aformat=channel_layouts='7.1|5.1|stereo'"` +#### dvd unstupiding +for whatever reason av1an doesnt detect the (correct) framerate and it also doesnt detect the aspect ratio. So to fix the framerate add `fps=24000/1001` in the -v block. This is also assuming that the original dvd was supported to actualy be at 23.976 fps. You can check this by playing a dvd rip and looking at the ***estimated*** framerate. Some dvds are softtelecined ie they got 23.976 frames per second and some are hard telecined where they are 29.97 fps where they got stupid interlaced frames. + +to fix the aspect ratio run this command on the transcoded av1 file av1an made +``` +ffmpeg -i Invader\ Zim\ S01E02a.mkv -c copy -aspect 4:3 output.mkv +``` +for whatever other mystical stupid reason the `-aspect` flag doesnt work in av1an, at least when i tried, so we have to do it after the av1an transcode. +and obviously change `4:3` to whatever aspect ratio the dvd normally is. common aspect ratios, and the only ones that i know of, are 4:3 and 16:9 + ### Transcode input to h264 and not audio (classic zombie crap version for playing on phone) ``` # create the h264 directory if it doesn't already exist