[FFmpeg-devel] [PATCH] img2dec: Add ts_from_file option

Michael Niedermayer michaelni at gmx.at
Sat May 25 16:05:15 CEST 2013


On Fri, May 24, 2013 at 04:50:36PM +0300, Andrey Utkin wrote:
> This newly added option makes user able to make timelapse videos from images taken at varying rate.
> Usage example:
> ffmpeg -f image2 -ts_from_file 1 -pattern_type glob -i '*.jpg' -vf "settb=1/1000,setpts=(PTS-STARTPTS)/$SPEEDUP,fps=$FRAMERATE" $DSTFILE
> This will result in timelapse video which plays $SPEEDUP times faster than it was taken, and giving constant framerate of $FRAMERATE fps. (Constant framerate setting is optional, depending on output format.)
> ---8<---
> ---
>  doc/demuxers.texi     |  4 ++++
>  libavformat/img2dec.c | 18 ++++++++++++++++--
>  2 files changed, 20 insertions(+), 2 deletions(-)

patch applied

ive posted a patch that adds nanosec precission, comments welcome!

thanks

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

The greatest way to live with honor in this world is to be what we pretend
to be. -- Socrates
-------------- 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/20130525/db9a278e/attachment.asc>


More information about the ffmpeg-devel mailing list