Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Broken pipe  (Read 12123 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Broken pipe

When i try to read WAV from pipe it says:
"when stdin is used for input, it must be the only file!"
https://paste.gentoo.zip/5EbRc5zg
Even using flac instead of ffmpeg.

 

Re: Broken pipe

Reply #1
This is an easy one. The problem is that on Linux you must add a -o to specify an output file. If you don't, then the filename becomes a second input file (which isn't allowed with stdin). So the correct syntax would be:

Code: [Select]
$ ffmpeg -hide_banner -i input.flac -f wav - | wavpack -i - -o audio.wv

I assume that you were using -i to mean "ignore header length" and not to specify the input file (e.g., FFmpeg syntax).