Page 1 of 1
Forum

Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!

Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.

Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is no translation for that post!



Share:
Notifications
Clear all

[Solved] fourcc-changer

10 Posts
2 Users
2 Reactions
115 Views
(@eridan)
Active Member
Joined: 2 weeks ago
Posts: 5
Topic starter  

Topics related to fourcc


   
ReplyQuote
Topic Tags
(@eridan)
Active Member
Joined: 2 weeks ago
Posts: 5
Topic starter  

Hello,

Are you sure that the issue with special characters is completely resolved in the version 1.2?
I've just tried to process entire directory structure with many files with special characters and it seems that special characters are respected only if I add files directly.
 
When added directly .. special chars are present:
 
But if I try to add entire directory with this same video file: (notice question marks)
 
Also, if the directory I want to add contains special characters, it can't be added at all.
For example, please try to create a directory "Alenka v říši divů", in it create file "Alenka v říši divů.avi" and then try to add the directory to Avi FourCC Fix window
 
 
I know that this application is really old, but could you please consider fixing problems above?
I have 9000+ videos in a complex directory structure and need support of special characters to convert them to FMP4. Renaming them would take days...
 
Thank you in advance.
   

   
ReplyQuote
 Hans
(@hans)
Famed Member Admin
Joined: 11 years ago
Posts: 2791
 

Hi Eridan,

sorry to hear you're running into a challenge there.
Somehow your example went lost or did not get posted? I'm not seeing the examples.
Note: it takes a few posts before the forum allows posting images or attachments.

As for the FourCC application; the development has been stopped several years ago.
What exactly are you trying to accomplish? Maybe I can help ...


   
ReplyQuote
(@eridan)
Active Member
Joined: 2 weeks ago
Posts: 5
Topic starter  

Hi Hans,

Let me try to explain with more details..
I have NAS server with about 9000+ video files in a complex directory structure, where both files and directories may have special characters.

Approximately 4000 of these videos have old FourCC strings = DIV3, DIVX, DX50, XVID (upper or lowercase), so they cannot be played on some modern TVs. I want to change that by using FourCC-fix to modify the codec string to alternative codec, DIVX/FMP4; XVID/FMP4; DX50/FMP4; DIV3/MP43.

I have complete listing of all files with their FourCC codes (in CSV format) so I know which files have old FourCC and to what should it be changed, but I haven't found any way how to "feed" this listing to FourCC-fix application.

So I tried approach to insert the entire directory structure with movies to FourCC-fix application window and then let it change codecs one by one. This approach worked fine for about 50% of files. The other 50% got rejected with error, because the FourCC-fix didn't load their path or file names with proper special characters.

As an example I've created following directory structure:

test\ježek\špatné_jméno.avi

If I insert just the avi file "špatné_jméno.avi" to FourCC-fix window, it works fine. Proper name is displayed and can be processed (codec name changed)
If I insert directory "ježek" to FourCC-fix window, nothing happens. I think that here the FourCC-fix has problem to access the directory with special character and read it's content.
If I insert directory "test" to FourCC-fix window, the FourCC-fix will find the video file, but it will be loaded with question marks instead of special characters .. like this: "test\je?ek\?patn?_jm?no.avi". Consecutive attempt to change codec fails with error

I'm attaching links to picture1 which is case 1 (OK) and picture2 which is case 3 (KO) with the error message.
Case 2 is difficult to demonstrate as the FourCC-fix doesn't return any error, it just doesn't import anything.

https://ibb.co/5rhprBr
https://ibb.co/QNN87sS

Please let me know if this explanation helps or if you have more questions..


   
ReplyQuote
 Hans
(@hans)
Famed Member Admin
Joined: 11 years ago
Posts: 2791
 

For future reference, I've added the pictures here:

pic1-ok.png

 

pic2-ko-1.png


   
ReplyQuote
 Hans
(@hans)
Famed Member Admin
Joined: 11 years ago
Posts: 2791
 

I'll go look in the code to see if there is an easy fix.

Note: as for "feeding" info the the application goes - unfortunately, this application was never designed to take any command-line parameters. 😞 


   
ReplyQuote
 Hans
(@hans)
Famed Member Admin
Joined: 11 years ago
Posts: 2791
 

Before I can proceed trying to see if I can find a quick fix can you let me know what platform are you working on?
Since Windows is the most notorious one for having issues with special characters, I presume you're using Windows?


   
ReplyQuote
(@eridan)
Active Member
Joined: 2 weeks ago
Posts: 5
Topic starter  

Well, I work primarily on Windows and NAS is running on armv71 customized Linux, without GUI, so I can't run FourCC-fix on it.

But I have some Linux VMs with GUI in Hyper-V, so I could try to run FourCC-fix on them. I just need to figure out how to connect to NAS from them, as they are in different networks. I'll update later today if it will help or not.


   
Hans reacted
ReplyQuote
(@eridan)
Active Member
Joined: 2 weeks ago
Posts: 5
Topic starter  

Hello,

FourCC-fix in Linux GUI worked, it processed all files with special characters properly.

Thank you very much! :)


   
Hans reacted
ReplyQuote
 Hans
(@hans)
Famed Member Admin
Joined: 11 years ago
Posts: 2791
 

Awesome! Still too bad it doesn't work entirely OK under Windows, but at least you're helped for now 😊 

Thanks for confirming! 👍 


   
ReplyQuote
Share: