unicode-able lossless encoders ?, does any accept unicode filenames ? |
![]() ![]() |
unicode-able lossless encoders ?, does any accept unicode filenames ? |
Sep 16 2006, 23:06
Post
#1
|
|
![]() Group: Members Posts: 82 Joined: 3-February 05 Member No.: 19557 |
topic says all. and if so - which, how, where etc
|
|
|
|
Sep 16 2006, 23:13
Post
#2
|
|
|
Group: Members Posts: 47 Joined: 9-May 04 Member No.: 13985 |
|
|
|
|
Sep 17 2006, 00:02
Post
#3
|
|
![]() Group: Members Posts: 82 Joined: 3-February 05 Member No.: 19557 |
i am using winxp pro sp2 fnts and all encoders i have fails on unicode. or am i doing it wrong ?
This post has been edited by sn0wman: Sep 17 2006, 00:02 |
|
|
|
Sep 17 2006, 00:51
Post
#4
|
|
|
Group: Members Posts: 79 Joined: 13-March 02 Member No.: 1509 |
I've ran into this problem myself, now I use foobar2000 to open my unicode-named files and convert them. It has built-in FLAC encoding support.
|
|
|
|
Sep 17 2006, 01:30
Post
#5
|
|
|
FLAC Developer Group: Developer Posts: 1526 Joined: 27-February 02 Member No.: 1408 |
|
|
|
|
Sep 17 2006, 02:07
Post
#6
|
|
|
Group: Members Posts: 830 Joined: 3-November 05 Member No.: 25526 |
foobar2000 works well for this.
|
|
|
|
Sep 17 2006, 12:07
Post
#7
|
|
![]() Group: Members Posts: 82 Joined: 3-February 05 Member No.: 19557 |
thanks jcoalson for the link.
foobar - i know it and this feature. the problem is that i am working on my own application and somehow i did already in the past using temp filenames and sure, it is working, but there is another problem when not only a filename is unicode, but path to it also. it is different thing to rename just a file and doing it on a whole path. and, of course, flac is only one of the codecs i use. so any other ideas, if exist, are welcome best regards, sn0wman. |
|
|
|
Sep 17 2006, 13:31
Post
#8
|
|
|
Group: Members Posts: 826 Joined: 29-September 04 Member No.: 17374 |
You can use a modified script from the link above:
QUOTE (flac.cmd) @echo off set encoder="C:\Program Files\flac-1.1.2-win\bin\flac.exe" type "%1" | %encoder% -8 --no-seektable - > "%~d1%~p1%~n1.flac" It will work with unicode paths and filenames just fine. Copy this to a text file and rename it to "flac.cmd", change the path to flac.exe (marked with green color). Then you will be able to use flac.cmd like this: F:\>flac.cmd \audio\こんにちは世界\你好世界.wav this will encode to f:\audio\こんにちは世界\你好世界.flac file. Note: --no-seektable may cause slightly slower seeking (with a seek slider of a player) on older machines, and has no effect if you only use FLAC to archive or playback without random seeking. |
|
|
|
Sep 19 2006, 00:50
Post
#9
|
|
![]() Group: Members Posts: 82 Joined: 3-February 05 Member No.: 19557 |
thanks Egor.
for the firsth, i want to decode file, not to encode. the parameters i am using in my program are the following: QUOTE -d -o "%o" --force-raw-format --endian little --sign signed "%i" tried to change it toQUOTE -d --force-raw-format --endian little --sign signed so that it was somehow compatible with your script which takes only one parameter (so no specified output then). but it is not working. btw, how to pass multiple parameters ?for the second, firsth thing i checked with the script was coding a wav file (so just as it was meant to be working), everything went fine, till i tried using unicode. my cmd.exe seems not to accept any unicode input, showing so well known '?????'. why ? i would also love to understand what does it QUOTE %~d1%~p1%~ mean and my last question. cause i work in delphi6, and using this script seems little artifical to me, does anyone knows how to do that using piplines in delphi ? i am going to try this way: write pipline to encoder, and direct its output to my program using read pipline. maybe its not good forum for asking such question but as long as we are 'into' formats, there may be more ppl who have some experiences with such operations then in other places. atm i dont know how to do that This post has been edited by sn0wman: Sep 19 2006, 00:51 |
|
|
|
Sep 19 2006, 22:09
Post
#10
|
|
![]() Group: Members Posts: 82 Joined: 3-February 05 Member No.: 19557 |
one more thing, script seems to be not working with files located in folders with spaces in the path:
f:\audio\a.flac <-yes f:\my audio\a.flac <-no //sorry its ok This post has been edited by sn0wman: Sep 19 2006, 22:38 |
|
|
|
Oct 7 2006, 23:52
Post
#11
|
|
![]() Group: Members Posts: 82 Joined: 3-February 05 Member No.: 19557 |
just to drop a note:
up today, the only one encoder that supports directly unicode filenames, is TTA encoder... |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd May 2013 - 14:44 |