[FFmpeg-trac] #11139(ffmpeg:closed): Option to preserve filetime of input

FFmpeg trac at avcodec.org
Sun Sep 1 08:43:57 EEST 2024


#11139: Option to preserve filetime of input
-------------------------------------+-------------------------------------
             Reporter:  Ulf Zibis    |                    Owner:  Ulf Zibis
                 Type:  enhancement  |                   Status:  closed
             Priority:  wish         |                Component:  ffmpeg
              Version:  git-master   |               Resolution:  wontfix
             Keywords:  convenience  |               Blocked By:
  option                             |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  1            |
-------------------------------------+-------------------------------------
Comment (by MasterQuestionable):

 ͏    Please take a bit more careful review on the aforementioned logic.
 ͏    "in general no canonical way, to tell which is the input file for a
 given output file."
 <!^>    How is the output file possibly be properly generated this way..?
 Out of mere air?

 ͏    |1| [
 ͏    "-p" as input: Use whichever "-i" it binds, for all output in the
 same input-output group.
 ͏    E.g. !`-i "1" ... "out1" ... -i "2" ... "out2"`
 ͏    ; "1" and "out1", "2" and "out2": are considered the same group. ]
 ͏    |2| [
 ͏    "-p" as output: Guess the most sensible one.
 ͏    Try simple mapping if in-out can be 1-1 mapped.
 ͏    Else, use aforementioned logic. (assume 1st "-i" sensible) ]

 ͏    Modification time alone should suffice. All together also shouldn't
 matter.
 ͏    However the real interesting thing is probably not this functionality
 itself, but beyond:
 ͏    Analyzing the whole structure of FFmpeg, by the opportunity.
 ͏    .
 ͏    And my aim is on the "concat", "-map" related things:
 ͏    https://trac.ffmpeg.org/ticket/11146#comment:22
 \\
 \\
 ͏    Not really because too many options, but not properly arranged.
 ͏    Length itself is usually not the accessibility killer.
 ͏    Bad hierarchy is.

 ͏    As for permissions, ACL (Access Control Lists), "xattr" whatsoever:
 even dedicated archive format may not handle them...
 ͏    https://unix.stackexchange.com/questions/600282/preserve-file-
 permissions-and-symlinks-in-archive-with-7-zip#639108
 ͏    https://www.google.com/search?hl=en&gl=ca&num=10&q=7zz|7z+permissions
 ͏    https://en.wikipedia.org/wiki/Talk:7z#file_permissions
 \\
 \\
 ͏    I wonder 1 question, does such writing:
 ͏    `ffmpeg -y -v debug -hide_banner -nostdin -nostats "Out.mkv" -f lavfi
 -i "testsrc2=1920x1080:10:d=1"`
 ͏    ; really make sense?
 ͏    Is there significant actual usage of such?
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11139#comment:17>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list