Opened 15 years ago

Closed 14 years ago

Last modified 14 years ago

#97 closed enhancement (invalid)

Cannot use "-ao pcm -aofile -" to write to stdout

Reported by: craig.eales@… Owned by: alex@…
Priority: normal Component: ao
Version: 1.0pre5 Severity: minor
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

You cannot select stdout as the target of the "pcm" audio driver.

e.g.

mplayer bob.ogg -ao pcm -aofile - > test.wav

Does not write the pcm file to test.wav but instead creates a local file called
"-". This means that I cannot pipe the output through custom filters, etc.

Craig

Change History (1)

comment:1 Changed 14 years ago by poirierg@…

  • Resolution set to invalid
  • Status changed from new to closed

(In reply to comment #0)

You cannot select stdout as the target of the "pcm" audio driver.

e.g.

mplayer bob.ogg -ao pcm -aofile - > test.wav

Does not write the pcm file to test.wav but instead creates a local file called
"-". This means that I cannot pipe the output through custom filters, etc.

Wouldn't it be better to use a named pipe instead?.
Plus, in MPlayer, using the special file "-" is to take INPUT from STDIN, not
output.

Note: See TracTickets for help on using tickets.