On Mon, Apr 17, 2017 at 4:37 AM, 坎 wrote:
> Hi,
>
> When I tried to play a ogg file with audio formats as pcm_u8,it
> turned out to be pcm_s16le. By tracking the avformat_open_input, I got this:
>
> st->codecpar->codec_id = ff_codec_get_id(ff_codec_wav_tags,...)
>
>
Hi,
When I tried to play a ogg file with audio formats as pcm_u8??it
turned out to be pcm_s16le. By tracking the avformat_open_input, I got this:
st->codecpar->codec_id = ff_codec_get_id(ff_codec_wav_tags,...)
while, ff_codec_wav_tags as follows:
ff_codec_wav_tags[] = {
{
Hi, this is not entirely doable with ffmpeg code only, as it is platform
dependent. I can post some Windows/dshow code if that helps.
Cheers,
Marcelo
2017-04-16 17:44 GMT+02:00 Heiner Mueller :
>
> Hi All,
>
> can anyone point we to a working C/C++ example how to enumerate
Hi, I have this error:
[pcm_s32le @ 0x11d0e00] Specified sample format 48000 is invalid or not
supported
I want to encode a file to wav extension with 44800 sample rate.
But the error is very strange (It is a mix between sample format to sample
rate).
Ant ideas?
Yosef
--