[FFmpeg-devel] [PATCH] doc/filters: add actually working example for tile

Nicolas George nicolas.george at normalesup.org
Sat Apr 13 20:32:00 CEST 2013


Le tridi 23 germinal, an CCXXI, Paul B Mahol a écrit :
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
>  doc/filters.texi | 7 ++-----
>  1 file changed, 2 insertions(+), 5 deletions(-)
> 
> diff --git a/doc/filters.texi b/doc/filters.texi
> index a10d2fc..5c78128 100644
> --- a/doc/filters.texi
> +++ b/doc/filters.texi
> @@ -5446,13 +5446,10 @@ refer to the pad video filter.
>  
>  @itemize
>  @item
> -Produce 8x8 PNG tiles of all keyframes (@option{-skip_frame nokey}) in a movie:
> +Produce 8x8 PNG tiles of all keyframes in a movie:
>  @example
> -ffmpeg -skip_frame nokey -i file.avi -vf 'scale=128:72,tile=8x8' -an -vsync 0 keyframes%03d.png
> +ffmpeg -i file.avi -vf select='eq(pict_type\,I)','scale=128:72,tile=8x8' keyframes%03d.png
>  @end example
> -The @option{-vsync 0} is necessary to prevent @command{ffmpeg} from
> -duplicating each output frame to accomodate the originally detected frame
> -rate.

Apparently, -skip_frame nokey is broken for H.264 decoding. Hopefully, it
can be fixed.

Regards,

-- 
  Nicolas George
-------------- 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/20130413/e050b215/attachment.asc>


More information about the ffmpeg-devel mailing list