cdgriffith / FastFlix

FastFlix is a free GUI for HEVC and AV1 encoding, GIF/WebP/AVIF creation, and more!
MIT License
1.07k stars 54 forks source link

Problems processing some files with complex paths #505

Open mrdav1 opened 1 year ago

mrdav1 commented 1 year ago

FastFlix Version: 5.5.6

Operating System: Windows 10 x64

Describe the bug Unable to burn-in subtitles for files with complex path

To Reproduce Add media with complex file path Enable burn-in for subtitles

Logs flix_conversion_01 Final Call (2160p HD)_2023-06-29T15.36.44.log

mrdav1 commented 1 year ago

Just remembered that this is very similar to an old bug I reported (#350)

cdgriffith commented 11 months ago

What I'm confused about is there is somehow a space after the drive letter, which...can't be there

-filter_complex "[0:0]subtitles='D\ :\\Users\\Maddie\\...

I think if it's removed so it's D\:\\ instead it should work, but I honestly don't know how it got to that point to start with (somehow in FastFlix, not something you did). Looking at it but is tricky

mrdav1 commented 11 months ago

It only started happening sometime after v5.5.4 if that’s of any help to you.

mrdav1 commented 9 months ago

Just discovered that this problem is not limited to subtitles. If seems that any pathname with "\\" qualifiers that that "wrap" across lines is affected.

For example:

D\: \\PathName\\File

Becomes "D\: \PathName\File" (which equates to "D: \PathName\File" during processing.

This happens frequently.

mrdav1 commented 3 months ago

I think that I've found the "Perfect Storm" that causes the issue...

1: Pathname is long and contains sub-directories 2: Pathname has "\" qualifiers that that "wrap" across lines 3: Usually HDR10+ source (but not always)

This happens frequently when the queue is saved and re-loaded.

I hope this is of some help.