[FFmpeg-devel] -profile option broken(?)

Michael Niedermayer michaelni at gmx.at
Wed Jul 20 10:56:01 CEST 2011


On Tue, Jul 19, 2011 at 09:49:48AM +0200, Erik Slagter wrote:
> On 19-07-11 00:27, Rodney Baker wrote:
>> On Tue, 19 Jul 2011 02:15:04 Erik Slagter wrote:
>>> There is something very fishy:
>>>
>>> This triggers the error:
>>>
>>> /home/erik/src/ffmpeg/ffmpeg -y -probesize 500000000 -threads 16 -i
>>> 00033.avi -vsync 0 -async 0 -profile high -vcodec libx264 -strict
>>> experimental -acodec aac -ac 2 -ar 48000 -ab 192k -f mpegts 00033_tmp.ts
>>>
>>> when I move -profile high to the start like this:
>>>
>>> /home/erik/src/ffmpeg/ffmpeg -profile high -y -probesize 500000000 -threads
>>> 16 -i 00033.avi -vsync 0 -async 0 -vcodec libx264 -strict experimental
>>> -acodec aac -ac 2 -ar 48000 -ab 192k -f mpegts 00033_tmp.ts
>>>
>>> there is no error.
>>
>> This probably belongs on the ffmpeg-user mailing list,
>
> I agree, but this looks like a bug and I am trying to fix it, or at least
> pinpoint the patch that caused it.
>
>> but have you tried
>> putting -profile after -vcodec libx264? The order of command-line options in
>> ffmpeg is important.
>
> I know I know. The interesting part is
>
> - the command line I'm using used to work a few weeks ago
> - this error message is completely bogus
>
> Also interesting is that git bisect can't locate the offending patch,
> I guess that has something to do with the large imports from "qatar".
>
> Still, my question remains, can anyone try this with a current version
> of ffmpeg (x86_64), so I know if it's something I borked, although I
> have an almost clean tree (a few totally unrelated patches, they've been
> the same for months).

I can confirm the issue.
-vprofile high seems to work.

with -profile, one could argue it affects audio too and i think thats
where it fails.
but i did not investigate this at all ...

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

There seems to be only one solution to NIH syndrom, ... a shooting squad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110720/2b16fcfd/attachment.asc>


More information about the ffmpeg-devel mailing list