nu774 / fdkaac

command line encoder frontend for libfdk-aac
Other
260 stars 58 forks source link

Reading from stdin on Windows 10 seems to be broken #44

Closed GOATS2K closed 3 years ago

GOATS2K commented 3 years ago

Hey!

I attempted to run the following command in Powershell:

.\flac.exe 'in.flac' -s -d -c | .\fdkaac.exe - --ignorelength --bitrate 192 -w 20000 -o test.m4a

Which resulted in the following error message:

ERROR: unsupported input file

What's strange is that the same exact command worked fine in Ubuntu 20.04.

Do you have any idea on where we can begin debugging this?

Edit: Actually, running the command in Command Prompt works just fine - it's just very slow.

nu774 commented 3 years ago

You just cannot pipe binary data in powershell: https://stackoverflow.com/questions/54086430/how-to-pipe-binary-data-in-powershell

GOATS2K commented 3 years ago

Ah, that's unfortunate. Thanks for your help!