[FFmpeg-trac] #4015(ffmpeg:new): Feat: Error instead of warn at seeking timecode mismatch
FFmpeg
trac at avcodec.org
Wed Oct 8 11:37:01 CEST 2014
#4015: Feat: Error instead of warn at seeking timecode mismatch
-------------------------------------+-------------------------------------
Reporter: wader8 | Type:
Status: new | enhancement
Component: ffmpeg | Priority: minor
Keywords: seek, | Version:
seeking, error, warning, | unspecified
timecode, time, mismatch | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the feature:
Provide an option, to enable breaking with error, instead of just a
warning, when the seeking timecodes are mismatched, eg, -to value being
smaller than -ss. (the "ignoring -to" is a warning) - The resulting error
should stop the current session from executing any further operations, a
standard error that batch files can operate with (windows in my case)
Explanation:
The use of seeking is also used to get rid of the rest as one of the
primary reason behind the use of the program, so there is no need for
ffmpeg to continue it's encoding/decoding/recoding operations as when the
"ignoring -to" warning happens it does not stop the output operation,
which in such a case would be preferred.
Furthermore in such a particular case, with many entries used in a batch
file, to automate the process, it hinders the very purpose of automation
as it requires constant monitoring, otherwise the mismatched entry will
unnecessairly recode the input in-whole instead of skipping and moving to
the next entry specified in a batch file.
In the worst case scenario, with large inputs and low disk space and with
other concurrent space-consuming tasks, a single mismatch may cause a
total disruption of all other computer applications if the input is large
enough that it would fill up the disk space is was not supposed to.
Timecode mismatch is not a bug - reason:
Human Error - mistmatched timecodes are a result of typos, not unusual in
this case.
------------------------
Feature:
Option 1a: -seekerror
(-se)
Break with error/stop when -ss -to timecodes are mismatched.
--
OR
--
Option 1b: -seekwarn
(-sw)
Default being error stop, enable (existing) warning only with this
command.
-------------------------
How to reproduce:
{{{
% ffmpeg -i input ... -ss 02:45:18 -to 01:45:36 ... output
ffmpeg version N/A
built on ... N/A
}}}
Patches should be submitted to the ffmpeg-devel mailing list and not this
bug tracker.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4015>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list