[FFmpeg-devel] [PATCH 3/3] tests/hevc: Fix concat input when running in MSYS2 shell
softworkz .
softworkz at hotmail.com
Mon May 12 20:04:01 EEST 2025
> -----Original Message-----
> From: Zhao Zhili <quinkblack at foxmail.com>
> Sent: Montag, 12. Mai 2025 18:53
> To: FFmpeg development discussions and patches <ffmpeg-devel at ffmpeg.org>
> Cc: softworkz <softworkz at hotmail.com>
> Subject: Re: [FFmpeg-devel] [PATCH 3/3] tests/hevc: Fix concat input when
> running in MSYS2 shell
>
>
>
> > On May 12, 2025, at 17:59, softworkz <ffmpegagent at gmail.com> wrote:
> >
> > From: softworkz <softworkz at hotmail.com>
> >
> > MSYS2 considers the colon (:) as path separator (=separating multiple
> > paths) and thinks it needs to convert it to a Windows
> > path separator (;).
> >
> > Setting the MSYS2_ARG_CONV_EXCL environment variable
> > keeps MSYS2 from doing this replacement.
>
> Doesn’t work for me.
>
> The test failed if when set
>
> —samples=/home/quink/ffmpeg-fate-sample
>
> but success when set
>
> —samples=D:/bin/msys/home/quink/ffmpeg-fate-sample
Another case that this patch fixes is
—samples=../fate-suite
> Other test case don’t have this issue.
Because no other test uses the concat: protocol.
> With a single input,
> msys can convert the unix path to Windows path before pass
> to ffmpeg, but failed for concat.
The problem is the colon behind concat, which it considers to
be a separator and hence changes it to a semicolon.
When the samples-path starts with a slash, it might behave
differently again, no sure.
I'll add a note to the commit message, explaining which cases
it fixes.
Thanks,
sw
More information about the ffmpeg-devel
mailing list