Opened 4 weeks ago

Last modified 4 weeks ago

#7155 reopened enhancement

Add option to stop writing at position relative to EOF

Reported by: clone206 Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: ffmpeg@gyani.pro Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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

Change History (5)

comment:1 in reply to: ↑ description Changed 4 weeks ago by cehoyos

  • Component changed from ffmpeg to undetermined
  • Keywords seek removed
  • Priority changed from wish to normal
  • Resolution set to invalid
  • Status changed from new to closed
  • Type changed from enhancement to defect
  • Version changed from 3.4 to unspecified

Replying to clone206:
No new options can be requested for releases and I don't think this can be implemented.

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:

Instead, please explain how we can reproduce (and fix) this bug.

comment:2 Changed 4 weeks ago by clone206

This is not a bug that needs fixing. It's a feature request. Are you saying you don't accept feature requests, or rather that because I chose a release number the feature request is invalid?

I'm quite certain it could be implemented, since you already basically did the same thing with the -sseof option.

comment:3 Changed 4 weeks ago by clone206

  • Resolution invalid deleted
  • Status changed from closed to reopened

comment:4 Changed 4 weeks ago by clone206

  • Type changed from defect to enhancement

comment:5 Changed 4 weeks ago by Gyan

  • Cc ffmpeg@gyani.pro added
Note: See TracTickets for help on using tickets.