[FFmpeg-devel] [PATCH] avformat: add a concat protocol that takes a line break delimited list of resources

Nicolas George george at nsup.org
Thu Jun 24 18:44:11 EEST 2021


James Almer (12021-06-24):
> > Are we ok that file with a \n in their name will not be supported?
> Yes, since it's used to delimit files in the list.

I know, it is the reason I asked. So, I say it negatively:

I am not ok that this prevents valid filenames from being used, even if
they are very exotic.

> At least on Windows a backslash is not allowed on file names (Alongside many
> other such characters), but apostrophes are, and they effectively need to be
> escaped. Thanks for catching it.
> 
> I'll add a mention in the doxy about the need to escape certain characters.

On Unix, backslashes are allowed. So are newlines. They need to be
supported.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210624/dfa2bc7a/attachment.sig>


More information about the ffmpeg-devel mailing list