tonioni / WinUAE

WinUAE Amiga emulator
http://www.winuae.net/
528 stars 86 forks source link

sound glitches when joining avi files only in windowed mode #256

Open tari3x opened 11 months ago

tari3x commented 11 months ago

Strangest bug: I record lossless video and sound in windowed mode, join the 2GB avis, and there are small sound glitches at the joints. Do exactly the same but in full screen - no glitches!

I am using WinUAE 5.0.0 and I join using ffmpeg -c:a copy. Please let me know if you need any other info!

tari3x commented 11 months ago

Oh, I did anniversary issue report!

tonioni commented 11 months ago

Does it happen if "Disable sound output" is ticked in Output panel? If it is not ticked, sound can get "adjusted" to reduce glitches which is not fully compatible with recording. Also make sure WASAPI audio is selected.

tari3x commented 11 months ago

Disable sound output is ticked and I'm using WASAPI.

I think the key lead here is the fact that it only happens in windowed mode.

tonioni commented 11 months ago

I can't understand how it would only affect windowed mode.. Does it also work in full-window mode (borderless window). Does it happen if you use A500/A1200 accurate quickstart mode? (The simpler the config the less unknown variables)

btw, you can use -max_avi_size command line parameter to lower split size to make testing much quicker.

tari3x commented 10 months ago

Sorry, failed to reply earlier!

I didn't try borderless window, and now I am away from the computer that was running it. It worked fine in full-screen mode in the end, so I didn't do any more research.

I was saving lossless video, so 2G would be hit very quickly :) Perhaps the solution is not to try debugging this but simply add support for modern unlimited avi or mkv?