harryjackson / ffmpeg_split

Split an ffmpeg file by chapter
Apache License 2.0
55 stars 20 forks source link

Fix long filename error #9

Closed amirrh6 closed 5 months ago

amirrh6 commented 1 year ago

In modern Linux Operating Systems, the maximum size of a filename is limited to 255 characters. This commit makes sure that the filename does not exceed 255 characters by trimming the name, excluding the extension section.

harryjackson commented 5 months ago

A path length, depending on OS can be 4096k? This might break things.