VidCoder icon indicating copy to clipboard operation
VidCoder copied to clipboard

Videos with "~" cause problems (

Open zakimimit opened this issue 1 year ago • 5 comments
trafficstars

Problem Description

Hello

Videos with "~" cause problems

1- The filenames if it looks like "abc~1.mp4" it will be converted, but when the software tries to save it it can't ,

I hope you can add a way to clean up the names, like in Piker:

image

You can add "~" to remove it, so that files with this pattern are converted automatically, rather than having to change it manually.

Because the "~" is the problem.

My best regards,

What version of VidCoder are you running?

11.6

Encode Log

No response

zakimimit avatar Aug 30 '24 17:08 zakimimit

abc~1 is a Windows alias for "the first file that starts with abc", and is sometimes used to shorten very long file paths. Is that where you encountered this, in a long file path? In some cases you can't "expand" out these shortened names, since it would cause the full file path to go over with max file path length in Windows.

There might be something I can do depending on in what case you're running into this.

RandomEngy avatar Sep 03 '24 13:09 RandomEngy

If the path is too long, the windows will make an alias "~" and some files with "~" names will confuse VidCoder.

So it is better to clean up "~" so that files with this pattern are converted automatically.

You can add this functionality to Source name cleanup

zakimimit avatar Sep 12 '24 14:09 zakimimit

I'm sorry, I'm not sure what you mean by "clean up" here. Can you give an example of some paths it should be handling and what you'd want it to do? I wouldn't be able to preserve the full file names for output in all cases if it's longer than the max path.

RandomEngy avatar Sep 13 '24 05:09 RandomEngy

Untitled

Path example

"D:\Downloads\1Compressed\invoice\Software Development Processes and Methodologies .mp4"

This file is read as "D:\Downloads\1Compressed\invoice\SDPM~.mp4"

so the convert is done but the software not save it

so if you add this option to "remove ~" from the name the output will be saved

see the picture

Thank you

zakimimit avatar Sep 13 '24 11:09 zakimimit

What would cause "D:\Downloads\1Compressed\invoice\Software Development Processes and Methodologies .mp4" to be read as "D:\Downloads\1Compressed\invoice\SDPM~.mp4" ?

Are you trying to refer to the automatic shortening? It could change something like this:

C:\Saved Games\CD Projekt Red\Cyberpunk 2077\AutoSave-3\screenshot.png

into

C:\SAVEDG~1\CDPROJ~1\CYBERP~1\AUTOSA~4\SCREEN~1.PNG

In this case just removing the ~ is going to result in some really weird behavior, as it will create new, truncated folders all across the path.

RandomEngy avatar Sep 15 '24 00:09 RandomEngy