ffmpeg fails to create webm content if audio bitrate is less than 44K

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

ffmpeg fails to create webm content if audio bitrate is less than 44K

herbert westmacott
Hi

ffmpeg CLI  fails to encode webm content if the audio bitrate is less
than or equal to44k.  If I set it to be greater than 44K then it works
without a problem.

So if I run the the following command ffmpeg -y -i miley.youtube.webm
-b 300k -ab 32k -f webm test.webm, then I get the following error
"[libvorbis @ 0x186e000] oggvorbis_encode_init: init_encoder failed".
If I set the audio bitrate to 48K for example I dont have any
problems.

Is this a limitation of using libvorbis with ffmpeg or a bug.

Thanks
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: ffmpeg fails to create webm content if audio bitrate is less than 44K

herbert westmacott
Hi

Forgot to add the following version details.

FFmpeg version SVN-r24456.
Libvorbis Version 1.2.0

Thanks
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: ffmpeg fails to create webm content if audio bitrate is less than 44K

James Darnley
Can you reproduce the issue when encoding only the audio to an ogg file?
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: ffmpeg fails to create webm content if audio bitrate is less than 44K

herbert westmacott
Hi James

I cannot reproduce this problem at all when encoding audio only or
video and audio to the ogg format with the audio bitrate below 44k.

So this commands works fine going to ogg format;

 ffmpeg -y -i miley.youtube.webm -b 300k -ab 32k test.ogg

But this same command (apart from specifying different format) fails
when going to webm format; with the error "[libvorbis @ 0x1b4e7000]
oggvorbis_encode_init: init_encoder failed" and ffmpeg gives up trying
to encode the content.

 ffmpeg -y -i miley.youtube.webm -b 300k -ab 32k test.webm

Thanks
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
Loading...