Re: [Libav-user] Audio encoding: more samples than frame size (avcodec_encode_audio2)

2016-09-20 Thread Yu Ang Tan
> > > [libvorbis @ 028b1520] more samples than frame size > > (avcodec_encode_audio2) > > Are you sure that you are encoding to flac? > > You were spot on. I was using "test.ogg" instead of "test.flac". I made the following changes and now it works fine. -

Re: [Libav-user] Audio encoding: more samples than frame size (avcodec_encode_audio2)

2016-09-20 Thread Carl Eugen Hoyos
2016-09-20 10:02 GMT+02:00 Yu Ang Tan : > I am trying to read an RTP audio stream, and encode it into a FLAC file. > However, when I am reading the stream, I get this error: > > [libvorbis @ 028b1520] more samples than frame size > (avcodec_encode_audio2) Are you sure that