u2takey / ffmpeg-go

golang binding for ffmpeg
Apache License 2.0
1.66k stars 167 forks source link

cannot output on non-FilterableStream #93

Open Ifaliuk opened 1 year ago

Ifaliuk commented 1 year ago

I have some code: ffmpeg.Input(inFileName).Output(outFileName, ffmpeg.KwArgs{ "acodec": "pcm_s16le", "af": "afftdn", "ar": 16000, }).OverWriteOutput().WithOutput(os.Stdout).Run()
it is raise panic: cannot output on non-FilterableStream but when I run compiled command in terminal: ffmpeg -i ./676376294.mp3 -acodec pcm_s16le -af afftdn -ar 16000 ./676376294_out.wav -y it's working fine

flyingsnoopy commented 1 year ago

Did you also get the 0xc00000a020 error: %s (0x7ff672ccf7a0,0xc0001231a0) exit status 1?

Ifaliuk commented 1 year ago

Did you also get the 0xc00000a020 error: %s (0x7ff672ccf7a0,0xc0001231a0) exit status 1?

No, only panic with message: cannot output on non-FilterableStream

flyingsnoopy commented 1 year ago

Anyway,maybe you can try to update your ffmpeg.