+ Reply to Thread
Results 1 to 20 of 47
Mencoder Video Converter Info
This is a discussion on Mencoder Video Converter Info within the Video and Imaging forums, part of the miniPlayer M6 / SL category; Mecoder is part of the Mplayer family and is the core of video converter software (iriverter, Winmemc, Meizu Video Converter,super,BADAK,etc) ...
-
11-23-2006 #1Valued Member
- Join Date
- Nov 2006
- Location
- Brisbane, Australia
- Posts
- 200
- Thanks
- 0
Thanked 0 Times in 0 PostsMencoder Video Converter Info
Mecoder is part of the Mplayer family and is the core of video converter software (iriverter, Winmemc, Meizu Video Converter,super,BADAK,etc)
Mencoder documentation
http://www.mplayerhq.hu/DOCS/HTML/en/index.html
Mencoder documentation single file
http://www.mplayerhq.hu/DOCS/HTML-si...n/MPlayer.html
List of all available command options
http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html
To see list of available options
mencoder -[opt] help
Video Filter options (example)
mencoder -vf help
-
11-23-2006 #2
great info, thanks for the post.
-
11-29-2006 #3Freshman
- Join Date
- Nov 2006
- Posts
- 25
- Thanks
- 0
Thanked 0 Times in 0 Postssomeone posted this before the server crashed, so I'll post it again because it works fine for me:
Just install memcoder and post this into your terminal:
MOVIENAME.avi -idx -noodml -ofps 20 -vf scale=320:-2,expand=:240:::1,crop=320:240,rotate=1 -ovc lavc -ffourcc XVID -lavcopts vcodec=mpeg4:vbitrate=384:vmax_b_frames=0:vhq -sws 9 -srate 44100 -oac mp3lame -lameopts cbr:br=128:mode=0 -o CONVERTED_MOVIENAME.avi
Reduce the bitrate if you're having problems with audio being not in sync.
-
12-21-2006 #4quatrecouleursGuest
... trying to coming out with meizu videos under linux
... Not working

I typed :
mencoder /media/mymoviefolder/mymoviename.avi -idx -noodml -ofps 20 -vf scale=320:-2,expand=:240:::1,crop=320:240,rotate=1 -ovc lavc -ffourcc XVID -lavcopts vcodec=mpeg4:vbitrate=384:vmax_b_frames=0:vhq -sws 9 -srate 44100 -oac mp3lame -lameopts cbr:br=128:mode=0 -o /media/mymovieoutput/mymovieoutputname.avi
And the only thing I have is an arrow > not anything more ?
The input file was a divx.
Can I use Transcode ? Do anybody know the commands to use ? If not, I will try to look for it myself
but it might take several time :D
-
12-21-2006 #5quatrecouleursGuest
... Some frontend ?
I looked for a good frontend for mencoder under ubuntu (edgy)... Acidrip seem useful but has not all the options that I need...
Any ideas ?
-
12-21-2006 #6quatrecouleursGuest
continued
Here did I found an answer to try
mencoder /media/wheremyfileis.avi -quiet -vc ffmpeg12 -ofps 20 -vf scale=320:240:0:0:0.00:0.75,expand=320:240,rotate= 1 -ovc xvid -xvidencopts profile=dxnhtntsc:cartoon:zones=0,w,1.0:bitrate=38 4:pass=1 -oac mp3lame -lameopts cbr:br=128 -info name=Film_Name -o /media/wheremyoutputwillbe.avichernomyrdin
12-01-2006, 09:32 PM
Anybody using mencoder (under linux for example) for convert video source to format for miniplayer ?
After dome try I found correct command line full equal Virtual-Dub action:
It works, but I obtain :
Forced video codec: ffmpeg12
Cannot find codec matching selected -vo and video format 0x44495658.
Read DOCS/HTML/en/codecs.html!
... So will I :)Last edited by quatrecouleurs; 12-21-2006 at 01:45 PM.
-
01-05-2007 #7Passing By
- Join Date
- Dec 2006
- Location
- US
- Posts
- 16
- Thanks
- 0
Thanked 0 Times in 0 Posts
-
01-15-2007 #8Freshman
- Join Date
- Dec 2006
- Posts
- 34
- Thanks
- 0
Thanked 0 Times in 0 PostsFor video this works beautifully but the sound has a terrible warbling fault (that is not present on the source avi). The problem is not a miniplayer one as the output avi has the same warbling when watches using several different players, thus it must be a mencoder conversion issue. Does anyone have any suggestions?
TIA
F
( PS running mencoder on SuSE 10 )Last edited by scaglifr; 01-15-2007 at 04:02 PM.
-
01-20-2007 #9Passing By
- Join Date
- Nov 2006
- Location
- Sweden
- Posts
- 17
- Thanks
- 0
Thanked 0 Times in 0 PostsTo (crop) get rid of black bars in widescreen movies:
x = 240 * movie aspect ratio
-vf scale=x:240,expand=:240:::1,crop=320:240,rotate=1
example:
movie aspect ratio is 16/9 = 1.777777778
240 * 1.777777778 = ~427 (must be integer)
mencoder options:
-vf scale=427:240,expand=:240:::1,crop=320:240,rotate= 1
-
01-22-2007 #10
try some more audio options...
In the Audio Output Codec (-aoc) options I use this and the audio works great!
-oac mp3lame -lameopts cbr:mode=2:br=96 -af resample=44100 -srate 44100
I think you should give a try to the resample/samplerate values...
Also try to decrease video and audio bitrates: if the video bytestream is too demanding the player could render bad video or bad audio (or not render anything at all!) .
Hope this helps!
-
01-26-2007 #11quatrecouleursGuest
Works !
Hello
I just answer to myself in posting a command line able to work under my Ubuntu linux :
So this one works fine for me, but I will try the options you are talking about too, to improve the files mencoder createsCode:mencoder /home/myfolder/meizu/inputfile.avi -idx -noodml -ofps 20 -vf scale=320:-2,expand=:240:::1,crop=320:240,rotate=1 -ovc lavc -ffourcc XVID -lavcopts vcodec=mpeg4:vbitrate=384:vmax_b_frames=0:vhq -sws 9 -srate 44100 -oac mp3lame -lameopts cbr:br=128:mode=0 -o /home/myfolder/meizu/outputfile.avi

I wish I could use avidemux, but I can't choose to best options to use... It's too bad, because this soft is a very good one to work with movies, for instance homemade movie of my family
If somebody can help me with it
My post in french
Just to say, I mean that meizu should use the fact they are open source-friendly a bit more... It could be very helpful for selling players in foreign countries !
-
01-26-2007 #12Freshman
- Join Date
- Dec 2006
- Posts
- 34
- Thanks
- 0
Thanked 0 Times in 0 PostsI can get decent video using avidemux2 on SuSE linux the the sound-track becomes "warbled" which I cannot explain. Any help re using open source stuff much appreciated. A direct rip and encoode via dvd::rip would be great (worked a treat on a whole range of movies for my son's cowon A3).
-
01-27-2007 #13Passing By
- Join Date
- Dec 2006
- Posts
- 7
- Thanks
- 0
Thanked 0 Times in 0 PostsI've got huge problems to encode avi files and add subtitles with mencoder.
You guys using mencoder, did you succeed in doing this properly ?
-
01-29-2007 #14
I suggest you use Avidemux 2 to do all the difficult stuff (such adding subtitles) and produce one avi file. Then give it the final run with Mencoder...
With Avidemux it's also super-easy to set in and out-points for ripping, so you can rip just a couple of minutes of an entire DVD to check everything is doing fine...
http://fixounet.free.fr/avidemux/
-
03-20-2007 #15Member
- Join Date
- Mar 2007
- Posts
- 108
- Thanks
- 0
Thanked 0 Times in 0 PostsLinux script for mencoder.
In the thread above I am working on making it easier to convert using mencoder in linux.
So far i have default options and cropbar, thanks to spuck for that info.
Any feedback is welcomed.
I am looking for the perfect settings. The settings shown here have given me sync issues.
-
04-30-2007 #16Member
- Join Date
- Dec 2006
- Posts
- 129
- Thanks
- 0
Thanked 0 Times in 0 Posts
-
05-17-2007 #17Passing By
- Join Date
- May 2007
- Posts
- 2
- Thanks
- 0
Thanked 0 Times in 0 PostsThe firs option, you gave, works great but only on shotr film. When i tryed to convert a 45 minute long doctor who, i can't whatch it on my miniplayer. I only add option -delay -0.25 i order to improve the synchro. I tryed all another options only on long movie, but noone works.
PS. I sorry, but i lern english, and i might have some problems...
-
06-24-2007 #18Member
- Join Date
- May 2007
- Location
- The Netherlands
- Posts
- 220
- Thanks
- 0
Thanked 0 Times in 0 PostsI have a very irritating sound problem with video.
I converted a music-video using the following command:
The audio had strange contained strange noises after converting using this command. To fix this, I expermented a bit and fixed the strange noises by seperately encoding the audio and finally converting the video using the following command:Code:mencoder dvd:// -dvd-device /media/Rammstein/ -chapter 1 -ofps 18 -idx -noodml -vf scale=320:-2,expand=:240:::1,crop=320:240,rotate=1 -ovc xvid -xvidencopts bitrate=378:max_bframes=0:chroma_opt:lumi_mask:vhq=4 -sws 9 -srate 48000 -oac mp3lame -lameopts cbr:br=160:mode=0 -o Reise,\ Reise\ Nimes\ France-meizu.avi
Now the audio is perfect, clean and without noises. Only, the Audio/Video Sync suddenly became terrible using this method.Code:mencoder dvd:// -dvd-device /media/Rammstein/ -chapter 1 -audiofile Nimes.mp3 -ofps 18 -idx -noodml -vf scale=320:-2,expand=:240:::1,crop=320:240,rotate=1 -ovc xvid -xvidencopts bitrate=378:max_bframes=0:chroma_opt:lumi_mask:vhq=4 -sws 9 -oac copy -o Reise,\ Reise\ Nimes\ France-meizu.avi
Does anyone know how to fix the audio/video sync? (Other than guessing some kind of delay, I don't seem to be very good at that :P ) Or is there a way to get clean audio using mencoder itself? Does using libavcodec for encoding MP3 in mencoder help?
-
07-14-2007 #19
Hi mfb, I think I know what the problem is. I have sent you some information about my tests via private message.
To sum it up, I think that the problem here is not the audio itself, it's the quantization of the xvid codec. There is no practical way to limit the videobitrate (by means of cutting off at a given number) other than to use the "profile" option, which is not applicable for the Meizu since the dimensions don't fit to the standard profiles.
Now then, with your above settings, you tell xvid to use 378 kbit as an average bitrate, and this can (and will) produce bitrate peaks of over 500 kbit which are causing the problem for the Meizu chip.
The same settings as above with only 300 kbit wouldn't cause the problem (or at least much less of a problem after what I tested).
It would be great if anyone would find out a way to cap the bitrate with xvid at a certain value (though I doubt it will happen since I have read the opposite on the web !)
With libavc this does not happen at all since it can be limited at the value of your choice. Then again, xvid is a little bit better than libavc when it comes to quality (but much slower).BatMan, the free video converter for Meizu players. Problems ? English First Aid here. Deutsche Erste Hilfe hier.
Join the Meizume Chatroom at irc://irc.moofspeak.net/meizume ! Firefox Users : get the Chatzilla Plugin. Other Browsers : use this web client.
-
08-05-2007 #20Member
- Join Date
- May 2007
- Location
- The Netherlands
- Posts
- 220
- Thanks
- 0
Thanked 0 Times in 0 PostsHey BobbyQ. There's some truth to that, see PM . The problem I have is of a different kind, LAME through mencoder produces a lot more audio artifacts than mere LAME. This annoyed me in music videos, while it didn't bother me with TV series and such. Mencoder can't correctly parse and external audio file, causing a/v sync issues. I now use libavcodec for MP3 compression for music videos, which does the trick.
Similar Threads
-
MZ Video Converter
By Err0r in forum Video and ImagingReplies: 20Last Post: 07-01-2010, 03:30 PM -
Loli Video Converter for M6
By Lolita in forum Video and ImagingReplies: 127Last Post: 12-25-2009, 01:23 AM -
Meizu converter and vob files
By scaglifr in forum Video and ImagingReplies: 0Last Post: 01-25-2007, 10:02 AM



Reply With Quote
