Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump up FFmpeg Writer above AVI Writer #3915

Closed
CasualPokePlayer opened this issue May 11, 2024 · 4 comments
Closed

Bump up FFmpeg Writer above AVI Writer #3915

CasualPokePlayer opened this issue May 11, 2024 · 4 comments
Labels

Comments

@CasualPokePlayer
Copy link
Member

Probably want to stop prioritizing/defaulting the AVI writer. The AVI writer has clunky limitations, being it uses an ancient Windows specific API, 2GiB splits being required (no such limitation for ffmpeg), and for practical use requires the user to go install external codecs from who knows where (for the ffmpeg writer, it's just a single download streamlined by BizHawk that provides many, many options).

@YoshiRulz YoshiRulz added the App: EmuHawk Relating to EmuHawk frontend label May 11, 2024
@nattthebear
Copy link
Contributor

The 64 vs 32 bit has confused people many times as well -- since Bizhawk became 64 bit, it uses codes from the 64 bit vfw stack and not the 32 bit vfw stack. The heyday of vfw was with 32 bit codecs, so 64 bit ones can be harder to find, and users don't know the difference and don't know what they have installed.

@YoshiRulz
Copy link
Member

FFmpeg obviously supports AVI. If we have a preset which results in the same format(s) as AviWriter, and is about as performant, then I say let's drop the dedicated option completely.

@CasualPokePlayer
Copy link
Member Author

CasualPokePlayer commented May 11, 2024

.avi itself is just a container, like mp4 and mkv, and the file format itself isn't subject to the 2GiB limit, that's just something imposed by Vfw being ancient garbage (although there's other limitations of the format which mp4/mkv solve). The only thing unique to Vfw are the codecs, which typically necessarily have to go through the Vfw interface (with all its issues), and even then those are just who knows what from who knows where (although imo what ffmpeg offers would be satisfactory/superior in any case). The main reason anyone would actually want to use Vfw in BizHawk is just to use the output with some tooling which only likes Vfw codecs for whatever reason (granted, I'm not sure how much of that still exists in the modern day).

@vadosnaprimer
Copy link
Contributor

vadosnaprimer commented May 11, 2024

I support moving ffmpeg above avi writer, but I don't support dropping the latter. One of the most powerful options for lossless encoding is Lagarith which is windows only and doesn't go with ffmpeg, it compresses very well and is very quick. Comparable ffmpeg codecs are either less compatible (x264) or compress worse (utvideo) or are slower (ffv1). So it's a balance thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants