Post subject: Encoding problems
Joined: 1/3/2006
Posts: 334
Hi, im new to this whole encoding stuff, but I want to get my hands on it. I followed the guides and the articles (specially this one: http://tasvideos.org/EmulatorResources/MakingAVI/Common/Windows.html) and I seem to have two problem: First, when it comes to large files mplayer just quits in the middle of dumping that wav file. No given time, I dont know why and cant predict when its gonna happen, but it happens every time I try it with large files. Second: I cant encode the videos using x264. Encoding the samples for the diffrent bitrates is just fine, but if I try to encode my mixed.avi it just quits. Since the dos prompt just quits afterwards, I cannot read if its produces an error message. Also it just dumps a 0 byte encoded.mp4 file. I've had some problems before, using the recommended scripts shown in the article. For example, I was only able to encode the samples when I removed --progress and --no-psnr from the commandlines, since the help stated that they are always switched on, or off in this case. So is there anybody who could help me?
Senior Moderator
Joined: 8/4/2005
Posts: 5772
Location: Away
If you open MEncoder/x264 from command prompt (Win+R, "cmd") it won't close automatically. That will at least help diagnose the problem.
Warp wrote:
Edit: I think I understand now: It's my avatar, isn't it? It makes me look angry.
Joined: 1/3/2006
Posts: 334
Thank you very much, now I've got an error code (at least for the x264 problem, still no clue with that mplayer thing) this is what it says: dshow [error]: failed to render mixed.avi error code = 4 x264 [error]: could not open input file 'mixed.avi' (checked the filenames, they are alright. Also all files are in the same directory)
Former player
Joined: 12/5/2007
Posts: 716
Can you play the avi in a media player? Looks like dshow (a part of windows) is having problems with it.
Joined: 1/3/2006
Posts: 334
Ok, I was sure that everything just worked fine but now I cant open the video files (captured one and logo/subtitled one). I dont know why, mpc and vlc just crash if I try to open them
Senior Moderator
Joined: 8/4/2005
Posts: 5772
Location: Away
What does VirtualDub say about them? It's often more robust when it comes to AVIs.
Warp wrote:
Edit: I think I understand now: It's my avatar, isn't it? It makes me look angry.
Joined: 1/3/2006
Posts: 334
[!] AVI: Index not found or damaged -- reconstructing via file scan. [!] AVI: Keyframe flag reconstruction was not specified in open options and the video stream is not a known keyframe-only type. Seeking in the video stream may be extremely slow. thats what it says about the mixed.avi. plays it fine, skipping doenst work though. And its not complete, it aborts just at the time when mplayer would stop dumping the wav (10:xx minutes into the video, which should be about 36 minutes long, as I remember the play lenght of the emulatormovie and the information windows tells me about this video file) and this is the error message I get when I try to open recorded.avi [!] AVI: Index not found or damaged -- reconstructing via file scan. [!] AVI: Invalid chunk detected at 2513150118. Enabling aggressive recovery mode. [!] AVI: Keyframe flag reconstruction was not specified in open options and the video stream is not a known keyframe-only type. Seeking in the video stream may be extremely slow. This time the whole video is opened, all 36 minutes
Joined: 11/11/2006
Posts: 1235
Location: United Kingdom
1. How big (filesize) was the initial capture? 2. What version of mplayer are you using?
<adelikat> I am annoyed at my irc statements ending up in forums & sigs
Joined: 1/3/2006
Posts: 334
1. 2.33 gb (2513150464 bytes) 2. the 16.08.2009 build from the site, recommended in the article (too drunk atm to quote)
Joined: 11/11/2006
Posts: 1235
Location: United Kingdom
have you tried it with a capture smaller than 2gb? what emulator are you using that's produced a file bigger than 2gb?
<adelikat> I am annoyed at my irc statements ending up in forums & sigs
Joined: 1/3/2006
Posts: 334
mupen 64 - captured Mr. Grunz current Majoras Mask wip http://tasvideos.org/forum/viewtopic.php?t=267&start=2132 I tried it already with smaller movies, for example I tried encoding the last Rockman 2 TAS. Everything was just fine, till I merged subs into the movie. My mixed.avi was like 1,5 gb or something, dont remember exactly. I wasnt able to encode the mixed.avi, but the raw captured movie just worked fine...
Joined: 1/3/2006
Posts: 334
Ok, I just tested the whole process with an 6 seconds recording test, and everything works fine. It seems the filesizes are too much to handle for x264. Anybody knows why this could be?
Joined: 11/11/2006
Posts: 1235
Location: United Kingdom
have you tried downloading the latest version of it?
<adelikat> I am annoyed at my irc statements ending up in forums & sigs
Joined: 1/3/2006
Posts: 334
I downloaded the version from this page http://forum.doom9.org/showthread.php?t=141441
Joined: 11/11/2006
Posts: 1235
Location: United Kingdom
Using Vista?
<adelikat> I am annoyed at my irc statements ending up in forums & sigs
Joined: 1/3/2006
Posts: 334
No, Windows XP Pro SP2, Intel Core2Duo T7500@2,2GHZ, 2GB RAM
Joined: 11/11/2006
Posts: 1235
Location: United Kingdom
Did you download that version of x264 recently? do you have a recent build of mencoder?
<adelikat> I am annoyed at my irc statements ending up in forums & sigs
Joined: 1/3/2006
Posts: 334
Yeah, downloaded it recently. Now tried the most recent build of mencoder linked to in the Encoding HowTo