View unanswered posts | View active topics It is currently Wed Dec 11, 2019 5:03 am



This topic is locked, you cannot edit posts or make further replies.  [ 504 posts ]  Go to page Previous  1 ... 9, 10, 11, 12, 13, 14, 15 ... 21  Next
(old) ZMV to AVI video conversion [[archive me]] 
Author Message
Gecko snack

Joined: Sun Aug 21, 2005 11:06 am
Posts: 2372
Location: Australia, QLD
Post 
nach wrote:
Welcome to page 12.

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.


________

thanks... forgot all about up-x.

edit: may aswell post all that stuff nach puts at the start of each page here

_________________
Core i7 920 @ 2.66GHZ | ASUS P6T Motherboard | 8GB DDR3 1600 RAM | Gigabyte Geforce 760 4GB | Windows 10 Pro x64


Last edited by franpa on Sun May 07, 2006 9:32 am, edited 4 times in total.



Sun May 07, 2006 9:10 am
Profile WWW
Locksmith of Hyrule
User avatar

Joined: Sun Aug 08, 2004 7:49 am
Posts: 3634
Location: 255.255.255.255
Post 
Welcome to Page 12.

</Nach>

_________________
Image
<Nach> so why don't the two of you get your own room and leave us alone with this stupidity of yours?
NSRT here.


Sun May 07, 2006 9:22 am
Profile YIM WWW
ZSNES Developer
ZSNES Developer
User avatar

Joined: Tue Jul 27, 2004 10:54 pm
Posts: 3902
Location: Solar powered park bench
Post 
http://nsrt.edgeemu.com/kirby_vs_metaknight.avi

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


Sun May 14, 2006 11:28 pm
Profile WWW
Veteran
User avatar

Joined: Wed Jul 28, 2004 8:54 am
Posts: 603
Post 
I propose changing the thread title to:
Quote:
ZMV to AVI (video) conversion!!!


Mon May 15, 2006 2:11 am
Profile
New Member

Joined: Wed Jun 14, 2006 3:43 pm
Posts: 6
Post 
All right, I managed to make this little movie of Chrono Trigger:

http: //users.skynet.be/KDP/Pieter/CT_test.rar (EDIT: movie deleted out of space shortage)

But, it sometimes seems to stutter, can anyone help me how to clear that ?

And how can you dump the movie in higher resolution? (since I'm quitte scared of messing up the cfg-file)


Last edited by Notiz Me on Fri Jun 16, 2006 8:01 am, edited 4 times in total.



Wed Jun 14, 2006 4:11 pm
Profile
Seen it all
User avatar

Joined: Mon Jan 03, 2005 5:04 pm
Posts: 2302
Location: Germany
Post 
Notiz Me wrote:
And how can you dump the movie in higher resolution? (since I'm quitte scared of messing up the cfg-file)

You can't, afaik. Use tools like VirtualDub to edit the AVI.

_________________
vSNES | Delphi 10 BPLs
bsnes launcher with recent files list


Thu Jun 15, 2006 5:28 pm
Profile WWW
New Member

Joined: Wed Jun 14, 2006 3:43 pm
Posts: 6
Post 
So how about the stuttering ?


Thu Jun 15, 2006 6:20 pm
Profile
ZSNES Developer
ZSNES Developer

Joined: Tue Dec 28, 2004 6:47 am
Posts: 6747
Post 
Use some of the earlier WIPs perhaps? It is supposedly fixed in SVN.

_________________
Continuing FF4 Research...


Thu Jun 15, 2006 6:46 pm
Profile
New Member

Joined: Wed Jun 14, 2006 3:43 pm
Posts: 6
Post 
Deathlike2 wrote:
Use some of the earlier WIPs perhaps? It is supposedly fixed in SVN.


I used the one posted by Nach, on page 8, I thought that was the latest ...


Thu Jun 15, 2006 7:23 pm
Profile
Hero of Time
User avatar

Joined: Fri Jul 30, 2004 2:49 am
Posts: 2646
Location: In front of the monitor
Post 
Notiz Me wrote:
Deathlike2 wrote:
Use some of the earlier WIPs perhaps? It is supposedly fixed in SVN.


I used the one posted by Nach, on page 8, I thought that was the latest ...

The latest WIPs are here.

_________________
Try out CCleaner and other free software at Piriform
Image


Thu Jun 15, 2006 9:11 pm
Profile WWW
ZSNES Developer
ZSNES Developer
User avatar

Joined: Tue Jul 27, 2004 10:54 pm
Posts: 3902
Location: Solar powered park bench
Post 
All the movie dumping is now in the main tree, so get it from ipher's WIPs, or zget.

BTW if you want to dump with larger video output, mencoder supports scaling, and even 2xsai, but I forget the parameters at the moment, but they're in the mencoder manual.

I could look it up later and tell you how to edit the movie config file appropriately.

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


Thu Jun 15, 2006 10:10 pm
Profile WWW
New Member

Joined: Wed Jun 14, 2006 3:43 pm
Posts: 6
Post 
So I can't just use the resolution I'm playing in, I thought mencoder was downscaling now and that I maybe somehow could prevent it from downscaling ...


Thu Jun 15, 2006 10:15 pm
Profile
ZSNES Developer
ZSNES Developer
User avatar

Joined: Tue Jul 27, 2004 10:54 pm
Posts: 3902
Location: Solar powered park bench
Post 
The movies are passed to mencoder in SNES resolution. There is no downscaling. But you can have mencoder upscale the video.

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


Thu Jun 15, 2006 10:36 pm
Profile WWW
New Member

Joined: Wed Jun 14, 2006 3:43 pm
Posts: 6
Post 
alright, I tried it, but mencoder just closed right away, and nothing was recorded. My idea was to try and add

-vf scale=w=1024:h=896,2xsai

in the md_other variable in zmovie.cfg

I hoped it would than scale up four times and filter it with 2xsai, but instead it did nothing 8)

So where should I insert these paramaters into the cfg-file


Thu Jun 15, 2006 11:08 pm
Profile
ZSNES Developer
ZSNES Developer
User avatar

Joined: Tue Jul 27, 2004 10:54 pm
Posts: 3902
Location: Solar powered park bench
Post 
I don't know why you picked that. That doesn't make sense.

You want to add "-vf 2xsai,2xsai,scale=1024:896" to md_other.
That'll use 2xsai on the video to make it 512x448, then 2xsai again to make it 1024x896, and the scale option will make it have the correct aspect ratio.

BTW I noticed the latest mplayer/mencoder recently released has it's 2xsai option broken, it seems to double the picture again. So if you're using the latest official release, just drop the 2xsai parts, and only use scale.

Edit:
I played with these large videos BTW, and it seems an x264'd video of this size is bringing my system to a crawl. So I don't recommend going for a 4x video unless you are running on some sort of powerhouse and don't care.

Edit:
Here's a short huge video I made: http://nsrt.edgeemu.com/4xvid.rar
Let me know if it plays back nicely for you. Because it seems to crush my machine.

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


Fri Jun 16, 2006 12:05 am
Profile WWW
Rookie

Joined: Wed Dec 21, 2005 3:54 am
Posts: 14
Post 
Nach wrote:
Edit:
Here's a short huge video I made: http://nsrt.edgeemu.com/4xvid.rar
Let me know if it plays back nicely for you. Because it seems to crush my machine.

Certainly doesn't crush my machine, but the audio is ridiculously off sync (probably a full second).


Fri Jun 16, 2006 7:42 am
Profile
New Member

Joined: Wed Jun 14, 2006 3:43 pm
Posts: 6
Post 
This is cool.

I was able to play your movie without a problem :P

And what's even more, the 2xSai worked and all. So I can now make high quality movie's from SNES games 8)

A really big thanks.


Fri Jun 16, 2006 7:55 am
Profile
Lurker

Joined: Sat Sep 04, 2004 7:55 pm
Posts: 110
Location: USA
Post 
Question: What exactly is the LAME bug that was mentioned in the very first post? Is the symptom audio that sounds like static? If so, I'm not really sure that it's a LAME bug, since dumping uncompressed audio seems to produce invalid WAV files (WMP complains about a missing "Microsoft PCM Format (1)" codec when trying to play them, but my googling suggests that that is just standard WAV).

I will post a formal bug report on this when I get a chance. To be certain about this, I still need to try using the LAME version that was suggested in the thread.

_________________
This signature intentionally contains no text other than this sentence.


Sat Jul 15, 2006 8:15 pm
Profile
ZSNES Developer
ZSNES Developer
User avatar

Joined: Tue Jul 27, 2004 10:54 pm
Posts: 3902
Location: Solar powered park bench
Post 
Thanks for your incorrect evaluation.

Uncompressed audio doesn't use LAME. If you have bugs with it, it's your system.
The LAME bug is an invalid seek in the code which makes it not record the audio properly. If you're not going to use my LAME, don't use LAME at all.

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


Sat Jul 15, 2006 9:47 pm
Profile WWW
ZSNES Developer
ZSNES Developer
User avatar

Joined: Tue Jul 27, 2004 10:54 pm
Posts: 3902
Location: Solar powered park bench
Post 
This just in. You now have even more power encoding a video via the command line.

Also fixed some bugs with raw video option.

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


Mon Jul 17, 2006 2:16 am
Profile WWW
Rookie

Joined: Thu Jul 13, 2006 2:41 pm
Posts: 35
Post 
ooo, where do I get it?

Ah. I didn't see the SVN post before. >.o


Mon Jul 17, 2006 2:26 pm
Profile
Hazed
User avatar

Joined: Wed Aug 25, 2004 1:25 pm
Posts: 84
Post 
Awesome features.

Does anyone know a free windows program (with a GUI...) for editing of videos, or something that will let you merge an .mp3 file into the videos? I thought you could do this with VirtualDub, but it only lets you use WAV files (unless I'm wrong and there's some obscure feature I missed). I don't really feel like converting my mp3 song to a wav file and then reencoding to mp3, won't that lower the sound quality?


Mon Jul 17, 2006 10:14 pm
Profile
Mugwump
User avatar

Joined: Fri Jul 30, 2004 9:05 pm
Posts: 824
Post 
FistOfFury wrote:
Awesome features.

Does anyone know a free windows program (with a GUI...) for editing of videos, or something that will let you merge an .mp3 file into the videos? I thought you could do this with VirtualDub, but it only lets you use WAV files (unless I'm wrong and there's some obscure feature I missed). I don't really feel like converting my mp3 song to a wav file and then reencoding to mp3, won't that lower the sound quality?


I use Virtualdubmod and mp3 works fine. Just go into the "Stream List" menu and Bob is your uncle.

I dumped a video in the FFV1 format last night and the thing was bloody huge!

Is there any difference in quality between that codec, xvid or x264? They are using lossless settings, right?


Tue Jul 18, 2006 3:27 pm
Profile
Hazed
User avatar

Joined: Wed Aug 25, 2004 1:25 pm
Posts: 84
Post 
Thanks I'll check VDMod out.

Another thing, I think I remember reading in this topic that the newer zsnes versions can play .ZMV files from older versions of zsnes? Is there 100% compatibility? Because I've downloaded ipher's latest version of zsnesw (5/27) and it doesn't play my 1.36 movies correctly. edit: Wait...I think one of the movies is going out of sync even in 1.36...I'm not really sure because it's a really old movie and can't remember all of the action, but it looks wierd...


Tue Jul 18, 2006 5:26 pm
Profile
Hazed

Joined: Sat Jul 22, 2006 8:43 pm
Posts: 55
Location: USA
Post 
***I am the same person as -_pentium5.1_-***
Nach wrote:
Thanks for your incorrect evaluation.

Uncompressed audio doesn't use LAME. If you have bugs with it, it's your system.
The LAME bug is an invalid seek in the code which makes it not record the audio properly. If you're not going to use my LAME, don't use LAME at all.

What?!? I really meant to make clear that I knew uncompressed audio doesn't use LAME. My complaint about broken WAV dumping was a separate bug. My point was that I suspected that ZSNES is outputting an invalid PCM stream* that your version of LAME just happens to process correctly. As I stated, I will investigate this ASAP and post a formal bug report when I get a chance. (*Static normally suggests an endianness problem, but I'm pretty sure that doesn't exist here.) Please be nice and wait for the bug report before complaining. This is part of the reason I have trouble writing sufficiently cogent posts.

_________________
Pocky & Rocky? Pocky & Rocky? Pocky & Rocky?


Sat Jul 22, 2006 9:01 pm
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 ... 9, 10, 11, 12, 13, 14, 15 ... 21  Next

Who is online

Users browsing this forum: No registered users and 3 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.