Hello, All, I am learning the encoding functions in FFmpeg using the Latest Zeranoe Dev Build on Windows. I try to walk through the dev decoding_encoding.c from sample. However, audio_encode_example function does not work. It returns:
Encode audio file test.mp2 [mp2 @ 00993a80] Specified sample format -1 is invalid or not supported Could not open codec When I try to change the sample format to AV_SAMPLE_FMT_S16P (googled) it returns: Encode audio file test.mp2 Encoder does not support sample format s16p Process returned 1 (0x1) execution time : 0.039 s Press any key to continue. Could I know how should I resolve this issue / what could be the cause of this issue?
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
