Bug#607593: ffmpeg: encoding ogg fails:[libtheora @ 0x2567a80]theora_encode_init failed. Use debian-multimedia.org fine.
Hi again, Héctor, On Mon, Dec 20, 2010 at 08:40:12AM +, Hector Oron wrote: 2010/12/20 Jonas Smedegaard : On Mon, Dec 20, 2010 at 03:57:28AM +, Hector Oron wrote: 2010/12/20 Jonas Smedegaard : On Mon, Dec 20, 2010 at 02:05:31AM +, 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. In other words you find it "important *not* because it is related to the "well known free and open source" codec OGG/Theora, but instead because it is related to the "common" codec h264? Thanks for clarifying. The video team, I believe, use gear which output DV format video, so should not be affected by this bug. More info here: http://dvswitch.alioth.debian.org/wiki/ 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: great! Thanks for testing. - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private signature.asc Description: Digital signature ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers
Bug#607593: ffmpeg: encoding ogg fails:[libtheora @ 0x2567a80]theora_encode_init failed. Use debian-multimedia.org fine.
Hello, 2010/12/20 Jonas Smedegaard : > On Mon, Dec 20, 2010 at 03:57:28AM +, Hector Oron wrote: >> 2010/12/20 Jonas Smedegaard : >>> On Mon, Dec 20, 2010 at 02:05:31AM +, 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 libavcodec52.20. 1 / 52.20. 1 libavformat 52.31. 0 / 52.31. 0 libavdevice 52. 1. 0 / 52. 1. 0 libavfilter0. 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.00, 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 ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers
Bug#607593: ffmpeg: encoding ogg fails:[libtheora @ 0x2567a80]theora_encode_init failed. Use debian-multimedia.org fine.
On Mon, Dec 20, 2010 at 03:57:28AM +, Hector Oron wrote: 2010/12/20 Jonas Smedegaard : On Mon, Dec 20, 2010 at 02:05:31AM +, 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. Good point. The file you tested was h264 format, though. Could you please test with an OGG/Theora file with packages from unstable? - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private signature.asc Description: Digital signature ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers
Bug#607593: ffmpeg: encoding ogg fails:[libtheora @ 0x2567a80]theora_encode_init failed. Use debian-multimedia.org fine.
Hello, 2010/12/20 Jonas Smedegaard : > On Mon, Dec 20, 2010 at 02:05:31AM +, 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. I believe it is "important" to Debian, because I can imagine video-team trying to setup streams during conferences, trying to use (not yet) released squeeze distribution and causing undesired set of issues added to the ones that already happen. Of course, users [0] could also complain when their setups break, nor to talk on the set of scripts people might run producing the wrong behaviour, inclding derivatives from Debian and having to spend quite a while to dig where the problem is, which it already happen to me today. >> On a pure Debian/unstable system, I attempt to convert *.flv to >> *.ogg and it fails in many ways (I tried many options during the day). > The FFmpeg in unstable has been frozen since around july. Sure, feel free to downgrade severity if you find it appropriate. > For latest and greatest FFmpeg, try install from experimental. Thanks. Version in `experimental' seems to fix the problem. [...] Setting up libavutil50 (4:0.6.1-2) ... Setting up libva1 (1.0.4-1) ... Setting up libvpx0 (0.9.5-1) ... Setting up libavcodec52 (4:0.6.1-2) ... Setting up libgpg-error0 (1.6-1) ... Setting up libgcrypt11 (1.4.6-2) ... Setting up libtasn1-3 (2.7-1) ... Setting up libgnutls26 (2.10.4-1) ... Setting up librtmp0 (2.3-2) ... Setting up libavformat52 (4:0.6.1-2) ... Setting up libavdevice52 (4:0.6.1-2) ... Setting up libswscale0 (4:0.6.1-2) ... Setting up libavfilter1 (4:0.6.1-2) ... Setting up libpostproc51 (4:0.6.1-2) ... Setting up ffmpeg (4:0.6.1-2) ... $ ffmpeg -y -i Underworld_Born_Slippy_1999_Live-K7Pts7AljZQ.flv Underworld_Born_Slippy_1999_Live-K7Pts7AljZQ.oggFFmpeg version 0.6.1-4:0.6.1-2, Copyright (c) 2000-2010 the FFmpeg developers built on Nov 19 2010 10:06:54 with gcc 4.4.5 configuration: --extra-version=4:0.6.1-2 --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-vaapi --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-x11grab --enable-libfaad --enable-librtmp --enable-libdc1394 --enable-shared --disable-static WARNING: library configuration mismatch libavutil configuration: --extra-version=4:0.6.1-2 --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-vaapi --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-x11grab --enable-libfaad --enable-librtmp --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay libavcodec configuration: --extra-version=4:0.6.1-2 --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-vaapi --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-x11grab --enable-libfaad --enable-librtmp --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay libavformat configuration: --extra-version=4:0.6.1-2 --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-vaapi --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-x11grab --enable-libfaad --enable-librtmp --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay libavdevice configuration: --extra-version=4:0.6.1-2 --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-vaapi --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-x11grab --enable-libfaad --enable-librtmp --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-sha
Bug#607593: ffmpeg: encoding ogg fails:[libtheora @ 0x2567a80]theora_encode_init failed. Use debian-multimedia.org fine.
Hi Héctor, On Mon, Dec 20, 2010 at 02:05:31AM +, 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. On a pure Debian/unstable system, I attempt to convert *.flv to *.ogg and it fails in many ways (I tried many options during the day). The FFmpeg in unstable has been frozen since around july. For latest and greatest FFmpeg, try install from experimental. After installing packages from debian-multimedia.org, everything works fine at the first time. Interesting. Similar to it being interesting if it worked better with manually compiled FFmpeg or Fedora. Nothing else than that. Kind regards, - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private signature.asc Description: Digital signature ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers
Bug#607593: ffmpeg: encoding ogg fails:[libtheora @ 0x2567a80]theora_encode_init failed. Use debian-multimedia.org fine.
Package: ffmpeg Version: 4:0.5.2-6 Severity: important Hello, On a pure Debian/unstable system, I attempt to convert *.flv to *.ogg and it fails in many ways (I tried many options during the day). After installing packages from debian-multimedia.org, everything works fine at the first time. $ ffmpeg -y -i Underworld_Born_Slippy_1999_Live-K7Pts7AljZQ.flv Underworld_Born_Slippy_1999_Live-K7Pts7AljZQ.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 libavcodec52.20. 1 / 52.20. 1 libavformat 52.31. 0 / 52.31. 0 libavdevice 52. 1. 0 / 52. 1. 0 libavfilter0. 4. 0 / 0. 4. 0 libswscale 0. 7. 1 / 0. 7. 1 libpostproc 51. 2. 0 / 51. 2. 0 built on Oct 5 2010 13:32:26, gcc: 4.4.5 Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 25.00 (25/1) Input #0, flv, from 'Underworld_Born_Slippy_1999_Live-K7Pts7AljZQ.flv': Duration: 00:08:25.12, start: 0.00, bitrate: 378 kb/s Stream #0.0: Video: h264, yuv420p, 322x288 [PAR 1:1 DAR 161:144], 378 kb/s, 25 tbr, 1k tbn, 50 tbc Stream #0.1: Audio: aac, 44100 Hz, stereo, s16 Output #0, ogg, to 'Underworld_Born_Slippy_1999_Live-K7Pts7AljZQ.ogg': Stream #0.0: Video: libtheora, yuv420p, 322x288 [PAR 1:1 DAR 161:144], q=2-31, 200 kb/s, 90k tbn, 25 tbc Stream #0.1: Audio: flac, 44100 Hz, stereo, s16, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 [libtheora @ 0x2567a80]theora_encode_init failed Error while opening codec for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height After installing debian-multimedia.org packages, I get a successful output: FFmpeg version SVN-r25838, Copyright (c) 2000-2010 the FFmpeg developers built on Nov 29 2010 15:39:30 with gcc 4.4.5 configuration: --enable-libdc1394 --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-avfilter --enable-libdirac --disable-decoder=libdirac --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --extra-libs=-lgcrypt --disable-altivec --disable-armv5te --disable-armv6 --disable-vis libavutil 50.33. 0 / 50.33. 0 libavcore 0.14. 0 / 0.14. 0 libavcodec52.97. 2 / 52.97. 2 libavformat 52.87. 1 / 52.87. 1 libavdevice 52. 2. 2 / 52. 2. 2 libavfilter1.65. 0 / 1.65. 0 libswscale 0.12. 0 / 0.12. 0 libpostproc 51. 2. 0 / 51. 2. 0 [flv @ 0x69e760] Estimating duration from bitrate, this may be inaccurate Input #0, flv, from 'Underworld_Born_Slippy_1999_Live-K7Pts7AljZQ.flv': Metadata: duration: 505 starttime : 0 totalduration : 505 width : 322 height : 288 videodatarate : 370 audiodatarate : 118 totaldatarate : 496 framerate : 25 bytelength : 31356776 canseekontime : true sourcedata : BCCF6EA03HH1292793577283876 purl: pmsg: Duration: 00:08:25.12, start: 0.00, bitrate: 500 kb/s Stream #0.0: Video: h264, yuv420p, 322x288 [PAR 1:1 DAR 161:144], 378 kb/s, 25 tbr, 1k tbn, 50 tbc Stream #0.1: Audio: aac, 44100 Hz, stereo, s16, 121 kb/s [buffer @ 0x6b1ce0] w:322 h:288 pixfmt:yuv420p Output #0, ogg, to 'Underworld_Born_Slippy_1999_Live-K7Pts7AljZQ.ogg': Metadata: duration: 505 starttime : 0 totalduration : 505 width : 322 height : 288 videodatarate : 370 audiodatarate : 118 totaldatarate : 496 framerate : 25 bytelength : 31356776 canseekontime : true sourcedata : BCCF6EA03HH1292793577283876 purl: pmsg: encoder : Lavf52.87.1 Stream #0.0: Video: libtheora, yuv420p, 322x288 [PAR 1:1 DAR 161:144], q=2-31, 200 kb/s, 25 tbn, 25 tbc Stream #0.1: Audio: flac, 44100 Hz, stereo, s16, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press [q] to stop encoding frame= 75 fps= 0 q=0.0 size= 256kB time=2.93 bitrate= 718.0kbits/s [...] video:12328kB audio:55087kB global