For the file in question, all audio tracks will be transcoded. It may be useful to delete unnecessary tracks before transcoding. For example, in the case of Teen Titans, there was a lossless and a lossy track. I wanted to keep just the lossless track so i did:
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'"`
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
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 even sometimes if you didnt do your cast your druidic ritual spell correctky -aspect wont copy the video over for who knows why so using the command `mkvmerge -o outputav1fix.mkv --aspect-ratio 0:16/9 output.mkv` might also work. just make sure to change the 0: to the video stream... or just choose random numbers and hope it works.