23 September 2017, 13:48 | #1 |
Registered User
Join Date: Sep 2017
Location: UK
Posts: 95
|
WinUAE Video Output: AVI splitting
I noticed that when I record video output with WinUAE that it will suddenly split the video (e.g. Video_00.avi will suddenly split and it will start recording Video_00_1.avi).
This isn't so much a problem in itself, but occasionally there will be a very audible pop in the audio where it splits. What I haven't worked out is what causes the video to split in the first place - it's not a 4GB file limit or anything like that. Any ideas/thoughts? |
23 September 2017, 13:55 | #2 |
Zone Friend
Join Date: Jun 2006
Location: Gargore
Age: 44
Posts: 17,789
|
you may have filter which stretch display and change resolution, each new resolution need new video file
|
23 September 2017, 14:18 | #3 |
Registered User
Join Date: Sep 2017
Location: UK
Posts: 95
|
Thanks for the info, but it's not a resolution change. If it was then it would happen consistently at the same point, but I can record the same footage numerous times and sometimes it will split, but other times it won't.
I've just switched on full logging, so I'll see if that gives any clue. |
23 September 2017, 14:40 | #4 |
Registered User
Join Date: Aug 2011
Location: Omnicorp
Age: 45
Posts: 5,873
|
I touched on this topic early this year
http://eab.abime.net/showthread.php?t=86111 No outcome. Pops still happen.. |
23 September 2017, 14:51 | #5 |
Registered User
Join Date: Sep 2017
Location: UK
Posts: 95
|
Split just occurred at random and the output from the log is thus:
AVI split at xxxxxxx bytes, xxxxxx frames Killing worker thread AVIOutput worker thread: out of entries!? AVIOutput worker thread killed AVIOutput enabled: video=1 audio=1 path="<path to video .avi"> AVIOutput worker thread started There was a audible pop in the segment created after the split. |
23 September 2017, 18:05 | #6 |
Registered User
Join Date: Sep 2017
Location: UK
Posts: 95
|
Potentially interesting find - I generally use Lagarith to record the videos and I've just been into the configuration and disabled the codec's multithreading option. I've recorded a 6 minute segment, which is the largest I've been able to do without it splitting - will see how it goes.
* Edit * Split again with pop - oh well! Last edited by Al82; 23 September 2017 at 18:18. |
23 September 2017, 21:01 | #7 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
|
Another forgotten update..
Not sure if this helps but try this: http://www.winuae.net/files/b/winuae.7z buffered sound was lost when splitting. Also added -max_avi_size x command line parameter to force smaller (or larger) split size, smaller can be useful when testing. (x = size in bytes). |
23 September 2017, 21:54 | #8 |
Registered User
Join Date: Sep 2017
Location: UK
Posts: 95
|
Thanks Toni - will be sure to give it a try
|
24 September 2017, 07:22 | #9 |
Registered User
Join Date: Sep 2017
Location: Kansas, USA
Posts: 328
|
At least when using the -max_avi_size command, it worked good. The audio and video was perfectly split, down to the individual audio samples (checked in Audacity.)
|
26 September 2017, 02:45 | #10 | |
Registered User
Join Date: Aug 2011
Location: Omnicorp
Age: 45
Posts: 5,873
|
Quote:
The pops are also still there intermittently.. |
|
26 September 2017, 13:24 | #11 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,349
|
Wings of Death is one of the few games that use "fake 60Hz" code which allows a ~60Hz display on PAL machines without needing the ECS Agnus chip. BC Kid and Dyna Blaster are two others like that.
I don't know what the exact frame rate for Wings of Death is. Apparently BC Kid is ~57Hz. Maybe WinUAE's AVI-writing code doesn't recognise the fake-60Hz modes??? |
26 September 2017, 19:04 | #12 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
|
Yeah, lets try some "normal" case first (50Hz PAL) to confirm if it only happens in special cases (not 50, not 60)
|
29 September 2017, 12:24 | #13 |
Registered User
Join Date: Aug 2011
Location: Omnicorp
Age: 45
Posts: 5,873
|
I tried to join multiple split AVI's of playing Shadow Dancer without success...
1st try... AVI was stopped midgame.. Changed savestate... And changed to AVI002.AVI file and continued recording. (then join avis with VirtualDub 1.9.8 (build 32706/release) by Avery Lee) 2nd try... AVI recording I purposely die in the game.. re loaded the last savestate / Deleted the last AVI and re recorded the avi.. (Then join all avis with VirtualDub 1.9.8 (build 32706/release) by Avery Lee) It seems that pop sounds still happen with this other version of winuae you asked us to try. The video link below shows at 28 seconds & 51 seconds you can here the pops Here is my small avi file with the pop sounds to hear for yourself.. http://uptobox.com/mjrw1x5zd9pe |
29 September 2017, 12:31 | #14 | |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
...but hold on; in this thread you mentioned that if you don't use save states then all is ok: Joining two avis recorded with winuae creates sound glitch
Quote:
|
|
29 September 2017, 12:43 | #15 | |
Registered User
Join Date: Aug 2011
Location: Omnicorp
Age: 45
Posts: 5,873
|
Quote:
Toni had the "forgotten update" he wanted us to try in case it fixed the POP noise.. I just tried on another game beside the obscure Wings of Death game and it seems to still happen. I am not sure wether this can be fixed at all because when you load a savestate It seems to remember the last sound from the previous gameplay. So when you record again that POP noise from the previos gameplay is heard in the new AVI recording.. I am hoping someone else can try it as well.. |
|
29 September 2017, 13:03 | #16 |
Amiga Hardcore Gamer
Join Date: Apr 2005
Location: Sweden
Age: 46
Posts: 1,207
|
This problem has been since WinUAE 2.4 but have never bothered to report it. WinUAE does not record the first frame when load a savestate. The sound glitch has been there for a long time but at least WinUAE recorded the video frame in earlier versions (2.3.x). So now it is much worse.
I downloaded your video and noticed there is a missing frame between 1444-1445. You will see it better if you record a game that have 50 fps scrolling. Now I'm trying to use savestates when there is no sound or movement for my videos. But that is not always possible so hope Toni can fix this |
29 September 2017, 13:40 | #17 |
Registered User
Join Date: Aug 2011
Location: Omnicorp
Age: 45
Posts: 5,873
|
Everything hipoonios says.. Agreed
Seems joining avis not only pops but also drops a frame? I did not know that.. |
29 September 2017, 17:37 | #18 |
Amiga Hardcore Gamer
Join Date: Apr 2005
Location: Sweden
Age: 46
Posts: 1,207
|
Yes, first frame is not recorded. Not sure if fixing that will fix the audio pitch issue completely. Think also the second frame has pitched audio.
Related: Record without having "capture before filtering" ticked will make the first frame black (if using savestates). Can someone confirm? Last edited by hipoonios; 29 September 2017 at 17:51. |
29 September 2017, 18:28 | #19 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
|
So is the automatic splitting still creating pops or not? (no savestates or anything else used. Different problems!)
|
29 September 2017, 19:51 | #20 |
Amiga Hardcore Gamer
Join Date: Apr 2005
Location: Sweden
Age: 46
Posts: 1,207
|
Yeah, this thread is about two different things now.
1. AVI's can split sometimes. But this happens rarely (at least for me) 2. First frame in AVI recording is not captured from WinUAE 2.4.x. This causes a "jump" in the video when you join two AVI parts. It's hard to see because it is just one frame. But you hear it clearly. That's why we call it "sound glitch". The second one has nothing to do with the first one. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Audio/Video output capture in WinUAE 3.4.0 | TroyWilkins | support.WinUAE | 6 | 15 June 2017 14:30 |
Recording video - occasional "doubled" like frames in avi output | Photon | support.WinUAE | 12 | 16 March 2008 23:06 |
How to create video output with WinUAE? | glwxxx | support.WinUAE | 18 | 05 May 2006 16:08 |
08.27 AVI Output problem | BippyM | support.WinUAE | 2 | 15 June 2004 19:46 |
Winuae with avi output | turk182 | support.WinUAE | 16 | 28 November 2001 12:15 |
|
|