Post subject: Mencoder Error
Joined: 11/14/2009
Posts: 6
Location: Green Hill Zone
Hi Guys, I record videos using FCEUX and fddshow codecs and I readed all the tutorials, I can record the video without problems and the video can be watched without problems with media player, AVI x264. But when I need to encode the video, the mencoder do nothing o.o it simply close and do nothing, I did everything I readed and nothing happens.... I used the Prompt Dos to see the error and the error is "No File Given Exiting... (error parsing command line)" I want to upload the videos to youtube, I can upload the video with xvid mp4 codec but the youtube change the bitrate and the video become a little laggy, and if I upload x264 just after being recorded from the emulator the youtube blur and simply destroy the video with a lot of errors and weird colors o.Õ So I want to encode to x264 for a cool video. So this is it, hope You guys have a good solution for this problem, Thanks ^^ And sorry for my english, it's not my native language. MOD EDIT: Please don't bold your entire post, thanks.
Banned User, Former player
Joined: 3/10/2004
Posts: 7698
Location: Finland
How exactly are you running mencoder?
Former player
Joined: 12/1/2007
Posts: 425
You didn't run mencoder correctly. I suggest learning how command line applications work.
if I upload x264 just after being recorded from the emulator the youtube blur and simply destroy the video with a lot of errors and weird colors o.Õ
That's because YouTube doesn't support uploading x264 lossless encoded videos.
Joined: 11/14/2009
Posts: 6
Location: Green Hill Zone
OK, now I think I know how to use MEncoder and how command line applications work, I need to create a notepad file, copy and paste a code(the codes that I found in the tutorial), rename the file, change extension to (.bat) and then run it, am I right ? If I'm right, I did the steps and then I runned (crop.bat), OK a new file was created (recorded.avi), I checked the file with the media player and mplayer.exe and the video was very slow, and of course, completely out of sync to the audio. Ok then even with this "issue" I decided to continue, I did make the (subtitle.sub) and (logocombine.bat), then I runned logocombine.bat, a new file was created "mixed.avi" this file has 2.748mb, instead of "capture.avi" 26.291mb and "recorded.avi" 20.946mb, well, I can't play this file with media player, when I play it with mplayer.exe, the video can be played, but it's only the title and the logo, only 3 or 4 seconds. Well, then I copyed and pasted the next tutorial code and runned it, a new file was created, "video-crop.avi", this file can be played with media player and MEplayer, then I copyed and pasted the next code and named it (samples.bat) and runned it, nothing happened, I can see the black screen of the prompt and it get closed before a second, I tried to make (encode.bat) and Runned it, the same thing happened a black prompt screen that got closed before a second pass. So there's nothing more to do, I had to stop there. Hope someone have a solution for that problem, sorry for some english error and thank's for the help ^^
Former player
Joined: 12/1/2007
Posts: 425
OK, now I think I know how to use MEncoder and how command line applications work, I need to create a notepad file, copy and paste a code(the codes that I found in the tutorial), rename the file, change extension to (.bat) and then run it, am I right ?
That's how you make scripts in Windows, yes.
I can see the black screen of the prompt and it get closed before a second, I tried to make (encode.bat) and Runned it, the same thing happened a black prompt screen that got closed before a second pass.
Try to put pause at the end of the script, and if that doesn't help, run cmd, cd to your encoding folder, and run the commands directly from the prompt.
Joined: 11/14/2009
Posts: 6
Location: Green Hill Zone
Johannes wrote:
Try to put pause at the end of the script, and if that doesn't help, run cmd, cd to your encoding folder, and run the commands directly from the prompt.
Well, I tried adding pause at the end of script and nothing happened, and if I try to run the comands directly from cmd a error message appears "The Windows can't find x264, be sure the name was typed correctly and try again", the x264.exe is on the folder that I'm working, kinda weird windows can't find it doesn't ? Also, is it normal when I run the 1st step "crop initial capture" the video get slow and out of sync o.o?
Former player
Joined: 12/1/2007
Posts: 425
cd to your encoding folder
Joined: 11/14/2009
Posts: 6
Location: Green Hill Zone
Well, I think I learned how to use the cd command, you have to type cd and the folder you want, example the main folder is c:\documments and settings\x and I changed to c:\documents and settings\x\desktop\videos am I right ? Is that the way to use cd command ? If it is, then I runned samples.bat and encode.bat and nothing happened ='(, about the error windows can't find x264, it didn't appeared when I did cd command.