From owner-freebsd-multimedia@FreeBSD.ORG Wed Jan 28 23:12:17 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 1D8D51065737 for ; Wed, 28 Jan 2009 23:12:17 +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 BAA608FC2B for ; Wed, 28 Jan 2009 23:12:16 +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 n0SNCFoD066233 for ; Thu, 29 Jan 2009 00:12:15 +0100 (CET) (envelope-from cracauer@koef.zs64.net) Received: (from cracauer@localhost) by koef.zs64.net (8.14.3/8.14.3/Submit) id n0SNCFNQ066232 for freebsd-multimedia@freebsd.org; Wed, 28 Jan 2009 18:12:15 -0500 (EST) (envelope-from cracauer) Date: Wed, 28 Jan 2009 18:12:15 -0500 From: Martin Cracauer To: freebsd-multimedia@freebsd.org Message-ID: <20090128231215.GA66041@cons.org> References: <20090110020407.GA53254@cons.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090110020407.GA53254@cons.org> User-Agent: Mutt/1.4.2.3i Subject: Re: 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: Wed, 28 Jan 2009 23:12:17 -0000 For what it's worth, I debugged that somewhat and it seems to be a FreeBSD-7.x userland issue. Using a 7.x kernel on the working 6.x machine doesn't break it. Using the working 6.x /usr/local on the 7.x machine does not work either. So some dependency on /lib or /usr/lib things should be responsible. Threading, malloc, that kind of thing. I'm digging more, but I want to leave a trail in case anyone finds this in google. [nothing new below but left for reference] Martin Cracauer wrote on Fri, Jan 09, 2009 at 09:04:07PM -0500: > 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/ -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer http://www.cons.org/cracauer/ FreeBSD - where you want to go, today. http://www.freebsd.org/