[FFmpeg-devel] adding file append option to file: protocol

Gyan gyandoshi at gmail.com
Wed Sep 12 13:07:25 EEST 2018


On Wed, Sep 12, 2018 at 12:55 AM Duane Salbi <duane.fixitright at gmail.com>
wrote:

> The file protocol always creates new files.   For mpeg1 and mpeg2, one can
> append directly.
>
> It would seem to be a small change to the file protocol to add a flag to
> support opening the file in append mode.
>
> Is there a good reason this is not already added??
>
> For some standards, this would seem to be a better solution than writing a
> different file and using the concat protocol to join the two files into a
> third file.
>

Share an example command line which will use this feature.

Gyan

P.S. Note that there is a patch in queue to be pushed which will block all
cases of output files being same as input. It's meant to prevent
accidental/naive-use scenarios and trivial to work around.


More information about the ffmpeg-devel mailing list