ffmpeg concat: “Unsafe file name”

后端 未结 4 524
执念已碎
执念已碎 2020-12-13 05:46

Trying to convert a bunch of mts-files into a big mp4-file:

stephan@rechenmonster:/mnt/backupsystem/archive2/Videos/20151222/PRIVATE/AVCHD/BDMV$ ~/bin/ffmpeg         


        
4条回答
  •  抹茶落季
    2020-12-13 06:05

    The answer stated by @Mulvya (thank you!) works: "Add -safe 0 before -i". Then another problem appeared with find STREAM -name '*' -printf "file '$PWD/%p'\n" which returns the empty path as first entry. Changed this for for f in ./*.wav; do echo "file '$PWD/$f'"; done (see https://trac.ffmpeg.org/wiki/Concatenate) and now it seems to work. Hurray!

提交回复
热议问题