[FFmpeg-devel] [PATCH] ffmpeg: Allow "-to" on input files in addition to "-t"

Michael Niedermayer michael at niedermayer.cc
Sun Nov 19 05:13:01 EET 2017


On Sat, Nov 18, 2017 at 10:36:51AM +0300, vi0oss at gmail.com wrote:
> From: Vitaly _Vi Shukela <vi0oss at gmail.com>
> 
> For some strange reason "-t" option was only implemented
> for input files while both "-t" and "-to" were available
> for use for output files. This made extracting a range from
> input file inconvenient.
> 
> This patch enables -to option for input so one can do
> 
>     ffmpeg -ss 1:23:20 -to 1:27:22.3 -i myinput.mkv ...
> 
> Signed-off-by: Vitaly _Vi Shukela <vi0oss at gmail.com>
> ---
>  doc/ffmpeg.texi      |  4 ++--
>  fftools/ffmpeg_opt.c | 17 ++++++++++++++++-
>  2 files changed, 18 insertions(+), 3 deletions(-)

will apply

thanks

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

Into a blind darkness they enter who follow after the Ignorance,
they as if into a greater darkness enter who devote themselves
to the Knowledge alone. -- Isha Upanishad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171119/fa560086/attachment.sig>


More information about the ffmpeg-devel mailing list