From owner-freebsd-questions@FreeBSD.ORG Thu Apr 21 08:27:27 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 3B7C5106566B for ; Thu, 21 Apr 2011 08:27:27 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id DC2218FC08 for ; Thu, 21 Apr 2011 08:27:26 +0000 (UTC) Received: from r55.edvax.de (port-92-195-63-56.dynamic.qsc.de [92.195.63.56]) by mx02.qsc.de (Postfix) with ESMTP id E8EA21D993; Thu, 21 Apr 2011 10:27:23 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p3L8RMco004075; Thu, 21 Apr 2011 10:27:22 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 21 Apr 2011 10:27:22 +0200 From: Polytropon To: Antonio Olivares Message-Id: <20110421102722.051ec595.freebsd@edvax.de> In-Reply-To: References: <1303137127.24099.10.camel@zbox> <20110419043207.0932f0a9.freebsd@edvax.de> <20110420035235.74651221.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions 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 Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Apr 2011 08:27:27 -0000 On Wed, 20 Apr 2011 14:52:56 -0500, Antonio Olivares wrote: > Here's output from shell > > [olivares@grulla ~]$ mplayer dvd://1 > MPlayer SVN-r32577-snapshot-4.2.1 (C) 2000-2010 MPlayer Team > > Playing dvd://1. > 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://1 > > > Exiting... (End of file) This looks like mplayer is accessing the drive, but cannot play the file. A "missing codec" error should look different. > I have tried different movies and get similar results :( 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. *** 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, ...