add dvd fixing

This commit is contained in:
zombie maniac 2023-05-05 10:43:48 -04:00
parent bfb14d6c36
commit 72a0c47198
Signed by: nbrooks211
GPG key ID: F43C85C0DF0C334E

View file

@ -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