View unanswered posts | View active topics It is currently Wed Nov 13, 2019 7:07 am



This topic is locked, you cannot edit posts or make further replies.  [ 504 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 21  Next
(old) ZMV to AVI video conversion [[archive me]] 
Author Message
ZSNES Shake Shake Prinny
User avatar

Joined: Wed Jul 28, 2004 4:15 pm
Posts: 5615
Location: PAL50, dood !
Post 
Welcome to page 3.

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.

________
Sun_Fire wrote:
Nach wrote:
The button is currently a dummy. If you want to dump a video right now, you'll have to tie the raw_video*() functions in zmovie.c into something.


Hi, i'm new here 8)

Well my problem is: I cannot find the "raw_video*()" functions in that file.

I have a zsnes wip 1.41 source code and my OS is win 2k3

It's in current CVS. 1.41WIP code is oooold.

_________________
皆黙って俺について来い!!
Code:
<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)

Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54


Wed Apr 27, 2005 2:23 pm
Profile
New Member

Joined: Wed Apr 27, 2005 8:43 am
Posts: 4
Post 
hehe, well i cannot find the line code in the 1.42 source.....

and I'll try the 1.42 wip version for linux over fedora 2, and it's so slow

my pc is.... hehe, so old but in the winbug$ version runs good :?

bye


Mon May 02, 2005 1:44 am
Profile
Lurker
User avatar

Joined: Wed Oct 06, 2004 9:09 pm
Posts: 151
Location: Georgia, USA
Post 
grinvader wrote:
It's in current CVS. 1.41WIP code is oooold.


use cvs: http://sourceforge.net/cvs/?group_id=19677. 1.42 source is too old for this.

_________________
Latest ZSNES release: ZSNES 11/12/06 WIP
Latest NSRT release: NSRT 3.3 Final


Mon May 02, 2005 3:04 am
Profile WWW
Mugwump
User avatar

Joined: Fri Jul 30, 2004 9:05 pm
Posts: 824
Post 
Those .avi's kick ass.


Mon May 02, 2005 11:31 am
Profile
Post 
first, i'm really new to the whole raw video crap.... and second to make my life a whole lot easier, i'm just looking for a vid of the LoZ: ALttP intro of the Triforce Spinning. So if anyone else is up to the challenge of this, feel free to PM me and tell me where to get the vid, cuz i honestly have no idea what i'm doing.

But if you insist of me doing it myself, is a ZMV file a raw vid file, and if that is what program should i try using to convert it to a mpeg?


Fri May 06, 2005 2:07 am
Lurker
User avatar

Joined: Wed Oct 06, 2004 9:09 pm
Posts: 151
Location: Georgia, USA
Post 
no, it is not a raw video file, only a list of timings, etc., that zsnes uses to replay the game exactly as it was recorded. in order to make your own video, see the first post of this thread.

_________________
Latest ZSNES release: ZSNES 11/12/06 WIP
Latest NSRT release: NSRT 3.3 Final


Fri May 06, 2005 3:42 am
Profile WWW
Dark Wind
User avatar

Joined: Thu Jul 29, 2004 8:58 pm
Posts: 1270
Location: Texas
Post 
[^_^] wrote:
first, i'm really new to the whole raw video crap.... and second to make my life a whole lot easier, i'm just looking for a vid of the LoZ: ALttP intro of the Triforce Spinning. So if anyone else is up to the challenge of this, feel free to PM me and tell me where to get the vid, cuz i honestly have no idea what i'm doing.

But if you insist of me doing it myself, is a ZMV file a raw vid file, and if that is what program should i try using to convert it to a mpeg?


Here. XviD 1.1.0-beta2, 2-pass VBR, average bitrate 368 kbps. Encoded with mencoder 1.0-pre7.

http://thecarpentersshop.com/ninja/lttpintro.avi

Encode params:

Code:
mencoder -nosound -rawvideo on:format=0x42475220:w=256:h=223:size=228352:fps=60 -ovc xvid -xvidencopts pass=1:aspect=4/3:gmc:vhq=4:hq_ac:qpel -o ./trash ./rawvideo.bin && mencoder -nosound -rawvideo on:format=0x42475220:w=256:h=223:size=228352:fps=60 -ovc xvid -xvidencopts pass=2:aspect=4/3:gmc:vhq=4:hq_ac:qpel:bitrate=400 -o lttpintro.avi ./rawvideo.bin

_________________
#577451


Fri May 06, 2005 5:22 pm
Profile WWW
Mugwump
User avatar

Joined: Fri Jul 30, 2004 9:05 pm
Posts: 824
Post 
POST SOME MORE MOVIES!!!!!!
THEY FUCKING RULE.


Fri May 06, 2005 6:02 pm
Profile
Veteran

Joined: Fri Jul 30, 2004 12:26 am
Posts: 907
Post 
I should write a FAQ about this.

Mencoder is not available for win32 platforms, correct? What are some other recommended programs to view/convert raw videos?


Sat May 07, 2005 3:47 am
Profile
Hero of Time
User avatar

Joined: Fri Jul 30, 2004 2:49 am
Posts: 2646
Location: In front of the monitor
Post 
Wow, nicely done Noxious.

_________________
Try out CCleaner and other free software at Piriform
Image


Sat May 07, 2005 4:01 am
Profile WWW
ZSNES Developer
ZSNES Developer
User avatar

Joined: Tue Jul 27, 2004 10:54 pm
Posts: 3902
Location: Solar powered park bench
Post 
IceFox wrote:
Mencoder is not available for win32 platforms, correct?

Incorrect.

mplayer/mencoder is simply the best in movie playback/recording. Unforunetly they are hard to use, as each one probably has >1000 parameters, most of which aren't even documented well if at all.

_________________
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding


Sat May 07, 2005 7:09 pm
Profile WWW
New Member

Joined: Tue May 17, 2005 9:10 pm
Posts: 3
Post 
Man, I still don't get it. I got this version: http://nsrt.edgeemu.com/zsnesw-zmv-r11.zip. I tried to use Dump raw video, but the rawvideo.bin was always 0 bytes. Could someone explain it better to me?

_________________
--
Fortune


Tue May 17, 2005 10:02 pm
Profile
Dark Wind
User avatar

Joined: Thu Jul 29, 2004 8:58 pm
Posts: 1270
Location: Texas
Post 
Fortune wrote:
Man, I still don't get it. I got this version: http://nsrt.edgeemu.com/zsnesw-zmv-r11.zip. I tried to use Dump raw video, but the rawvideo.bin was always 0 bytes. Could someone explain it better to me?


You have to record an in-game movie first, then you can dump it.

_________________
#577451


Tue May 17, 2005 10:08 pm
Profile WWW
New Member

Joined: Tue May 17, 2005 9:10 pm
Posts: 3
Post 
That's nice of you, but i'm not that stupid. I think I know that. I need more info. Here's what i wanna know:
1. A CVS directory where I could download something even newer.
2. Could someone explain me a little more how to encode directly to mencoder to make a nice avi.
3. Some tips.
After I learn how to do this, i will make an avi of saturn's terranigma run, the only problem is that it desyncs.

_________________
--
Fortune


Tue May 17, 2005 10:17 pm
Profile
Rookie

Joined: Thu Dec 30, 2004 9:05 am
Posts: 20
Post 
I always get an empty rawvideo.bin when I attempt to dump an old format movie, so I'm assuming that it only works for the new format at this point. CVS is on Sourceforge, and I haven't used mencoder so I can't help you there. For a tip, though, you'll need a decent amount of space in your save directory.


Tue May 17, 2005 11:02 pm
Profile ICQ YIM
New Member

Joined: Tue May 17, 2005 9:10 pm
Posts: 3
Post 
I guess I'll use screen recording software then. Any tips for this type of recording?

_________________
--
Fortune


Wed May 18, 2005 11:58 am
Profile
New Member

Joined: Wed Apr 27, 2005 8:43 am
Posts: 4
Post 
how can make a fifo structure in windows?

I have a GNUwin32 installed and the bin folder added in the phat enviromen variable, but always splash this error:

mkfifo: cannot create fifo `rawvideo.bin'

the folder and files have permissions of writing and reading.

and how can make a movie with audio?


Fri Jul 22, 2005 10:54 pm
Profile
Dark Wind
User avatar

Joined: Thu Jul 29, 2004 8:58 pm
Posts: 1270
Location: Texas
Post 
I have tried a few different mkfifo tools on Windows, and none of them worked. I just used temp files. A little more work, and it requires lots of hard drive space, but it gets the job done.

_________________
#577451


Sat Jul 23, 2005 4:15 am
Profile WWW
ZSNES Developer
ZSNES Developer
User avatar

Joined: Tue Jul 27, 2004 10:54 pm
Posts: 3902
Location: Solar powered park bench
Post 
When I get a chance and figure out how to get libavformat working, I'll probably have XviD, H.264, and FFV1 output. Although I really shouldn't be doing any of that since ZSNES is NOT a movie encoder. I'm just not sure what else to do to make it reasonable to dump videos in Windows.

_________________
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding


Sat Jul 23, 2005 11:48 pm
Profile WWW
Dark Wind
User avatar

Joined: Thu Jul 29, 2004 8:58 pm
Posts: 1270
Location: Texas
Post 
You could make ZSNES into a AVISynth plugin. Now that would be sexy.

_________________
#577451


Sun Jul 24, 2005 5:04 am
Profile WWW
16-bit Corpse | Nyoron~
User avatar

Joined: Sun Aug 01, 2004 7:14 pm
Posts: 3534
Location: Nokia Land
Post 
I've always wondered what AVISynth does...

_________________
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


Sun Jul 24, 2005 1:12 pm
Profile
ZNES Developer
User avatar

Joined: Mon Aug 02, 2004 11:22 pm
Posts: 215
Post 
It is a frameserver.
In this way ZSNES could be frameserving an AVI whilst having a dedicated program perform all the encoding, somewhat like Nach's doing with mkfifo, only on a higher-level and more compatible way.


Sun Jul 24, 2005 10:44 pm
Profile
New Member

Joined: Wed Apr 27, 2005 8:43 am
Posts: 4
Post 
Ok,

but, how can make the sound?


Mon Aug 01, 2005 2:02 am
Profile
Redneck Gamer-Mod
User avatar

Joined: Wed Aug 04, 2004 2:15 am
Posts: 433
Location: Pittsburgh
Post 
You can't with Zsnes (yet?).

You'd have to like... record it externally then somehow mix it into the video stream and synch it. Which, if its possible, will be very hard.

_________________
SHREIK!!!!!!! DDdddnnnnnnaaaa! GESTAHLLLLLLLLLL!!!!!!!!

Steelers now officially own your ass.


Mon Aug 01, 2005 2:50 am
Profile
Veteran

Joined: Fri Jan 21, 2005 11:15 am
Posts: 970
Location: Montana, United States
Post 
kevman wrote:
You can't with Zsnes (yet?).

You'd have to like... record it externally then somehow mix it into the video stream and synch it. Which, if its possible, will be very hard.


VirtualDUB can mux them together, but youd have to be exact with timing as you will have sync issues. As for recording the audio, thats another problem entirely. As kevman said, diffucult, but not impossible.


Mon Aug 01, 2005 3:21 am
Profile
Display posts from previous:  Sort by  
This topic is locked, you cannot edit posts or make further replies.   [ 504 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 21  Next

Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software.