[FFmpeg-devel] [PATCH 3/4] ffmpeg: with filter_complex, avoid random in<->out mapping.

Michael Niedermayer michaelni at gmx.at
Thu May 24 01:34:53 CEST 2012


On Thu, May 24, 2012 at 12:46:29AM +0200, Nicolas George wrote:
> With complex filters, an output can come from any input,
> or several inputs, including inputs of a different type.
> Copying the codec parameters from the first input with
> the same type does not make any sense.
>
> This does not change anything for simple 1->1 filters,
> as source_index is set in that case.

maybe, until a more powerfull system exists we could simply select
the input with matching type with the finest timebase ?
(one could also pick the largest timebase that allows all timestamps
 of all inputs with same type to be exactly represented, but iam not
 sure this is better with actual real world data)

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Rewriting code that is poorly written but fully understood is good.
Rewriting code that one doesnt understand is a sign that one is less smart
then the original author, trying to rewrite it will not make it better.
-------------- 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/20120524/a2907d52/attachment.asc>


More information about the ffmpeg-devel mailing list