Re: [FFmpeg-user] Can't select appropriate encoder
Am Di., 28. Jan. 2020 um 20:51 Uhr schrieb alex jamshedi : > pipeout = popen("ffmpeg -y -f s32be -ar 131072 -ac 1 -i -c:a pmc_s32be > hydro.wav, "w"); It's pcm not pmc, but you cannot put pcm_s32be into wav because be is not supported in wav. After "-i" a filename is expected, not another option. Please remember to always provide the command line you tested together with the complete, uncut console output when asking questions here. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
[FFmpeg-user] Can't select appropriate encoder
Hi, I am piping a buffer to ffmpeg in my c code. I am using ffmpeg version 3.2.10-1~deb9u1+rpt1 on the raspberry pi. Ffmpeg is giving me issues with the following line. pipeout = popen("ffmpeg -y -f s32be -ar 131072 -ac 1 -i -c:a pmc_s32be hydro.wav, "w"); When I run the code, ffmpeg does not like the "-c:a pmc_s32e" part. I get an error stating: "-c:a Protocol not found. Did you mean file:-c:a?". When I change my code to "file:-c:a" I then get the error: "file:-c:a: No such file or directory". The reason I need this piece is because ffmpeg defaults to outputting pcm_s16le audio when I need pcm_s32be. I have tried "-c:a copy" as well. No luck. Any help would be appreciated. Thanks. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".