From owner-freebsd-questions@FreeBSD.ORG Thu Apr 21 21:32:31 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 032351065670 for ; Thu, 21 Apr 2011 21:32:31 +0000 (UTC) (envelope-from kingedgar@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 60DD78FC1B for ; Thu, 21 Apr 2011 21:32:29 +0000 (UTC) Received: by wwc33 with SMTP id 33so132584wwc.31 for ; Thu, 21 Apr 2011 14:32:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=OLAvpF6dkOzvWvOvRfI/tJM19hD4AnFUgjLoYFq4u6M=; b=LPBUqIssPNUouPjVHHRc0OhZ0PbMcMN4mjXbCmQw94RYBJctoegoCXJwZ1qiERjRci Ujw+v3oneC333J/oo8cLUK5BrgtfkdROnpRwlub+cVOAbhzRJWKjZhHfLJb6mEm2UDgw F06quOywAFBS9Y1YvjxwHCSD9dhekKpRB0+Z4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=pA3YiRWTGZDNa0voh0BF1ywZahfw7CJgjzozUiw6B0REnU3aotkkajY4TDfkuuJJwc Y33afqNDM4ClZKP/i+aUdvW3v5mS856pIlg7gYH4Tlzxyd+GZ7WRyC16D1p/0W/RxEEW mdadyH6JOaqS0o1/JIjm+GIV0DshM68ixrN70= MIME-Version: 1.0 Received: by 10.216.179.137 with SMTP id h9mr418394wem.4.1303419830753; Thu, 21 Apr 2011 14:03:50 -0700 (PDT) Received: by 10.216.53.211 with HTTP; Thu, 21 Apr 2011 14:03:50 -0700 (PDT) In-Reply-To: References: <1303137127.24099.10.camel@zbox> <20110419043207.0932f0a9.freebsd@edvax.de> <20110420035235.74651221.freebsd@edvax.de> <20110421102722.051ec595.freebsd@edvax.de> Date: Thu, 21 Apr 2011 16:03:50 -0500 Message-ID: From: Jason Garrett To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: can't determine sound card driver to use in /etc/rc.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Apr 2011 21:32:31 -0000 On Thu, Apr 21, 2011 at 07:38, Antonio Olivares wrote: > > So you can exclude media error. > > > > Maybe this "diagnostic script" from my outbox can > > help you to track down the error. It has been "made" > > on 7-STABLE i386 with mplayer-0.99.11_3 - a quite > > old system. See if the steps described here can be > > reproduced on your system in a similar way. > > > >FreeBSD Questions > > > > *** > > > > Here's an example of my "THX 1138" movie DVD: > > > > Step 1: Identify media > > > > % cdcontrol info > > Starting track = 1, ending track = 1, TOC size = 18 bytes > > track start duration block length type > > ------------------------------------------------- > > 1 0:02.00 206:28.68 0 929168 data > > 170 206:30.68 - 929168 - - > > > > Step 2: Identify file system > > > > % file - < /dev/acd0 > > /dev/stdin: UDF filesystem data (version 1.5) 'THX_1138 ' > > > > Step 3: Mount file system and check content > > > > % sudo mount -t cd9660 -o ro /dev/acd0 /mnt > > > > % ls -R /mnt > > audio_ts/ video_ts/ > > /mnt/audio_ts: > > /mnt/video_ts: > > video_ts.bup* vts_01_1.vob* vts_02_0.bup* vts_03_0.vob* > vts_05_0.bup* > > video_ts.ifo* vts_01_2.vob* vts_02_0.ifo* vts_03_1.vob* > vts_05_0.ifo* > > video_ts.vob* vts_01_3.vob* vts_02_0.vob* vts_04_0.bup* > vts_05_0.vob* > > vts_01_0.bup* vts_01_4.vob* vts_02_1.vob* vts_04_0.ifo* > vts_05_1.vob* > > vts_01_0.ifo* vts_01_5.vob* vts_03_0.bup* vts_04_0.vob* > > vts_01_0.vob* vts_01_6.vob* vts_03_0.ifo* vts_04_1.vob* > > > > % sudo umount /mnt > > > > Step 4: Play DVD content - ATTENTION - DVD not mounted for that! > > > > % mplayer -alang de -aid 129 dvd://2 > > MPlayer 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team > > CPU: Intel(R) Celeron(R) CPU 2.00GHz (Family: 15, Model: 2, > > Stepping:9) > > CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 > > Compiled with runtime CPU detection. > > > > Playing dvd://2. > > > > There are 21 titles on this DVD. > > There are 50 chapters in this DVD title. > > There are 1 angles in this DVD title. > > > > audio stream: 0 format: ac3 (5.1) language: en aid: 128. > > audio stream: 1 format: ac3 (5.1) language: de aid: 129. > > audio stream: 2 format: ac3 (5.1) language: es aid: 130. > > audio stream: 3 format: ac3 (stereo) language: en aid: 131. > > audio stream: 4 format: ac3 (5.1) language: en aid: 132. > > number of audio channels on disk: 5. > > > > subtitle ( sid ): 0 language: en > > subtitle ( sid ): 1 language: de > > subtitle ( sid ): 2 language: es > > subtitle ( sid ): 3 language: fr > > subtitle ( sid ): 4 language: it > > subtitle ( sid ): 5 language: pt > > subtitle ( sid ): 6 language: da > > subtitle ( sid ): 7 language: fi > > subtitle ( sid ): 8 language: iw > > subtitle ( sid ): 9 language: is > > subtitle ( sid ): 10 language: no > > subtitle ( sid ): 11 language: sv > > subtitle ( sid ): 12 language: hr > > subtitle ( sid ): 13 language: cs > > subtitle ( sid ): 14 language: el > > subtitle ( sid ): 15 language: pl > > subtitle ( sid ): 16 language: hu > > subtitle ( sid ): 17 language: tr > > subtitle ( sid ): 18 language: sl > > subtitle ( sid ): 19 language: en > > subtitle ( sid ): 20 language: de > > number of subtitles on disk: 21 > > MPEG-PS file format detected. > > VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 9800.0 kbps > (1225.0 kbyte/s) > > > ========================================================================== > > Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough > > VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg > PES) > > Could not find matching colorspace - retrying with -vf scale... > > Opening video filter: [scale] > > The selected video_out device is incompatible with this codec. > > Try appending the scale filter to your filter list, > > e.g. -vf spp,scale instead of -vf spp. > > VDecoder init failed :( > > Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder > libmpeg2-v0.4.0b > > Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 > (libmpeg2)) > > > ========================================================================== > > > ========================================================================== > > Opening audio decoder: [liba52] AC3 decoding with liba52 > > Using SSE optimized IMDCT transform > > Using MMX optimized resampler > > AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: > 48000->192000) > > Selected audio codec: [a52] afm: liba52 (AC3-liba52) > > > ========================================================================== > > AO: [oss] 48000Hz 2ch s16le (2 bytes per sample) > > Starting playback... > > VDec: vo config request - 720 x 576 (preferred colorspace: Planar > YV12) > > VDec: using Planar YV12 as output csp (no 0) > > Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. > > VO: [xv] 720x576 => 1024x576 Planar YV12 > > New_Face failed. Maybe the font path is wrong. 2 ??% ??% ??,?% 0 0 > > Please supply the text font file (~/.mplayer/subfont.ttf). > > subtitle font: load_sub_face failed. > > A: 2.7 V: 2.6 A-V: 0.069 ct: 0.098 61/ 61 14% 13% 30.6% 0 0 > > Exiting... (Quit) > > > > ... and it plays ... > > > > You don't have to use -alang or -aid as mplayer will default to the > > (for you correct) english language defaults. In this example, track 2 > > is the 1st part of the actual movie. > > > > *** > > > > > > Also try what happens if you mount the DVD and use mplayer > > on a VOB file directly, e. g. "mplayer /mnt/video_ts/vts_01_1.vob". > > The output should be similar... > > > > > > > > -- > > Polytropon > > Magdeburg, Germany > > Happy FreeBSD user since 4.0 > > Andra moi ennepe, Mousa, ... > > > > Tried to mount the dvd, but sadly the system rebooted and I had to > fsck three to 4 times to get the system back :(, I will try to not to > mount it, don't want to go through that. Tried to put in another dvd > that works on other computers, and I get : > > [olivares@grulla /usr/home/olivares]$ mplayer dvdnav:// > MPlayer SVN-r32577-snapshot-4.2.1 (C) 2000-2010 MPlayer Team > > Playing dvdnav://. > libdvdnav: Using dvdnav version MPlayer-custom > libdvdread: Using libdvdcss version 1.2.10 for DVD access > libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed > libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed > libdvdread: Can't open file VIDEO_TS.IFO. > libdvdnav: vm: failed to read VIDEO_TS.IFO > Couldn't open DVD device: /dev/acd0 (Input/output error) > No stream found to handle url dvdnav:// > > > Exiting... (End of file) > [olivares@grulla /usr/home/olivares]$ mplayer dvd:// > MPlayer SVN-r32577-snapshot-4.2.1 (C) 2000-2010 MPlayer Team > > Playing dvd://. > libdvdread: Using libdvdcss version 1.2.10 for DVD access > libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed > libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed > libdvdread: Can't open file VIDEO_TS.BU. > Can't open VMG info! > No stream found to handle url dvd:// > > > Exiting... (End of file) > [olivares@grulla /usr/home/olivares]$ > > I have to blame mplayer or is it FreeBSD? The movie is good, it plays > on my other FreeBSD box, is something wrong or should I try to go for > vlc? > My vote goes to vlc. I have not had a problem for quite some time. > > Thanks as always for helping :) > > Regards, > > Antonio > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >