Am Fr., 17. Mai 2019 um 15:53 Uhr schrieb 雷京颢 <[email protected]>: > What I trying to do : convert PCM data to mp3 data(should be > AV_SAMPLE_FMT_S16P--16bit signed) > What I actually get: AV_SAMPLE_FMT_FLTP
If you convert pcm into mp3, you definitely don't get AV_SAMPLE_FMT_FLTP (but mp3). The lame encoder in FFmpeg supports s32p, fltp and s16p as input. If you decode mp3 (with FFmpeg) with mp3float, you get AV_SAMPLE_FMT_FLTP. If you decode mp3 with mp3, you get AV_SAMPLE_FMT_S16P Carl Eugen _______________________________________________ Libav-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/libav-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
