Problem Transcoding Flac to Wav
Posted: Sun Sep 12, 2010 4:27 pm
Hi all,
I have a problem transcoding flac to wav on the fly on my Win7 Ultimate 32bit with TwonkyServer 6.01.
If I use ffmpeg for transcoding flac to mp3 everything is fine and working. I see the MP3 beeing created in the Cache directory of TwonkyMedia.
If I try to transcode to wav, I see the directory with the long name (numbers and letters) being created but there is no subdiretory named wav, like it is with mp3. The Soundbridge M1001 then says that the format is not supported. As I said before, all is fine if I transcode to MP3 on the fly.
Here is the content of the flac-wav.desc-File I use:
__________
# transcode audio (flac to wav)
exec: flac -dfs $infile -o $outfile
#capabilities
from=audio/x-flac
to=audio/x-wav
asynchronous
priority=normal
I also tried using audio/wav as mimetype with no success. I think, the main Problem is that the transcoded file is not created, or the subdirectory Wav is not created.
For reference here is the flac-mp3.desc that is working (perhaps, someone wants to use it):
___________
# transcode audio (flac to MP3)
# flac to mp3
exec: ffmpeg -ab 320k -i $infile $outfile
# capabilities
from=audio/x-flac
to=audio/mpeg
asynchronous
priority=idle
Of course I also have the according ffmpeg.location and the flac.location in cgi-bin pointing to the correct directories of the ffmpeg and the flac transcoders!
If I try the flac conversion in a DOS-Box, everything is working fine. So I do not understand, what is going wrong. Can please someone put me in the right direction.
Many thanks in advance.
Duke.g
I have a problem transcoding flac to wav on the fly on my Win7 Ultimate 32bit with TwonkyServer 6.01.
If I use ffmpeg for transcoding flac to mp3 everything is fine and working. I see the MP3 beeing created in the Cache directory of TwonkyMedia.
If I try to transcode to wav, I see the directory with the long name (numbers and letters) being created but there is no subdiretory named wav, like it is with mp3. The Soundbridge M1001 then says that the format is not supported. As I said before, all is fine if I transcode to MP3 on the fly.
Here is the content of the flac-wav.desc-File I use:
__________
# transcode audio (flac to wav)
exec: flac -dfs $infile -o $outfile
#capabilities
from=audio/x-flac
to=audio/x-wav
asynchronous
priority=normal
I also tried using audio/wav as mimetype with no success. I think, the main Problem is that the transcoded file is not created, or the subdirectory Wav is not created.
For reference here is the flac-mp3.desc that is working (perhaps, someone wants to use it):
___________
# transcode audio (flac to MP3)
# flac to mp3
exec: ffmpeg -ab 320k -i $infile $outfile
# capabilities
from=audio/x-flac
to=audio/mpeg
asynchronous
priority=idle
Of course I also have the according ffmpeg.location and the flac.location in cgi-bin pointing to the correct directories of the ffmpeg and the flac transcoders!
If I try the flac conversion in a DOS-Box, everything is working fine. So I do not understand, what is going wrong. Can please someone put me in the right direction.
Many thanks in advance.
Duke.g