[2009-02-13 15:21] Julian Andres Klode <[email protected]>
> On Fri, Jan 30, 2009 at 10:19:55AM +0100, markus schnalke wrote:
> > Package: dir2ogg
> > Version: 0.11.6-1
> > Severity: normal
> > 
> > The option `-p' (`--preserve-wav') does not work for WMA input files. It 
> > does
> > not matter if single files or whole directories are used as input.
> > 
> It generally won't work for anything using mplayer. dir2ogg uses temp.wav as 
> the
> temporary filename here, whereas for other decoders, the name of the input 
> file,
> the suffix replaced with .wav, is used.
> 
> The reason is that for mplayer, you have to give the option like -ao 
> pcm:file=temp.wav,
> and using the real filename here leads to problems if there are spaces in the 
> filename,
> or something else. And encoding the filenames is no option.
> 
> I could still patch it to rename the temp.wav to the correct filename 
> afterwards.

When I read about the `-p' option, I thought it would work as follows:

I run `dir2ogg' with whatever configuration and have in the end each
input file in the target format _and_ each input file as WAV, too.

For example:

        $ ls
        aa.mp3  bb.wav  cc.wma

        $ dir2ogg -p *

        $ ls
        aa.mp3  bb.wav  cc.wma
        aa.ogg  bb.ogg  cc.ogg
        aa.wav          cc.wav


I don't know about the internals ... that simply how I thought the
programm would behave. And IMO this is the right way.


meillo

Attachment: signature.asc
Description: Digital signature

Reply via email to