Open Bubblemint864 opened 1 year ago
Not an exact answer, but maybe this as workaround:
ffmpeg -i sourcefile.mkv -map_metadata -1 -map_chapters -1 -bsf:v filter_units=remove_types=6 -vcodec copy -an -sn -dn outvideoonly.mkv
It strips out metadata, chapters, closed captions, audio, subtitles and any other data streams. Then you could try again with this file.
I guess this works, however that's an extra step that would eventually add up over time. Ideally a solution within av1an would be great. This also doesn't exactly solve the anamorphic video problem either as I have to manually fix the aspect ratio myself after the encode has finished.
Try using --concat mkvmerge argument to av1an, this should use mkvmerge and merge all extras properly
Not really sure if that's a good idea either, sure it works - but then I've got items that are technically unsupported by webm inside the container which may cause compatibility issues. Also the aspect ratio of the video is still ignored.
This occurs a lot when the source is anamorphic or when the source contains things that are not supported by the output container. I believe this is because of the default muxing command used by av1an. Is there a way to change the command used?