[Ffmpeg-devel] [PATCH] Specify file format in vhook watermark

Baptiste Coudurier baptiste.coudurier
Mon Dec 4 11:06:38 CET 2006

V?ctor Paesa wrote:
> Hi,
>> Hi
>> V?ctor Paesa wrote:
>>> Hi,
>>> There has been some reports about images wrongly identified as MP3
>>> by file probing in vhook watermark.
>>> To deal with that, the attached patch allows to specify explicitely
>>> the file format as part of the vhook watermark invocation.
>> Maybe something like attached patch is good too. It would be usefull for
>> filenames not containing a number pattern also. Is MAX/2 all right ?
> If I use your patch alone, the container and vcodec are identified
> correctly in watermark, but the pix_fmt is still the default yuv420p:

Humm, lavf should decode first frame and then decoder will set pix_fmt
accordingly. If not, something is not called properly.

Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312

More information about the ffmpeg-devel mailing list