can't determine sound card driver to use in /etc/rc.conf
Antonio Olivares
olivares14031 at gmail.com
Thu Apr 21 12:38:59 UTC 2011
> 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, ...
>
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 at 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 at 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 at 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?
Thanks as always for helping :)
Regards,
Antonio
More information about the freebsd-questions
mailing list