Shamim1977 / winff

Automatically exported from code.google.com/p/winff
0 stars 0 forks source link

Some syntax changes to FFmpeg (Advisory). #152

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

Hi
There have been some changes to FFmpeg syntax.
They were introduced with FFmpeg "version 0.9".

For WinFF 4 preset changes will be needed (so far FFmpeg shows yellow advisory 
errors).
These changes are:-
Instead of -acodec use -c:a
Instead of -vcodec use -c:v
Instead of -b use -b:v
Instead of -ab use -b:a

I've applied these changes to the WinFF "Presets for libavcodec53 v3" file.
Modified file is attached.
Best wishes.

*******************************************
This is from the version 0.9 changelog:-

* There is a new option -c (or -codec) for choosing the decoder/encoder to
  97       use, which allows to precisely specify target stream(s) consistently with
  98       other options. E.g. -c:v lib264 sets the codec for all video streams, -c:a:0
  99       libvorbis sets the codec for the first audio stream and -c copy copies all
 100       the streams without reencoding. Old -vcodec/-acodec/-scodec options are now
 101       aliases to -c:v/a/s
 102     * It is now possible to precisely specify which stream should an AVOption
 103       apply to. E.g. -b:v:0 2M sets the bitrate for the first video stream, while
 104       -b:a 128k sets the bitrate for all audio streams. Note that the old -ab 128k
 105       syntax is deprecated and will stop working soon.
*******************************************

Original issue reported on code.google.com by batguano...@gmail.com on 22 Feb 2012 at 12:46

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for sharing this information. I will include it in the next update of 
the presets.

Original comment by poipodec...@hotmail.com on 1 Mar 2012 at 10:04

GoogleCodeExporter commented 9 years ago

Original comment by poipodec...@hotmail.com on 1 Mar 2012 at 10:04

GoogleCodeExporter commented 9 years ago
Hi
I've had some second thoughts about the presets with changed syntax.
For Windows users they will be OK because a recent version of FFmpeg will be 
included.
Linux users though might well have older (pre 0.9) versions of FFmpeg installed 
so they would need to download 'old' presets from the WinFF download page.

Original comment by batguano...@gmail.com on 4 Mar 2012 at 9:34

GoogleCodeExporter commented 9 years ago
We included all these changes in the latest version of winff.

Might have caused issue 166.

Original comment by poipodec...@hotmail.com on 8 Jul 2012 at 5:37