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

2017-11-18 Thread vi0oss
From: Vitaly _Vi Shukela 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-devel] [PATCH] Allow "-to" on input files as well

2017-11-17 Thread vi0oss
From: Vitaly _Vi Shukela --- Notes: Second version. Please CC vi0...@gmail.com when replying. Note that added code is a duplicate of the respective output option processing code. I'm not sure if it is worth factoring out. doc/ffmpeg.texi | 4

[FFmpeg-devel] [PATCH 2/2] Document the fact that -to option is now also for input

2017-11-04 Thread vi0oss
From: Vitaly _Vi Shukela Signed-off-by: Vitaly _Vi Shukela --- doc/ffmpeg.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi index 7db80ebf6a..3df171fe63 100644 --- a/doc/ffmpeg.texi +++

[FFmpeg-devel] [PATCH 1/2] Allow -to on input files as well

2017-11-04 Thread vi0oss
From: Vitaly _Vi Shukela Why only output files can have both -t and -to? Signed-off-by: Vitaly "_Vi" Shukela --- fftools/ffmpeg_opt.c | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/fftools/ffmpeg_opt.c