INTERACT FORUM

More => Old Versions => Media Center 12 (Development Ended) => Topic started by: Qythyx on January 17, 2008, 08:59:54 am

Title: Problems with Unicode and RAW image files
Post by: Qythyx on January 17, 2008, 08:59:54 am
Ok, this one is gonna sound weird, but I swear it's true...

As posted in another thread, I've started taking photos in RAW (.ORF) format. One thing I just realized in that MC (404) is having problems accesing/processing these files if they are inside a folder that contains Japanese characters. The symptoms are: 1) MC won't import them and 2) if I change the folder name, import them, and then change the folder back from within MC, then MC won't display them.

I tested this further by renameing the Filename Path from within MC for 1 image to non-Japanese. I could then view the image in MC. I then renamed the path back to the original and tried again and could no longer view the image in MC.

Other, non-RAW (JPEG) files work fine. As do some audio and video files that have Japanese paths and/or filenames.
Title: Re: Problems with Unicode and RAW image files
Post by: DarkPenguin on January 17, 2008, 12:04:51 pm
Could I get you to email me an orf file to tom AT jriver D0T com?
Title: Re: Problems with Unicode and RAW image files
Post by: Qythyx on January 17, 2008, 03:25:29 pm
Sent. Hope the 9MB attachment goes through ok.
Title: Re: Problems with Unicode and RAW image files
Post by: DarkPenguin on January 17, 2008, 04:13:23 pm
Got it, thanks.
Title: Re: Problems with Unicode and RAW image files
Post by: DarkPenguin on January 17, 2008, 07:52:16 pm
This should be fixed tomorrow.
Title: Re: Problems with Unicode and RAW image files
Post by: Qythyx on January 17, 2008, 08:31:57 pm
Kewl! Thanks much.
Title: Re: Problems with Unicode and RAW image files
Post by: DarkPenguin on January 24, 2008, 04:01:00 pm
That fix should now be available in the just published build at the top of this forum.

http://yabb.jriver.com/interact/index.php?topic=44712.0

Fix is listed under the 12.0.418 changes.
Title: Re: Problems with Unicode and RAW image files
Post by: Qythyx on January 27, 2008, 12:53:25 am
Oops, big problem now (in 421), I can't import new RAW (ORF) files at all, no matter what the path or filename is. MC says that the import failed and shows entries like this in the log:

0024610: 4616: Import: ImportNewFiles: Start
0024610: 4616: Import: ImportNewFiles: Adding: M:\Pictures\2008\2008-01-19 - Sachi's birthday\P1190903.ORF
0024625: 4616: Database: CMediaDatabase::AddFile: JRAnalyzer: 0x4c0a018
0024625: 4616: Database: CMediaDatabase::AddFile: Calling JRAnalyzer::Open
61598359: 4616: Import: JRAnalyzer::Open: Start
61598359: 4616: Import: JRAnalyzer::AddFile: Start
61598359: 4616: Import: JRAnalyzer::AddFile: Filename: M:\Pictures\2008\2008-01-19 - Sachi's birthday\P1190903.ORF
61598375: 4616: Import: JRAnalyzer::AddFileImage: Start
61598375: 4616: Import: JRAnalyzer::AddFileImage: Finish (0 ms)
61598375: 4616: Import: JRAnalyzer::AddFile: Finish (16 ms)
61598375: 4616: Import: JRAnalyzer::Open: Finish (16 ms)
0024641: 4616: Database: CMediaDatabase::AddFile: JRAnalyzer::Open returned
0024656: 4616: Reader: CLocalReader::OpenInternal: Opening: M:\Pictures\2008\2008-01-19 - Sachi's birthday\P1190903.ORF
0024672: 4616: Reader: CLocalReader::Close: Closing: M:\Pictures\2008\2008-01-19 - Sachi's birthday\P1190903.ORF
0025250: 4616: Import: ImportNewFiles:     Failed to analyze / add


It does this for all new ORFs that I'm trying to import. I also can't view or play them. Interestingly, all of the ORFs that were previously imported are still available and can be played.

BTW, I can import other, non-ORF images, like JPEG.
Title: Re: Problems with Unicode and RAW image files
Post by: DarkPenguin on January 27, 2008, 09:31:26 pm
Confirmed for RAW files in general.  (My CR2's will not import.)
Title: Re: Problems with Unicode and RAW image files
Post by: DarkPenguin on January 28, 2008, 10:01:01 am
Fixed in 12.0.423.

A bug I introduced was masked by the RAW file cache.  New files are not in the cache so the bug was exposed.
Title: Re: Problems with Unicode and RAW image files
Post by: Qythyx on January 28, 2008, 08:07:46 pm
And you're teasing me by only releasing 422.  :P

Thanks for the fix, looking forward to it.
Title: Re: Problems with Unicode and RAW image files
Post by: DarkPenguin on February 04, 2008, 10:29:44 am
It should be up there in 428.  Let me know if I bozo'd anything this time.

If everyone just used Canon products this would be much easier.  (Canon has a wonderful SDK.)
Title: Re: Problems with Unicode and RAW image files
Post by: Qythyx on February 04, 2008, 06:37:32 pm
Everything's fine with 428. Thanks much.

Try not to break it again  :P.