Site Admin, Skilled player (1255)
Joined: 4/17/2010
Posts: 11495
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
feos wrote:
Conclusion Dolphin must switch to ffmpeg -c:a pcm_s16le -c:v libx264rgb -qp 0 -preset ultrafast -g 30 -pix_fmt rgb24 -f avi
Recently we did some tests and commits to Dolphin, and turns out ffmpeg -c:a pcm_s16le -c:v ffv1 -pix_fmt bgr0 -level 1 -g 1 -coder 1 -context 1 -f avi is the most compatible thing on the planet, it even works in VirtualDub and AVISynth as long as the decoder is installed (we haven't figured out which one exactly tho). But AVISynth requires a little tweak to import it as lossless:
Language: avisynth

AviSource("movie.avi", pixel_type="RGB24")
My fork that fixes FFV1 dumping: https://github.com/vadosnaprimer/dolphin/releases Also apparently, -coder 1 and -context 1 don't work in the latest Dolphin codebase. https://github.com/dolphin-emu/dolphin/pull/7933
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
Publisher
Joined: 4/23/2009
Posts: 1283
ffdshow is the decoder for VfW I use that supports FFV1 version 1. Hmm, I knew about this a while back, I guess I didn't mention it anywhere here, sorry.
Site Admin, Skilled player (1255)
Joined: 4/17/2010
Posts: 11495
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
I've ran a few lossless codecs on SM64 in bizhawk 2.6.1 at 4K, 10k frames of no input, GLideN64, all default settings. fps is from Mario's face.
UTVideo (fastest setting + best compression)
-c:a pcm_s16le -c:v utvideo -pred median -pix_fmt gbrp -f avi
13-14fps 31.6GB
FFV1
-c:a pcm_s16le -c:v ffv1 -pix_fmt bgr0 -level 1 -g 1 -coder 1 -context 1 -f avi
3fps 15.4GB
AVC
-c:a pcm_s16le -c:v libx264rgb -qp 0 -preset ultrafast -g 1 -pix_fmt rgb24 -f avi
11-13fps 28.3GB
-c:a pcm_s16le -c:v libx264rgb -qp 0 -preset ultrafast -g 5 -pix_fmt rgb24 -f avi
13-14fps 9.91GB
-c:a pcm_s16le -c:v libx264rgb -qp 0 -preset ultrafast -g 10 -pix_fmt rgb24 -f avi
13-14fps 7.65GB
-c:a pcm_s16le -c:v libx264rgb -qp 0 -preset ultrafast -g 15 -pix_fmt rgb24 -f avi
13-14fps 6.84GB
Lagarith (multithreading and null frames on, RGB) 14-17fps 9.72GB
Camstudio (LZO) 6-7fps 59.7GB
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.