(old) ZMV to AVI video conversion [[archive me]]
Moderator: ZSNES Mods
-
- ZSNES Developer
- Posts: 6747
- Joined: Tue Dec 28, 2004 6:47 am
Welcome to page 18.
To record a video you need one of the latest work in progress builds of ZSNES. Get them here: http://zsnes.ipherswipsite.com/
You will need a copy of mencoder. For Windows users, I recommend getting mencoder here: http://oss.netfarm.it/mplayer-win32.php
Place mencoder.exe in the same location as zsnesw.exe, you do not need any codecs or other movie programs installed.
Linux users, having mencoder in your path is fine.
If you want to compress the outputted audio, or compress it before it goes into the video as opposed to during, you will need a copy of LAME.
If you use Windows, you must get LAME from here: http://geocities.com/joecool22us/lame.zip
Any other copy of LAME for Windows will not work due to a bug in LAME.
Before you are able to dump an AVI, you must have recorded a movie first, it converts movies, it does not just dump video on the fly.
To play back movies, you'll either need the proper codecs or a video player with built in decoding of the video mode you selected.
I recommend getting mplayer which decodes anything created with mencoder. For Windows, you can get mplayer here: http://oss.netfarm.it/mplayer-win32.php You can download the GUI version.
Advanced users can edit zmovie.cfg and tweak the settings if they want, and even use something other than mencoder and LAME as long as it supports encoding via stdin and you set it up properly.
________
Just pick the mencoder build that autooptimizes for your CPU.
If you haven't read the movie FAQ sticky or the top of this post, all the info is provided there. You need mencoder, and LAME if you want compressed audio as an option.
To record a video you need one of the latest work in progress builds of ZSNES. Get them here: http://zsnes.ipherswipsite.com/
You will need a copy of mencoder. For Windows users, I recommend getting mencoder here: http://oss.netfarm.it/mplayer-win32.php
Place mencoder.exe in the same location as zsnesw.exe, you do not need any codecs or other movie programs installed.
Linux users, having mencoder in your path is fine.
If you want to compress the outputted audio, or compress it before it goes into the video as opposed to during, you will need a copy of LAME.
If you use Windows, you must get LAME from here: http://geocities.com/joecool22us/lame.zip
Any other copy of LAME for Windows will not work due to a bug in LAME.
Before you are able to dump an AVI, you must have recorded a movie first, it converts movies, it does not just dump video on the fly.
To play back movies, you'll either need the proper codecs or a video player with built in decoding of the video mode you selected.
I recommend getting mplayer which decodes anything created with mencoder. For Windows, you can get mplayer here: http://oss.netfarm.it/mplayer-win32.php You can download the GUI version.
Advanced users can edit zmovie.cfg and tweak the settings if they want, and even use something other than mencoder and LAME as long as it supports encoding via stdin and you set it up properly.
________
Just pick the mencoder build that autooptimizes for your CPU.
If you haven't read the movie FAQ sticky or the top of this post, all the info is provided there. You need mencoder, and LAME if you want compressed audio as an option.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
-
- New Member
- Posts: 6
- Joined: Tue Aug 21, 2007 6:34 pm
-
- ZSNES Developer
- Posts: 6747
- Joined: Tue Dec 28, 2004 6:47 am
-
- New Member
- Posts: 6
- Joined: Tue Aug 21, 2007 6:34 pm
-
- ZSNES Developer
- Posts: 6747
- Joined: Tue Dec 28, 2004 6:47 am
-
- New Member
- Posts: 6
- Joined: Tue Aug 21, 2007 6:34 pm
-
- ZSNES Developer
- Posts: 6747
- Joined: Tue Dec 28, 2004 6:47 am
Making the movie doesn't mean it automatically gets dumped. There is another tab in the movie section that is exclusively for dumping.Oni-Neoxes wrote:okay,i got the .exe extension,put it where the zsnesw.exe is but when i made th emovie,it is still the same extension.pretty much,it did nothing.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
-
- New Member
- Posts: 6
- Joined: Tue Aug 21, 2007 6:34 pm
-
- New Member
- Posts: 6
- Joined: Tue Aug 21, 2007 6:34 pm
-
- Seen it all
- Posts: 2302
- Joined: Mon Jan 03, 2005 5:04 pm
- Location: Germany
- Contact:
-
- ZSNES Developer
- Posts: 6747
- Joined: Tue Dec 28, 2004 6:47 am
Thanks, I'm going through it, although it's not very straight forward. I tried previously to change this line in zmovie.cfg:Deathlike2 wrote:You should consult the mencoder docs on the command line parameters and you also should look in zmovie.cfg to adding them in.
format=0x42475218:w=256:h=224:size=172032:fps=$md_video_rate"
I tried doubling the resolution and the 'size', but it did nothing. Just made the video the same small size. Hasn't someone done this before?
thanks
Prizm
-
- New Member
- Posts: 3
- Joined: Wed Oct 31, 2007 10:07 am
I'm a new member so go easy on me...
I followed the instructions and I made a video but when I use media player classic, sometimes the sound goes farther than it's supposed to be. However, whenever I move the locater to another area or back to the beginning, the problem suddenly fixes itself. What does this mean? If I upload this on youtube, will this problem still occur?
I followed the instructions and I made a video but when I use media player classic, sometimes the sound goes farther than it's supposed to be. However, whenever I move the locater to another area or back to the beginning, the problem suddenly fixes itself. What does this mean? If I upload this on youtube, will this problem still occur?
-
- New Member
- Posts: 3
- Joined: Wed Oct 31, 2007 10:07 am
-
- Seen it all
- Posts: 2302
- Joined: Mon Jan 03, 2005 5:04 pm
- Location: Germany
- Contact:
-
- Seen it all
- Posts: 2302
- Joined: Mon Jan 03, 2005 5:04 pm
- Location: Germany
- Contact:
I've looked over the options to convert zmv to avi, which works great with default settings. However, did anyone notice that 256x224 equals to an aspect ratio of 8:7 ? Or, 4:3.5?
I tried changing a bit in zmovie.cfg to a more proper resolution, but it messed up the entire video output.
I'm not sure if I made a mistake in this line. Seems the size equals to w*h*3...
The video turns out all crazy.
Sure, I can just re-encode a 256x224 video with an AviSynth script (to a true 4:3 aspect ratio...), but it'll reduce quality. Therefore I thought that maybe ZSNES can do it directly?
I bet it's just some line you can use with mencoder that I missed, I'm sure of it...
Maybe I should try 256x192...
I tried changing a bit in zmovie.cfg to a more proper resolution, but it messed up the entire video output.
Code: Select all
md_raw="-demuxer rawvideo -rawvideo format=0x42475218:w=320:h=240:size=230400:fps=$md_video_rate"
The video turns out all crazy.
Sure, I can just re-encode a 256x224 video with an AviSynth script (to a true 4:3 aspect ratio...), but it'll reduce quality. Therefore I thought that maybe ZSNES can do it directly?
I bet it's just some line you can use with mencoder that I missed, I'm sure of it...
Maybe I should try 256x192...
-
- Seen it all
- Posts: 2302
- Joined: Mon Jan 03, 2005 5:04 pm
- Location: Germany
- Contact:
In an ideal world, rescaling is done by the output device only... (e.g. YouTube videos). You can select the pixel ratio in Media Player Classic and VLC, for example.
Otherwise you just have to add that filter.
Related: link
Otherwise you just have to add that filter.
Related: link
vSNES | Delphi 10 BPLs
bsnes launcher with recent files list
bsnes launcher with recent files list
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
Does anyone read the MEncoder documentation?
You can set both aspect ratios and any kind of scaling and stretching in the output.
But don't modify the INPUT to MEncoder. No matter what you tell it, ZSNES will always send MEncoder the same data.
You can set both aspect ratios and any kind of scaling and stretching in the output.
But don't modify the INPUT to MEncoder. No matter what you tell it, ZSNES will always send MEncoder the same data.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
Ok, I'm having a hard time trying to make it work xD
mencoder.exe and Lame are in the same folder as zsnes.exe
But still, when I try to dump the videos, it doesn't create any file (just If I choose "Raw Video" dump, that creates a bin file that I just cant deal with)
If I try XVID or X264 and click on START, the movie will play normally (without slowdowns) and after it ends the game will keep playing, like if I actually playbacked the movie without dumping it.
Then two things will happen:
1. If I choosed to dump Audio, LAME will pop out and display glitchy graphics in the screen, bugging everything and crashing ZSNEA.
2. If I didn't choose to dump audio, then after the movie ends the game will continue playing, I'm able to play it but I cant access ZSNES Menu anymore so I have to close it.
In both options, no file is created.
Sooo, anyone knows what could be going on?
mencoder.exe and Lame are in the same folder as zsnes.exe
But still, when I try to dump the videos, it doesn't create any file (just If I choose "Raw Video" dump, that creates a bin file that I just cant deal with)
If I try XVID or X264 and click on START, the movie will play normally (without slowdowns) and after it ends the game will keep playing, like if I actually playbacked the movie without dumping it.
Then two things will happen:
1. If I choosed to dump Audio, LAME will pop out and display glitchy graphics in the screen, bugging everything and crashing ZSNEA.
2. If I didn't choose to dump audio, then after the movie ends the game will continue playing, I'm able to play it but I cant access ZSNES Menu anymore so I have to close it.
In both options, no file is created.
Sooo, anyone knows what could be going on?