From owner-freebsd-multimedia@FreeBSD.ORG Sat Jan 10 02:43:07 2009 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A95A9106564A for ; Sat, 10 Jan 2009 02:43:07 +0000 (UTC) (envelope-from cracauer@koef.zs64.net) Received: from koef.zs64.net (koef.zs64.net [212.12.50.230]) by mx1.freebsd.org (Postfix) with ESMTP id 245D68FC0C for ; Sat, 10 Jan 2009 02:43:06 +0000 (UTC) (envelope-from cracauer@koef.zs64.net) Received: from koef.zs64.net (koef.zs64.net [212.12.50.230]) by koef.zs64.net (8.14.3/8.14.3) with ESMTP id n0A2481N057280 for ; Sat, 10 Jan 2009 03:04:08 +0100 (CET) (envelope-from cracauer@koef.zs64.net) Received: (from cracauer@localhost) by koef.zs64.net (8.14.3/8.14.3/Submit) id n0A2472F057278 for freebsd-multimedia@freebsd.org; Fri, 9 Jan 2009 21:04:07 -0500 (EST) (envelope-from cracauer) Date: Fri, 9 Jan 2009 21:04:07 -0500 From: Martin Cracauer To: freebsd-multimedia@freebsd.org Message-ID: <20090110020407.GA53254@cons.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: Xine and real video recently broke X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jan 2009 02:43:07 -0000 This got me puzzled. Real video recently broke (I think it worked) in my FreeBSD/i386 Xine. It still works in mplayer and they both use the same binary codecs. %% I have xine and mplayer set up in FreeBSD and Linux. I use the same binary codecs and the same libxine version. FreeBSD/xine doesn't work, the other three combinations work. The video in question plays through this stack of software layers in all 4 players: - libxine.../src/input/libreal/*.c [FreeBSD or Linux native file compiled into xine] - binary codec drv4.so.6.0 - binary codec drvc.so I have verified with verbose output and `ls -ltruT` that the Linux and FreeBSD xines both access these same codecs and the md5s on both machines are the same. drv4.so.6.0 is a Linux file, but it is supposed to work under FreeBSD. I am mostly positive that this worked before some recent upgrades (6.x -> 7.x and general ports upgrade). But the real trick is that FreeBSD's mplayer works, using this *.so file. The video in question is public domain, I can make it available to whoever is interested. %% More details: Here's xine verbose on FreeBSD: gui_xine_open_and_play(): mrl: '/tmp/Rabaulal19656.rm', sub 'NONE', start_pos 0, start_time 0, av_offset 0, spu_offset 0. xine: found input plugin : file input plugin xine: found demuxer plugin: RealMedia file demux plugin demux_real: buf type 0x03210000 frame size 2304 block align 32 video_decoder: no plugin available to handle 'Real Video 4.0' ---------------------- (ERROR) ---------------------- A problem occur while loading a library or a decoder: drvc.soffmpeg_audio_dec: increasing buffer to 98304 to avoid overflow. ------------------ (END OF ERROR) ------------------- The error message seems to be related to audio, not video. But the working Linux/i386 does not display the same message for this video. Here's the working Linux output: gui_xine_open_and_play(): mrl: '/space/video/cache/ww2-vids/Rabaulal19656.rm', sub 'NONE', start_pos 0, start_time 0, av_offset 0, spu_offset 0. xine: found input plugin : file input plugin xine: found demuxer plugin: RealMedia file demux plugin demux_real: buf type 0x03210000 frame size 2304 block align 32 info_helper: can't find out current locale character set info_helper: can't find out current locale character set info_helper: can't find out current locale character set ffmpeg_audio_dec: increasing buffer to 98304 to avoid overflow. info_helper: can't find out current locale character set ffmpeg_audio_dec: cook audio channels 1 bits 16 sample rate 8000 block align 32 av_offset=0 pts spu_offset=0 pts osd: can't find out current locale character set Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer http://www.cons.org/cracauer/ FreeBSD - where you want to go, today. http://www.freebsd.org/