New submission from David Tombs <[email protected]>:
I am trying to convert from a MOV captured with my digital camera to an ogv
(libtheora/libvorbis). oggvorbis_encode_init fails with the unspecific message:
"oggvorbis_encode_init: init_encoder failed", which doesn't help with tweaking
the parameters at all. I would like to request more detailed logging in the case
of a failure.
Sample command line and output:
da...@fueron$ ffmpeg -y -i P1230717.MOV -vcodec libtheora -acodec libvorbis
out.ogv
FFmpeg version 0.6-4:0.6-2ubuntu6, Copyright (c) 2000-2010 the FFmpeg developers
built on Oct 5 2010 22:36:53 with gcc 4.4.5
configuration: --extra-version=4:0.6-2ubuntu6 --prefix=/usr --enable-avfilter
--enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm
--enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis
--enable-vaapi --enable-pthreads --enable-zlib --enable-libvpx
--disable-stripping --enable-runtime-cpudetect --enable-gpl --enable-postproc
--enable-x11grab --enable-libdc1394 --enable-shared --disable-static
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.19. 0 / 1.19. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'P1230717.MOV':
Duration: 00:01:04.50, start: 0.000000, bitrate: 11085 kb/s
Stream #0.0(eng): Video: mjpeg, yuvj420p, 640x480, 11020 kb/s, 30 fps, 30
tbr, 30 tbn, 30 tbc
Stream #0.1(eng): Audio: pcm_u8, 8000 Hz, 1 channels, u8, 64 kb/s
[libvorbis @ 0x1cc1360]oggvorbis_encode_init: init_encoder failed
Output #0, ogg, to 'out.ogv':
Stream #0.0(eng): Video: libtheora, yuv420p, 640x480, q=2-31, 200 kb/s, 90k
tbn, 30 tbc
Stream #0.1(eng): Audio: libvorbis, 8000 Hz, 1 channels, s16, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Error while opening encoder for output stream #0.1 - maybe incorrect parameters
such as bit_rate, rate, width or height
If someone can give me a confirmation that it would be considered, I can try
writing a patch.
----------
messages: 12308
priority: normal
status: new
substatus: new
title: libvorbis init_encoder failures are unspecific
type: feature_request
________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2311>
________________________________________________