I do use mencoder allot but some times I want to use ffmpeg.
and I did download the latest from Zeranoe.
libxvid does not work anymore.
-vcodec libxvid but it say unknown decoder.
how to use xvid.
how to enable libxvid.
I also have -b for bitrate but it say please use -b:a or -b:v
what do they mean.
can anyone help me please
+ Reply to Thread
Results 1 to 24 of 24
-
-
-
this line is with.
EV libxvid libxvidcore MPEG-4 part 2
so how can i solve the problem.
the line say EV that say Encoder and video codec.
Codecs:
D..... = Decoding supported
.E.... = Encoding supported
..V... = Video codec
..A... = Audio codec
..S... = Subtitle codec
...S.. = Supports draw_horiz_band
....D. = Supports direct rendering method 1
.....T = Supports weird frame truncation
------ -
This command is used to set the encoding codec.
but it say unknown decoder.
To get more help you need to post all the ffmpeg parameters you're using, and also the actual error message that it's returning.
I also have -b for bitrate but it say please use -b:a or -b:v
For example -vb 2000k -ab 192k -
This is the ffmpeg line
ffmpeg.exe -b 2000k -vcodec libxvid -acodec ac3 -ab 448k -ac 6 -y -vf scale=720:400 -i input.mkv "output.avi"
it maybe should look like this for the bitrate and now how to get libxvid to work.
ffmpeg.exe -vb 2000k -vcodec libxvid -acodec ac3 -ab 448k -ac 6 -y -vf scale=720:400 -i input.mkv "output.avi" -
The command position has become more critical in recent FFmpeg versions.
You have -vcodec before the input. Try it this way...
ffmpeg.exe -i input.mkv -vb 2000k -vcodec libxvid -acodec ac3 -ab 448k -ac 6 -y -vf scale=720:400 "output.avi"
You can also try to use -codec:v which is the new syntax where v stands for video, so -codec:a is for audio. -
thanks will try that.
That could explain thing that it should be in the right order.
Chris should it be like this.
-codec:v 2000 or -codecc:v=2000 -
-codec:v libxvid and -b:v 2000k for video.
-codec:a ac3 and -b:a 448k for audio.
You can even use -c:v libxvid and -c:a ac3 but I prefer to use -codec for clarity. -
http://ffmpeg.mplayerhq.hu/ffmpeg.html#Video-Options
It says...
-vcodec codec (output)
Set the video codec. This is an alias for -codec:v. -
Thanks for that.
I spent some time with Google, but it was persistent in ignoring my search string and returning unrelated pages.
It's getting particularly bad at searching for strings with unusual symbols, snippets of code, etc. Quoting doesn't help at all. It's a shame there isn't a 'search for exactly what I've enter' option. -
-
I also tried explicitly adding a '+', but it didn't help much:
ffmpeg +"-codec:v"
The search string above brings up the ffmpeg docs as the first hit. Looking at the cached page (which has search terms highlighted) shows this:
"codec v" isn't what I searched for. Stranger still, the only bit of text on that page highlighted in blue is...
Altavista does a better job of finding relevant pages in this instance. -
Xvid is very poorly supported in FFmpeg. I tried -mpeg_quant 1 but MediaInfo still says matrix: default. It's also FFmpeg that decides which profile to use depending on certain other settings. I tried -mpeg_quant 1 -profile x and with any number I use it switches over from Simple@L3 to Streaming Video@L1. No idea what's happening and how to use it.
You can however use the -intra_matrix and -inter_matrix commands to set a custom matrix. -
this has been very helpful for me so I thank for that.
Now I have two more questions.
1. if I want to have a silent video convert it with no audio how do I do that
if I do it without any audio codec I tells some error
ffmpeg.exe -i "Myinputfile.mp4" -b:v 2000k -codec:v libxvid -aspect 9:5 -y -vf scale=720:400 -vtag XVID "myoutputfile.avi"
and second how can I use an external soundfile.
if I have an mp3 or ac3 file on the hdd and want it to be added with no reencoding to the output file.
like a command -externalaudiofile path\myaudiofile.ac3 -
ok thanks.
its for some home recorded And I donīt want the original sound that was not good some people talking.
then I want to use and external sound with some music. you maybe know how to do that. -
Hi
Use your command with "-an" to create the new file without audio (myoutputfile.avi).
Then find a music file, a few seconds longer than the video file (soundtrack.mp3).
Then mux the two like this:-
Code:ffmpeg -i myoutputfile.avi -i soundtrack.mp3 -c copy -shortest mynewoutputfile.avi
Last edited by bat999; 4th Dec 2011 at 18:39.
Similar Threads
-
MenCoder Command lines
By PsyDonias in forum Video ConversionReplies: 22Last Post: 19th Apr 2013, 07:59 -
FFmpeg Command Lines for Converting Video to Various Devices??
By raymng in forum Video ConversionReplies: 3Last Post: 27th Feb 2012, 00:23 -
Paid Job - Convert Preset Files to FFmpeg Command Lines
By raymng in forum ProgrammingReplies: 0Last Post: 19th Feb 2012, 03:01 -
Help with FFMPEG command lines
By ricardouk in forum Video ConversionReplies: 11Last Post: 17th May 2008, 12:27 -
Get corresponding ffmpeg command after using ffmpegX
By npw in forum ffmpegX general discussionReplies: 2Last Post: 23rd Apr 2008, 01:29