On Fri, Apr 20, 2007 at 10:34:20PM +0200, Helmut Pozimski wrote: > > Diego Biurrun schrieb: > > On Fri, Apr 20, 2007 at 09:31:32PM +0200, Helmut Pozimski wrote: > >> Diego Biurrun schrieb: > >>> On Fri, Apr 20, 2007 at 08:25:57PM +0200, Helmut Pozimski wrote: > >>>> everytime I want to play a ogg-theora file gmplayer says "Error! Could > >>>> not open codec" but plays the file correctly. Mplayer supports theora > >>>> almost perfectly so I think the message should be removed. If i start > >>>> mplayer without gui this message is not shown. > >>> Useless bug report, mplayer -v output please. > >>> > >> helmut 21:25 ~# mplayer -v > > > > Umm, what we need is the verbose output of MPlayer while playing the > > file in question, i.e. add the '-v' switch to the command line while > > playing the file. > > > Ok, sorry, here is it. > > MPlayer 1.0rc1-4.1.2-DFSG-free (C) 2000-2006 MPlayer Team > CommandLine: '-v' '23.ogg' > > Playing 23.ogg. > ==> Found video stream: 0 > [Ogg] stream 0: video (Theora v3.2.0), -vid 0 > ======= VIDEO Format ====== > biSize 40 > biWidth 480 > biHeight 384 > biPlanes 3 > biBitCount 24 > biCompression 1868916852='theo' > biSizeImage 552960 > =========================== > Ogg file format detected. > VIDEO: [theo] 480x384 24bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s) > [V] filefmt:18 fourcc:0x6F656874 size:480x384 fps:25.00 ftime:=0.0400 > ========================================================================== > Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family > [theora @ 0xcbde60]Missing extradata! > Could not open codec. > VDecoder init failed :( > Opening video decoder: [theora] Theora/VP3 > INFO: Theora video init ok! > Selected video codec: [theora] vfm: theora (Theora (free, reworked VP3)) > ==========================================================================
This is a known problem, the native Ogg demuxer does not provide the FFmpeg decoder the extradata in the right format IIRC. It should work fine if you add '-demuxer lavf' to the command line and use the libavformat Ogg demuxer instead. There is no real (short-term) fix for this, both demuxers have a different set of strengths and weaknesses... Diego -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]