| Main > Software Forum |
| MAME Movie Maker released |
| << < (95/153) > >> |
| brianoneill:
thanks. I'm using buddabings mame & teh 1.03 xvid codec. heres my mslug4.vdb VirtualDub.Open("moviesnp\\msl00000.png","",0); VirtualDub.audio.SetSource("mslug4.wav"); VirtualDub.audio.SetMode(1); VirtualDub.audio.SetInterleave(1,500,1,0,0); VirtualDub.audio.SetClipMode(1,1); VirtualDub.audio.SetVolume(); VirtualDub.audio.SetConversion(0,0,0,0,0); VirtualDub.audio.SetCompression(85,22050,1,0,3000,1,12,"AQACAAAATgABAHEF"); VirtualDub.audio.EnableFilterGraph(0); VirtualDub.video.SetInputFormat(0); VirtualDub.video.SetOutputFormat(0); VirtualDub.video.SetMode(3); VirtualDub.video.SetFrameRate(-1,2); VirtualDub.video.SetIVTC(0,0,-1,0); VirtualDub.video.SetRange(0,0); VirtualDub.video.SetCompression(0x64697678,0,10000,0); ..setcomp stuff removed... VirtualDub.video.filters.Clear(); VirtualDub.audio.filters.Clear(); VirtualDub.subset.Clear(); VirtualDub.subset.AddRange(0,3038); VirtualDub.project.ClearTextInfo(); VirtualDub.SaveAVI("mslug4.avi"); VirtualDub.audio.SetSource(1); VirtualDub.Close(); and my batch.bat @if not exist C:\Emulation\Emus\MameMovie\movies mkdir C:\Emulation\Emus\MameMovie\movies @if exist C:\Emulation\Emus\MameMovie\movies\%1.avi goto end time /T @mame %1 -window -makemovie -resolution %2 -wavwrite %1.wav -movieloops %3 -moviestartframe %4 -movieendframe %5 @if not exist %1.vdb goto end @\virtualdub\virtualdub /s"%1.vdb" /x @del %1.wav rem @del %1.vdb @del /Q moviesnp\*.png @move /Y %1.avi C:\Emulation\Emus\MameMovie\movies time /T :end and my makemovies.bat @call batch mslug4 255x255 2 250 8000 |
| Silver:
Hmmm The importnat line in the vdb file is: VirtualDub.video.SetFrameRate(-1,2); Which you have and is correct. I just ran your batch and your commandline, and it created a perfect movie for me, which plays at 29.593. Virtualdub reports it as a 29.593fps XviD file too... What version of Vdub are you using? If its 1.6.3 try 1.6.4. If that solves it let me know as I may have overlooked something when 1.6.4 came out... If its 1.6.4, try uninstalling and reinstalled to set defaults. Again, if this works please say (as it should not make any difference). If that doesn't work... which Xvid binary did you install? (keoki or Nik.. or something else...) |
| brianoneill:
--- Quote from: Silver on March 01, 2005, 05:20:48 pm ---Hmmm The importnat line in the vdb file is: VirtualDub.video.SetFrameRate(-1,2); Which you have and is correct. I just ran your batch and your commandline, and it created a perfect movie for me, which plays at 29.593. Virtualdub reports it as a 29.593fps XviD file too... What version of Vdub are you using? If its 1.6.3 try 1.6.4. If that solves it let me know as I may have overlooked something when 1.6.4 came out... If its 1.6.4, try uninstalling and reinstalled to set defaults. Again, if this works please say (as it should not make any difference). If that doesn't work... which Xvid binary did you install? (keoki or Nik.. or something else...) --- End quote --- VDub 1.6.4 Xvid 1.0.3 Koiki When you say re-install virtual dub. what virtual dub install is there ? Its just a zip file to be unzipped. I've tried on two pcs now and both give the same result !? :( |
| Silver:
Bingo - found the problem. I had not realised there was a 0.93 build of MMM was out (sorry). It looks like all the mass changes in the soundsystem in this version may have broken the -wavwrite command. It creates a wav that runs at twice the speed. Virtualdub uses the duration of the wav to set the length of the video made from all the pngs - this keeps the audio and video in sync. (The beginning of both is then trimmed off as per loop detected.) In short, use the 0.92 build for now. @Buddabing as mentioned above, theres a problem with wavwrite in 0.93. This looks to be system wide (neogeo affected, and zookeep - so I guess its all games). I will confirm its in the standard 0.93 mame build, then I'll submit a bug report. You may want to pull 0.93 for now....? |
| Buddabing:
--- Quote from: Silver on March 02, 2005, 05:45:31 am ---Bingo - found the problem. I had not realised there was a 0.93 build of MMM was out (sorry). It looks like all the mass changes in the soundsystem in this version may have broken the -wavwrite command. It creates a wav that runs at twice the speed. Virtualdub uses the duration of the wav to set the length of the video made from all the pngs - this keeps the audio and video in sync. (The beginning of both is then trimmed off as per loop detected.) In short, use the 0.92 build for now. @Buddabing as mentioned above, theres a problem with wavwrite in 0.93. This looks to be system wide (neogeo affected, and zookeep - so I guess its all games). I will confirm its in the standard 0.93 mame build, then I'll submit a bug report. You may want to pull 0.93 for now....? --- End quote --- I've removed the links. Did you try updating to .93u1? The patch to update .93 to .93u1 will work on my source. |
| Navigation |
| Message Index |
| Next page |
| Previous page |