[FFmpeg-user] FFMPEG, How do I form an output file name automatically from information of an input file?
dashing.meng at gmail.com
Sun Aug 11 12:07:54 CEST 2013
On Sat, 10 Aug 2013 16:57:25 -0700
Maxim Levkov <maxim.levkov at gmail.com> wrote:
> Hello Group,
> I'm processing many files and they are sporadically distinct from each
> other. I'm trying to format an output filename that carries some
> information about the file from the source file; such as, frame size,
> frame rate, and other.
> I could form the file name programmatically, by invoking series of
> format output procedures. Then, record the name and the
> characteristics into an output file name, and then form a command line
> with ffmpeg for processing. However, I'm curious if there is a more
> elegant way to just ask ffmpeg to pass some of these parameters to
> format the name of the outputted file.
> I found a discussion on the topic:
> However, I'm not sure if any of this was implemented or not.
It seems you must do some programing, ffmpeg seems can't affect the
name of output file.
Shell scripting is a good choice on Linux os as I known.
More information about the ffmpeg-user