[FFmpeg-trac] #11240(tools:new): [Windows] Non-ASCII characters in "FFREPORT" may produce garbled filename or fail (was: [Windows] filenames with non-ASCII characters in FFREPORT variable produces garbled log filename)

FFmpeg trac at avcodec.org
Tue Nov 5 11:28:15 EET 2024


#11240: [Windows] Non-ASCII characters in "FFREPORT" may produce garbled filename
or fail
-------------------------------------+----------------------------------
             Reporter:  m.feriati    |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  tools
              Version:  unspecified  |               Resolution:
             Keywords:  FFREPORT     |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+----------------------------------
Changes (by MasterQuestionable):

 * component:  ffmpeg => tools
 * keywords:  FFREPORT accented => FFREPORT
 * summary:
     [Windows] filenames with non-ASCII characters in FFREPORT variable
     produces garbled log filename
     =>
     [Windows] Non-ASCII characters in "FFREPORT" may produce garbled
     filename or fail

Comment:

 ͏    It appears "-report" only supports custom options via "FFREPORT"
 environment variable:
 ͏    https://ffmpeg.org/ffmpeg.html#Generic-options
 ͏    (yes, I don't use it...)

 ͏    Specifically tried below:
 (Windows CMD)
 ͏    `SET "FFREPORT=file=中.txt" & ffmpeg -i "中.mp4"`
 ͏    `SET "FFREPORT=file=é.txt" & ffmpeg -i "中.mp4"`
 ͏    `SET "FFREPORT=file=А.txt" & ffmpeg -i "中.mp4"`
 ͏    .
 ͏    “Failed to open report "中.txt": Invalid argument”
 ͏    Garbled filename for else.
 ͏    Note "А" is Cyrillic.
 ͏    "é" is "e" + "́". (not "é")
 ͏    [ https://github.com/MasterInQuestion/Markup/blob/main/AAA.htm ]
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11240#comment:12>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list