Bug#607593: ffmpeg: encoding ogg fails:[libtheora @ 0x2567a80]theora_encode_init failed. Use debian-multimedia.org fine.

Hector Oron hector.oron at gmail.com
Mon Dec 20 08:40:12 UTC 2010


Hello,

2010/12/20 Jonas Smedegaard <dr at jones.dk>:
> On Mon, Dec 20, 2010 at 03:57:28AM +0000, Hector Oron wrote:

>> 2010/12/20 Jonas Smedegaard <dr at jones.dk>:

>>> On Mon, Dec 20, 2010 at 02:05:31AM +0000, Hector Oron wrote:

>>>> Severity: important

>>> FFmpeg supports a wide range of codecs.  Please elaborate on why you
>>> believe this particular combination is "important" for Debian generally.

>> `ogg' format and `libtheora' codec are one of the well known free and open
>> source codecs which could be used by video team.

> The file you tested was h264 format, though.

Yes, if I am not mistaken h264 is one of the common formats out there.
I am not aware of any video gear producing OGG format by default.

> Could you please test with an OGG/Theora file with packages from unstable?

I tested on 'squeeze', OGV to OGG encoding seem to work fine:

$ wget http://ftp.acc.umu.se/pub/debian-meetings/2009/debconf9/low/1050_Lightning_talk_Redirecting_require.ogv
$ ffmpeg -i 1050_Lightning_talk_Redirecting_require.ogv
1050_Lightning_talk_Redirecting_require.ogg

FFmpeg version SVN-r0.5.2-4:0.5.2-6, Copyright (c) 2000-2009 Fabrice
Bellard, et al.
  configuration: --extra-version=4:0.5.2-6 --prefix=/usr
--enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib
--enable-libdirac --enable-libgsm --enable-libopenjpeg
--enable-libschroedinger --enable-libspeex --enable-libtheora
--enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping
--disable-vhook --enable-runtime-cpudetect --enable-gpl
--enable-postproc --enable-swscale --enable-x11grab --enable-libfaad
--enable-libdc1394 --enable-shared --disable-static
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 1 / 52.20. 1
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    0. 4. 0 /  0. 4. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Oct  5 2010 08:33:07, gcc: 4.4.5
[theora @ 0x86cc500]7 bits left in packet 82
Input #0, ogg, from '1050_Lightning_talk_Redirecting_require.ogv':
  Duration: 00:00:02.48, start: 0.000000, bitrate: 20775 kb/s
    Stream #0.0: Invalid Codec type -1
    Stream #0.1: Video: theora, yuv420p, 320x240, 25 tbr, 25 tbn, 25 tbc
    Stream #0.2: Audio: vorbis, 32000 Hz, mono, s16, 64 kb/s
Output #0, ogg, to '1050_Lightning_talk_Redirecting_require.ogg':
    Stream #0.0: Video: libtheora, yuv420p, 320x240, q=2-31, 200 kb/s,
90k tbn, 25 tbc
    Stream #0.1: Audio: flac, 32000 Hz, mono, s16, 64 kb/s
Stream mapping:
  Stream #0.1 -> #0.0
  Stream #0.2 -> #0.1
[theora @ 0x86cc500]7 bits left in packet 82
Press [q] to stop encoding
frame=   88 fps=  0 q=0.0 size=     163kB time=3.17 bitrate= 422.5kbits/s
[...]
video:4826kB audio:5848kB global headers:3kB muxing overhead 2.224901%

Both files play well on 'vlc' from Squeeze.

Cheers,
-- 
 Héctor Orón

"Our Sun unleashes tremendous flares expelling hot gas into the Solar
System, which one day will disconnect us."

-- Day DVB-T stop working nicely
Video flare: http://antwrp.gsfc.nasa.gov/apod/ap100510.html





More information about the pkg-multimedia-maintainers mailing list