Post subject: Feature request: AVI splitting to 2GB segments
Joined: 11/11/2006
Posts: 1235
Location: United Kingdom
Encoding long runs with mupen is a nightmare. Anything beyond 2gb goes a bit dodgy, and anything beyond 4gb is very bad. As such, I'm requesting that mupen split dumping AVI into 2gb segments to ease things. Alternatively, the ability to encode audio with anything other than uncompressed would work also Of course if both of these were implemented, that would be an added bonus.
<adelikat> I am annoyed at my irc statements ending up in forums & sigs
Joined: 7/16/2006
Posts: 635
One thing I've noticed is that when recording long segments, the sound tends to desync from the video (usually it falls behind). Is there any way to rectify this currently or would that require a new feature?
Joined: 11/11/2006
Posts: 1235
Location: United Kingdom
Try reencoding it to a smaller file. it could be your media player/hard drive trying to keep up with the extremely large amount of data present. If this isn't the problem... I don't know.
<adelikat> I am annoyed at my irc statements ending up in forums & sigs
Post subject: Re: Feature request: AVI splitting to 2GB segments
adelikat
He/Him
Emulator Coder, Site Developer, Site Owner, Expert player (3573)
Joined: 11/3/2004
Posts: 4754
Location: Tennessee
Yes, this needs to be implemented. The avi splitting is a standard feature of NES, GENS, and VBA. It shouldn't be too hard for a coder to add in. Compressing the audio would be nice too and would be nice to add in on other emulators as well.
It's hard to look this good. My TAS projects
Active player (411)
Joined: 3/16/2004
Posts: 2623
Location: America, Québec
Imo, OpenDML supports would be better but splitting to 2Gb is not bad too. Just a little more work for encoding process :P
upthorn
He/Him
Emulator Coder, Active player (391)
Joined: 3/24/2006
Posts: 1802
http://www.fileden.com/files/2007/5/8/1061429/mupen64_src-rerecording-v8-AVISplit.7z Archive contains:
  • Full modified source (mupen64_src-rerecording-v8)
  • Diff file listing modifications to previous source. (DiffToV8.txt)
  • Windows compiled exe file (mupen64_src-rerecording-v8\winproj\mupen64-avisplit.exe)
I have only modified the windows versions of the functions, so the new features likely will not apply to linux versions compiled from this source. If I have somehow broken linux compilation (IE: this source package gives compiler errors that Nitsuja's does not), please respond here with the relevant error messages. Edit: 06:44, Monday Sept 17 2007 GMT, Woops, looks like I screwed up -- diffed, built from, and uploaded the wrong source package. If you downloaded before 06:44, Monday Sept 17 2007 GMT, download again from the same link. Differences:
  • Corrected version splits at 1.93 GB, not 32 MB.
  • Corrected version does not incorrectly enable/disable menu options relating to AVI capture when file is split.
How fleeting are all human passions compared with the massive continuity of ducks.
Active player (411)
Joined: 3/16/2004
Posts: 2623
Location: America, Québec
Did you tried adding OpenDML instead?
upthorn
He/Him
Emulator Coder, Active player (391)
Joined: 3/24/2006
Posts: 1802
Phil wrote:
Did you tried adding OpenDML instead?
No. That wasn't what Raiscan requested.
How fleeting are all human passions compared with the massive continuity of ducks.
Joined: 11/11/2006
Posts: 1235
Location: United Kingdom
I was under the impression that OpenDML support would be a bigger pain in the ass than just splitting the files. Was I incorrect in this assumption?
<adelikat> I am annoyed at my irc statements ending up in forums & sigs
Active player (411)
Joined: 3/16/2004
Posts: 2623
Location: America, Québec
Splitted files are bigger pain in the ass :P
Joined: 11/11/2006
Posts: 1235
Location: United Kingdom
Thats not a valid answer to my question. At the time I asked Upthorn to implement the 2GB splitting from Gens into Mupen64. Why did I ask this and not for OpenDML? Because since 2GB splitting was already in Gens, and at right now anything that prevents the captured AVI(s) from becoming corrupted is better than nothing. Of course, if someone wants to implement OpenDML, that would be a better solution.
<adelikat> I am annoyed at my irc statements ending up in forums & sigs
Joined: 7/26/2006
Posts: 1215
I am really thankful for splitting, and have no real need for opendml since appending avi segments is a snap. Thanks for filling the request, upthorn.