[FFmpeg-trac] #7155(ffmpeg:new): Add option to stop writing at position relative to EOF

FFmpeg trac at avcodec.org
Mon Apr 23 00:39:54 EEST 2018


#7155: Add option to stop writing at position relative to EOF
----------------------------------+---------------------------------------
             Reporter:  clone206  |                     Type:  enhancement
               Status:  new       |                 Priority:  wish
            Component:  ffmpeg    |                  Version:  3.4
             Keywords:  seek      |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+---------------------------------------
 Summary of the bug:
 Feature request
 How to reproduce:
 N/A

 Add main option to allow stopping of writing to output at position
 relative to "end of file", where 0 is eof, and negative values are earlier
 in the file.

 Proposed switch: "-toeof", like "-sseof" but for stopping point instead of
 beginning point.

 Background: I have ripped SACD audio tracks with extraneous loud noises at
 the last few hundred milliseconds of each track, and want to chop off that
 duration from the end of each file as part of a batch process. I would
 like to do something like the following on each file:

 ffmpeg -i input.flac -toeof -00:00:00.9 output.flac

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7155>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list