I just discovered an issue with ffmpeg when trying to create an mp4 video file from multiple png files that contain @ in the file name.
So I’m calling
ffmpeg_exe -y -f concat -i temp@temp.mp4.txt -safe 0 -vf “pad=ceil(iw/2)*2:ceil(ih/2)*2” -c:v libx264 -crf 17 -pix_fmt yuv420p temp@temp.mp4
The content of the txt file is multiple line such below:
file ‘temp@temp-1.png’
duration 0.2
file ‘temp@temp-2.png’
duration 0.2
file ‘temp@temp-3.png’
duration 0.2
file ‘temp@temp-4.png’
duration 0.2
…
The issue comes from the “@” in the file names. If I remove the @ from the file names and accordignly from the txt file, it works.
Has @ a special meaning for ffmpeg. How ca I escape it?
Thanks
Alexandru