[FFmpeg-user] FFMPEG, How do I form an output file name automatically from information of an input file?
Maxim Levkov
maxim.levkov at gmail.com
Sun Aug 11 01:57:25 CEST 2013
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:
http://ffmpeg-users.933282.n4.nabble.com/How-to-output-real-frame-number-instead-of-sequentially-added-image-numbers-td4656645.html
However, I'm not sure if any of this was implemented or not.
Regards,
Max
More information about the ffmpeg-user
mailing list