12 February 2019, 13:19 | #1 |
Amiga user
Join Date: Nov 2008
Location: Sofia / Bulgaria
Posts: 455
|
avi recording audio problem
Thanks for the update.
I am getting some weird recording bug that appears on slower machines, but not on my faster machines. The bug is that sometimes the recorded audio in the avi file gets out of sync and totally garbled. Here is the output config. https://imgur.com/a/sBoTRXk And in Sound Emulation I've turned off "Automatic switching" as suggested in other threads. Any clue how I can avoid the sound problems and record flawlessly on slower machines (Core Duo or G4400)? Last edited by drHirudo; 12 February 2019 at 13:23. Reason: Image |
12 February 2019, 18:10 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,503
|
Thanks but can't anyone report any bugs or problems?
This can't be 4.2.0 specific.. Nothing has changed in recording. As usual, this thread is only for 4.2.0 specific problems. |
12 February 2019, 19:43 | #3 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,503
|
Moved from beta thread.
Does it only happen in fastest possible cpu mode? |
12 February 2019, 19:51 | #4 |
Amiga user
Join Date: Nov 2008
Location: Sofia / Bulgaria
Posts: 455
|
Here is the CPU and FPU settings that I use:
|
13 February 2019, 08:11 | #5 |
Amiga user
Join Date: Nov 2008
Location: Sofia / Bulgaria
Posts: 455
|
I am trying to reproduce the bug with cycle-exact setting, but it doesn't appear yet.
Seems like the CPU Emulation in fastest possible mode utilises too much resources and the CPU can't cope with the recording. So, sound desynch happens and then the whole recording of sound gets garbled. |
13 February 2019, 08:50 | #6 |
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 4,856
|
I don't know how is WinUAE handling the recording and don't know if you would consider it a valid comparison Toni but did you (@drHirudo) tried to record with an external tool to check if "the recorded audio in the avi file gets out of sync and totally garbled" also ? (with same output container, same output codecs, same resolution, etc.)
The point here is not to compare WinUAE recording with another solution, only to check if WinUAE is, as you think, eating too much resources that the recording of sound gets garbled. |
13 February 2019, 09:16 | #7 | |
Amiga user
Join Date: Nov 2008
Location: Sofia / Bulgaria
Posts: 455
|
Quote:
|
|
13 February 2019, 16:16 | #8 |
Amiga user
Join Date: Nov 2008
Location: Sofia / Bulgaria
Posts: 455
|
Okay, WinUAE beta just crashed, while recording. Here is the crash dmp file if that helps:
https://ufile.io/oqu7h |
13 February 2019, 16:49 | #9 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,503
|
JIT enabled makes dump files useless.
Fastest possible is not that compatible with recording because emulated CPU speed depends on how much there is free time and if recording requires more time (and recording buffer is full = emulation needs to wait): emulated CPU may run far too slowly. In non-fastest possible modes result is always perfect, including zero sound latency in recording, even if single frame emulation takes 10 seconds and sound glitches horribly during recording. |
13 February 2019, 17:01 | #10 | ||
Amiga user
Join Date: Nov 2008
Location: Sofia / Bulgaria
Posts: 455
|
Quote:
Quote:
|
||
13 February 2019, 17:03 | #11 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,503
|
There is no need for cycle-exact (and it isn't accurate in higher CPU modes anyway), just select approximate CPU speed and increase CPU speed slider if speed seems too slow.
|
27 February 2019, 22:17 | #12 |
Registered User
Join Date: Jul 2014
Location: Katowice/Poland
Posts: 51
|
Hi.
(sorry for my english) I would give a few words from me a little. I noticed that there is a problem with recording the sound on the old computer. On the I5-7200U Win10 laptop, everything is OK, but the Athlon II X2 250 WinXP creates a problem when recording when the image is in interlace mode. I have included sample logs: - I start the A600 in Quickstart mode, - I choose a floppy disk, - run emulation, - start recording to avi, - in the meantime the image switches to PAL interlace and then ... the sound being recorded is played back at twice the speed. Everything was fine for version 3.5.0, it started to happen from version 3.6.0 (exactly from 3.6.0b6). |
01 March 2019, 18:12 | #13 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,503
|
Quote:
|
|
02 March 2019, 08:09 | #14 |
Registered User
Join Date: Jul 2014
Location: Katowice/Poland
Posts: 51
|
|
02 March 2019, 13:22 | #15 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,503
|
I thought so
Unfortunately I am not sure how to fix now "broken" normal doubled interlace because now it is anymore good idea to record every field in all modes. It should record same frame twice when recording was started at full frame rate non-laced and mode later changed to doubled (non-field) interlace but thats easier said than done without causing other side-effects.. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
WinUAE FPS adjust bug with AVI recording & audio speed | Al82 | support.WinUAE | 5 | 13 January 2019 23:07 |
avi recording | TEOL | support.WinUAE | 2 | 08 February 2012 11:45 |
problems recording avi | Jools | New to Emulation or Amiga scene | 2 | 19 April 2008 22:58 |
[bug]Slowdown: 336 pixel limit with avi recording | NoX1911 | support.WinUAE | 3 | 10 January 2007 14:59 |
AVI recording 4GB limit | trance007 | support.WinUAE | 13 | 01 July 2003 14:05 |
|
|