Hi,
I was trying to follow 45tripp's guide for good quality videos with Youtube, but I'm having a bit of trouble converting any mpg file to flv.
The program I'm using to create the MPEG in the first place is ProShow Gold. I have no avi export option, and the only good quality one available is MPEG 2.
So I've exported the file with that format, and am trying to encode it to FLV with mencoder, using the following command:
I immediately get a popup error saying: "mencoder.exe has encountered a problem and needs to close. We're sorry for the inconvenience."Code:mencoder vid.mpg -o test5.flv -sws 9 -of lavf -ovc lavc -lavcopts vcodec=flv:vbitrate=600:trell:v4mv:mv0:mbd=2:cbp:aic:cmp=3:subcmp=3 -oac mp3lame -lameopts abr:br=128:mode=3
In case it is of any use, this is how far it gets in the command prompt:
Code:MEncoder dev-SVN-r25279-4.2.2 (C) 2000-2007 MPlayer Team CPU: AMD Athlon(tm) XP 3000+ (Family: 6, Model: 10, Stepping: 0) CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0 Compiled with runtime CPU detection. 117 audio & 238 video codecs success: format: 0 data: 0x0 - 0xb8f2000 MPEG-PS file format detected. VIDEO: MPEG2 448x336 (aspect 2) 29.970 fps 5000.0 kbps (625.0 kbyte/s) [V] filefmt:2 fourcc:0x10000002 size:448x336 fps:29.97 ftime:=0.0334 ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 44100 Hz, 2 ch, s16le, 224.0 kbit/15.87% (ratio: 28000->176400) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== ** MUXER_LAVF ************************************************************* REMEMBER: MEncoder's libavformat muxing is presently broken and can generat INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer will play these INCORRECT files as if nothing were wrong! *************************************************************************** OK, exit Opening video filter: [expand osd=1] Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1 ========================================================================== Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough VDec: vo config request - 448 x 336 (preferred colorspace: Mpeg PES) Could not find matching colorspace - retrying with -vf scale... Opening video filter: [scale] The selected video_out device is incompatible with this codec. Try appending the scale filter to your filter list, e.g. -vf spp,scale instead of -vf spp. VDecoder init failed :( Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2)) ==========================================================================
It works fine for avi files, and I was also able to convert a m1v file to FLV, though of course without sound - it just seems to be stuck on the mpg files.
Granted, I could convert the mpg to avi and then to flv, but converting to avi results in an incredible loss of quality.
I'm using the latest version of mencoder.
I tried this on my laptop, which runs Windows Server 2003, and it runs without a glitch, though the FLV files it creates are all fxxked, regardless of the source.
Also, I'm not sure if this is related, but when I try to mux i.e. an avi or m1v file and any sort of audio file, mencoder crashes again. It's definitely the -audiofile switch, because it crashes whenever I insert that command, regardless of the rest of the command.
Anyway if anyone can help, I'd be grateful, as I've just discovered mencoder yesterday and as they say, once you go black you never go back.
Cheers
=====================
EDIT
This is what I get when doing step one, part two (ffmpeg):
At that point it crashes just like mencoder.Code:FFmpeg version SVN-r11143, Copyright (c) 2000-2007 Fabrice Bellard, et al. configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads -- enable-liba52 --enable-avisynth --enable-libamr-nb --enable-libamr-wb --enable-l ibfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libnut --en able-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --cpu=i686 - -enable-memalign-hack --extra-ldflags=-static libavutil version: 49.5.0 libavcodec version: 51.48.0 libavformat version: 52.1.0 built on Dec 3 2007 17:42:57, gcc: 4.2.2 (mingw32) Input #0, avs, from 'vid.avs': Duration: 00:04:50.6, start: 0.000000, bitrate: 0 kb/s Stream #0.0: Video: rawvideo, yuv420p, 448x336 [PAR 0:1 DAR 0:1], 43352 kb/s , 24.00 tb(r) Stream #0.1: Audio: pcm_s16le, 44100 Hz, stereo, 1411 kb/s Output #0, flv, to 'ricky1.flv': Stream #0.0: Video: flv (hq), yuv420p, 448x336 [PAR 0:1 DAR 0:1], q=2-31, pa ss 1, 600 kb/s, 24.00 tb(c) Stream #0.1: Audio: libmp3lame, 44100 Hz, stereo, 128 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1
+ Reply to Thread
Results 1 to 3 of 3
-
-
Well, I've managed to do the continuation of Step 1 from my laptop for god knows what reason, seeing that my desktop is my station with everything installed on it and my laptop has nothing. Ah well, I'm satisfied with that.
-
nothing wrong with the command.
look to the builds.
Try it with a mencoder build that's compiled for athlon
http://esby.free.fr/CelticDruid/mirror/mplayer/
I've heard of ffmpeg crashing on athlons when trying to encode to mp3...
again try another build, don't use celtic druid's, try this:
http://oss.netfarm.it/mplayer-win32.php
gl
Similar Threads
-
Mencoder // ffmpeg flv file Audio-video sync problem
By krishnareddy in forum ffmpegX general discussionReplies: 5Last Post: 26th Apr 2009, 09:13 -
[mencoder] to flv seek problem
By Jeje in forum Newbie / General discussionsReplies: 3Last Post: 21st Jul 2008, 01:38 -
Problem with artifacts in flv conversion - i.e. converting to flv from avi
By brassplyer in forum Video Streaming DownloadingReplies: 9Last Post: 30th Apr 2008, 22:09 -
Mux a FLV AVI + MP3 -> FLV with ffmpeg or mencoder?
By Colmino in forum Video ConversionReplies: 9Last Post: 29th Mar 2008, 22:11 -
Mencoder converting Anything to FLV.
By Caliber Mengsk in forum Video ConversionReplies: 3Last Post: 13th Jul 2007, 17:30