[FFmpeg-user] FFMPEG Update

Lou lou at fakeoutdoorsman.com
Fri Apr 22 06:47:11 CEST 2011


On Tue, 19 Apr 2011 19:31:08 +0800
Antony Acosta <acgacosta at gmail.com> wrote:

> This are basically the codes that will be most affected if ever we
> update the FFmpeg version to its latest:

As with any update there is a chance that your command could become
outdated.

>    - ffmpeg -i input.flv -ss 00:00:01 -s 640x380 output.jpg
>    - ffmpeg -i input.flv -ar 44100 -f flv -b 1000kb output.flv

Both of these commands should still work although flv (the encoder)
won't give as good results as libx264 for flv (the container) output.

> Will the update affected those codes somehow? Because I also tried
> other stuffs like converting to mp4 videos such as:
> 
> 
>    - ffmpeg -i input.flv input -acodec aac -ab 128kb -vcodec mpeg4 -b
> 1200kb -mbd 2 -flags +4mv+trell -aic 2 -cmp 2 -subcmp 2 -s 320x180
> -title X output.mp4

Many of your options are outdated, but if you wanted to use this
particular command an updated version would be something like:

ffmpeg -i input.flv -acodec aac -strict experimental -ab 128k -vcodec
mpeg4 -b 1200k -mbd 2 -flags +mv4+aic -trellis 2 -cmp 2 -subcmp 2 -s
320x180 -metadata title="X" output.mp4

"ffmpeg -h" will give you a massive list of the option names.

>    - ffmpeg -y -i input.flv -b 768 -s 320x240 -vcodec xvid -ab 128
> -acodec aac -ac 2 -ab 64 -f mp4 output.mp4

ffmpeg -i input.flv -b 768k -s 320x240 -vcodec libxvid -ab 128k -acodec
aac -strict experimental -ac 2 -ab 64k output.mp4

Alternatively you could replace "-acodec aac -strict experimental" with:
* "-acodec libfaac" or...
* "-acodec libvo_aacenc" if you compile FFmpeg to support these
  third-party libraries

> However this didn't work. I'm guessing I would need codecs installed
> to have this working and to update my FFmpeg to it's latest version?

Error messages are always more useful than, "this didn't work".

> Antony
> [Programmer, Allied Web Design]
> 
> ♠[C][G]♠ "THere is no cHaLLenge THaT can'T Be FinisHeD!"  ̿
> ̿'̿'\̵͇̿̿\з=(•̪●)=ε/̵͇̿̿/'̿'̿ ̿
> 
> 
> On Tue, Apr 19, 2011 at 7:21 PM, Reindl Harald
> <h.reindl at thelounge.net>wrote:
> 
> >
> > Am 19.04.2011 12:50, schrieb Antony Acosta:
> > > I am currently using FFmpeg version SVN-r20220
> >
> > sounds quite old but i do not know every svn-release by it's
> > name :-) why do you not post from begin the first output of
> > "ffmpeg" so that anybody has useful informations?
> >
> > [harry at nb-rhsoft:~]$ ffmpeg
> > FFmpeg version git-N-28742-g1caa412, Copyright (c) 2000-2011 the
> > FFmpeg developers
> > built on Apr 13 2011 13:00:04 with gcc 4.5.1 20100924 (Red Hat
> > 4.5.1-4)


More information about the ffmpeg-user mailing list