(old) ZMV to AVI video conversion [[archive me]]

General area for talk about ZSNES. The best place to ask for related questions as well as troubleshooting.

Moderator: ZSNES Mods

Locked
franpa
Gecko snack
Posts: 2374
Joined: Sun Aug 21, 2005 11:06 am
Location: Australia, QLD
Contact:

Post by franpa »

Welcome to page 5.

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.

________
dont use winamp... instead use media player classic.
Core i7 920 @ 2.66GHZ | ASUS P6T Motherboard | 8GB DDR3 1600 RAM | Gigabyte Geforce 760 4GB | Windows 10 Pro x64
Starman Ghost
Trooper
Posts: 535
Joined: Wed Jul 28, 2004 3:26 am

Post by Starman Ghost »

Not winamp, Windows Media Player(WMP).
franpa
Gecko snack
Posts: 2374
Joined: Sun Aug 21, 2005 11:06 am
Location: Australia, QLD
Contact:

Post by franpa »

don't use windows media player its slow and crap... instead use media player classic.
Core i7 920 @ 2.66GHZ | ASUS P6T Motherboard | 8GB DDR3 1600 RAM | Gigabyte Geforce 760 4GB | Windows 10 Pro x64
Starman Ghost
Trooper
Posts: 535
Joined: Wed Jul 28, 2004 3:26 am

Post by Starman Ghost »

I've been using it for the past like 8 years or somethng. It works fine for everything I've thrown at it minus this dumb codec, I'm not about to change.
franpa
Gecko snack
Posts: 2374
Joined: Sun Aug 21, 2005 11:06 am
Location: Australia, QLD
Contact:

Post by franpa »

media player classic looks and plays just like windows media player 6.4 but it supports all codecs currently on your pc.
Core i7 920 @ 2.66GHZ | ASUS P6T Motherboard | 8GB DDR3 1600 RAM | Gigabyte Geforce 760 4GB | Windows 10 Pro x64
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

http://www.google.com/search?hl=en&q=x2 ... gle+Search

It does sound like you need the codec...
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
SquareHead
Veteran
Posts: 970
Joined: Fri Jan 21, 2005 11:15 am
Location: Montana, United States

Post by SquareHead »

Isnt the h264 codec built into VLC?
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

I believe H264 requires a beefy CPU and/or a video card that supports it in hardware (currently this is in the newest hardware, X1xxx series for ATI and 6xxx series for NVidia)

http://www.google.com/search?hl=en&q=H2 ... gle+Search
http://www.apple.com/quicktime/technologies/h264/
http://en.wikipedia.org/wiki/H264

I don't think it is by default included in any media player though...
Last edited by Deathlike2 on Mon Feb 27, 2006 8:37 am, edited 1 time in total.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
Agozer
16-bit Corpse | Nyoron~
Posts: 3534
Joined: Sun Aug 01, 2004 7:14 pm
Location: Nokia Land

Post by Agozer »

Deathlike2 wrote:I believe H264 requires a beefy CPU and/or a video card that supports it in hardware (currently this is in the newest hardware, X1xxx series for ATI and 7xxx series for NVidia)
I'd say that this is not true.

Well, it does require a fast CPU, but certainly not decoding in hardware.
Last edited by Agozer on Mon Feb 27, 2006 8:42 am, edited 1 time in total.
whicker: franpa is grammatically correct, and he still gets ripped on?
sweener2001: Grammatically correct this one time? sure. every other time? no. does that give him a right? not really.
Image
sweener2001
Inmate
Posts: 1751
Joined: Mon Dec 06, 2004 7:47 am
Location: WA

Post by sweener2001 »

quicktime 7 has it. i THINK it was quicktime that developed the codec.
[img]http://i26.photobucket.com/albums/c128/sweener2001/StewieSIGPIC.png[/img]
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

Agozer wrote:
Deathlike2 wrote:I believe H264 requires a beefy CPU and/or a video card that supports it in hardware (currently this is in the newest hardware, X1xxx series for ATI and 7xxx series for NVidia)
I'd say tht this is not true.

Well, it does require a fast CPU, but certainly not decoding in hardware.
That's why I said and/or... certainly a video card was ideally meant to process this kind of info... sadly this format is very suited for the Mac architecture.. thus needing extra CPU power to work with it.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

sweener2001 wrote:quicktime 7 has it. i THINK it was quicktime that developed the codec.
You mean Apple...
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
sweener2001
Inmate
Posts: 1751
Joined: Mon Dec 06, 2004 7:47 am
Location: WA

Post by sweener2001 »

either way, the quicktime player comes with it. that would answer your question.

and for starman, i have to use VLC to play those files on my computer.
[img]http://i26.photobucket.com/albums/c128/sweener2001/StewieSIGPIC.png[/img]
Mark7
Hazed
Posts: 63
Joined: Fri Aug 27, 2004 2:26 pm

Post by Mark7 »

H.264 was written by the ITU-T Video Coding Experts Group (VCEG) together with the ISO/IEC Moving Picture Experts Group (MPEG) as the product of a collective partnership effort

http://en.wikipedia.org/wiki/H264
[url=http://www.youtube.com/watch?v=3Gmex_4hreQ]Say NO to the Loudness war[/url]
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Okay I'm playing with the new 48KHz output code and audio+video merge option I'm working on.

Note the video here has been reencoded because it was quite big as lossless. And I screwed up the first two seconds of encoding the video, so it looks weird.

http://nsrt.edgeemu.com/demo.rar

The merged video encodes the audio in mp3 as lossless in the 64Kb range.

Edit:
For those wondering about x264, I recommend reading this:
http://en.wikipedia.org/wiki/X264

And whatever mencoder encodes, can be played back flawlessly with mplayer which is also available from the URL I posted above.

I recommend giving these a read:
http://en.wikipedia.org/wiki/MPlayer
http://en.wikipedia.org/wiki/MEncoder
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

And now ZSNES can use mencoder internally to put audio and video in one file to make even life easier! :)
I also fixed a bug with audio dumping in Windows.
I also removed the Uncompressed AVI option.

Windows WIP:
http://nsrt.edgeemu.com/zsnesw-mov.zip


Make sure to delete your old zmovie.cfg when using this since I made a bunch of changes (it's probably in your save directory).

Requires mencoder in your path.
Get precompiled mencoder binaries for Windows here:
http://oss.netfarm.it/mplayer-win32.php

I advise getting a precompiled mplayer binary from there to playback.

If you want to play with other stuff get Windows codecs here:
http://www.free-codecs.com/download/K_L ... c_Pack.htm

The more adventurous can edit zmovie.cfg.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
franpa
Gecko snack
Posts: 2374
Joined: Sun Aug 21, 2005 11:06 am
Location: Australia, QLD
Contact:

Post by franpa »

http://web.aanet.com.au/Student_WebZone ... merged.avi

new movie using the h.264 codec and merged audio... its freakin' awesome nach!
Core i7 920 @ 2.66GHZ | ASUS P6T Motherboard | 8GB DDR3 1600 RAM | Gigabyte Geforce 760 4GB | Windows 10 Pro x64
snkcube
Hero of Time
Posts: 2646
Joined: Fri Jul 30, 2004 2:49 am
Location: In front of the monitor
Contact:

Post by snkcube »

Wow, great job on the latest builds, Nach. I can't believe it's finally possible to dump movie files from ZSNES.
Try out CCleaner and other free software at Piriform
Image
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

New video: http://nsrt.edgeemu.com/eb2.avi
This one is good and somewhat original.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
SquareHead
Veteran
Posts: 970
Joined: Fri Jan 21, 2005 11:15 am
Location: Montana, United States

Post by SquareHead »

Nach wrote:New video: http://nsrt.edgeemu.com/eb2.avi
This one is good and somewhat original.
The text overlayed on the movie, what that done using the subtitle function of zsnes zmv's? And, did you just play a zmv, and dump it to video?
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Post by grinvader »

These subtitles aren't produced by zsnes.
皆黙って俺について来い!!

Code: Select all

<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

I added support for compressing the audio.

This means that if you want the audio and video seperately the audio will be smaller. If you're putting the audio in the video, it was always compressed, but now the audio outputted before the merge will be compressed, good if you dont have a lot of hard drive space and can't have such large temp files.

The default is to use LAME for compressing the audio to MP3.
Get LAME binaries for Windows here: http://www.free-codecs.com/download/Lame_Encoder.htm

Thanks ipher for cleaning the Window and new options.
Image
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

In case I forgot to mention it earlier, you can also convert now movies made with older versions of ZSNES.

This video was recorded with ZSNES v1.31:
http://nsrt.edgeemu.com/metroid3.avi
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
xamenus
Veteran
Posts: 907
Joined: Fri Jul 30, 2004 12:26 am

Post by xamenus »

How stable is this new encoding feature? It keeps telling me that mencoder is missing, even though I do have my mencoder directory in my path. I have lame in my path as well.

However, the movie encodes fine (as long as I don't enable "Audio in Video". If I enable that, it will encode, but the avi is nowhere to be found.)

ZSNESw, latest CVS, Windows XP Pro SP2.
franpa
Gecko snack
Posts: 2374
Joined: Sun Aug 21, 2005 11:06 am
Location: Australia, QLD
Contact:

Post by franpa »

i have the exact same problems.
Core i7 920 @ 2.66GHZ | ASUS P6T Motherboard | 8GB DDR3 1600 RAM | Gigabyte Geforce 760 4GB | Windows 10 Pro x64
Locked