Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Apr 2011 07:38:57 -0500
From:      Antonio Olivares <olivares14031@gmail.com>
To:        Polytropon <freebsd@edvax.de>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: can't determine sound card driver to use in /etc/rc.conf
Message-ID:  <BANLkTinHiT793APHUpNsHcyYN2cKOKR5bg@mail.gmail.com>
In-Reply-To: <20110421102722.051ec595.freebsd@edvax.de>
References:  <BANLkTin1S%2BRcr=NUp9L_WHMZ-Nqo5S5d4w@mail.gmail.com> <1303137127.24099.10.camel@zbox> <BANLkTimx=%2BQppV17edyMwsh8RqjfosAJMg@mail.gmail.com> <20110419043207.0932f0a9.freebsd@edvax.de> <BANLkTim9Lsozhxp2nBr8vG9Tm-NpxmJwsw@mail.gmail.com> <20110420035235.74651221.freebsd@edvax.de> <BANLkTin2OwpfY=E9po4nc=Bs23FvHoLLfg@mail.gmail.com> <20110421102722.051ec595.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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
>
> =A0 =A0 =A0 =A0% cdcontrol info
> =A0 =A0 =A0 =A0Starting track =3D 1, ending track =3D 1, TOC size =3D 18 =
bytes
> =A0 =A0 =A0 =A0track =A0 =A0 start =A0duration =A0 block =A0length =A0 ty=
pe
> =A0 =A0 =A0 =A0-------------------------------------------------
> =A0 =A0 =A0 =A0 =A0 =A01 =A0 0:02.00 =A0206:28.68 =A0 =A0 =A0 0 =A0929168=
 =A0 data
> =A0 =A0 =A0 =A0 =A0170 =A0206:30.68 - 929168 =A0 =A0 =A0 - =A0 =A0 =A0-
>
> Step 2: Identify file system
>
> =A0 =A0 =A0 =A0% file - < /dev/acd0
> =A0 =A0 =A0 =A0/dev/stdin: UDF filesystem data (version 1.5) 'THX_1138 =
=A0 =A0 =A0 =A0'
>
> Step 3: Mount file system and check content
>
> =A0 =A0 =A0 =A0% sudo mount -t cd9660 -o ro /dev/acd0 /mnt
>
> =A0 =A0 =A0 =A0% ls -R /mnt
> =A0 =A0 =A0 =A0audio_ts/ video_ts/
> =A0 =A0 =A0 =A0/mnt/audio_ts:
> =A0 =A0 =A0 =A0/mnt/video_ts:
> =A0 =A0 =A0 =A0video_ts.bup* vts_01_1.vob* vts_02_0.bup* vts_03_0.vob* vt=
s_05_0.bup*
> =A0 =A0 =A0 =A0video_ts.ifo* vts_01_2.vob* vts_02_0.ifo* vts_03_1.vob* vt=
s_05_0.ifo*
> =A0 =A0 =A0 =A0video_ts.vob* vts_01_3.vob* vts_02_0.vob* vts_04_0.bup* vt=
s_05_0.vob*
> =A0 =A0 =A0 =A0vts_01_0.bup* vts_01_4.vob* vts_02_1.vob* vts_04_0.ifo* vt=
s_05_1.vob*
> =A0 =A0 =A0 =A0vts_01_0.ifo* vts_01_5.vob* vts_03_0.bup* vts_04_0.vob*
> =A0 =A0 =A0 =A0vts_01_0.vob* vts_01_6.vob* vts_03_0.ifo* vts_04_1.vob*
>
> =A0 =A0 =A0 =A0% sudo umount /mnt
>
> Step 4: Play DVD content - ATTENTION - DVD not mounted for that!
>
> =A0 =A0 =A0 =A0% mplayer -alang de -aid 129 dvd://2
> =A0 =A0 =A0 =A0MPlayer 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team
> =A0 =A0 =A0 =A0CPU: Intel(R) Celeron(R) CPU 2.00GHz (Family: 15, Model: 2=
,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Stepping:9)
> =A0 =A0 =A0 =A0CPUflags: =A0MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2=
: 1
> =A0 =A0 =A0 =A0Compiled with runtime CPU detection.
>
> =A0 =A0 =A0 =A0Playing dvd://2.
>
> =A0 =A0 =A0 =A0There are 21 titles on this DVD.
> =A0 =A0 =A0 =A0There are 50 chapters in this DVD title.
> =A0 =A0 =A0 =A0There are 1 angles in this DVD title.
>
> =A0 =A0 =A0 =A0audio stream: 0 format: ac3 (5.1) language: en aid: 128.
> =A0 =A0 =A0 =A0audio stream: 1 format: ac3 (5.1) language: de aid: 129.
> =A0 =A0 =A0 =A0audio stream: 2 format: ac3 (5.1) language: es aid: 130.
> =A0 =A0 =A0 =A0audio stream: 3 format: ac3 (stereo) language: en aid: 131=
.
> =A0 =A0 =A0 =A0audio stream: 4 format: ac3 (5.1) language: en aid: 132.
> =A0 =A0 =A0 =A0number of audio channels on disk: 5.
>
> =A0 =A0 =A0 =A0subtitle ( sid ): 0 language: en
> =A0 =A0 =A0 =A0subtitle ( sid ): 1 language: de
> =A0 =A0 =A0 =A0subtitle ( sid ): 2 language: es
> =A0 =A0 =A0 =A0subtitle ( sid ): 3 language: fr
> =A0 =A0 =A0 =A0subtitle ( sid ): 4 language: it
> =A0 =A0 =A0 =A0subtitle ( sid ): 5 language: pt
> =A0 =A0 =A0 =A0subtitle ( sid ): 6 language: da
> =A0 =A0 =A0 =A0subtitle ( sid ): 7 language: fi
> =A0 =A0 =A0 =A0subtitle ( sid ): 8 language: iw
> =A0 =A0 =A0 =A0subtitle ( sid ): 9 language: is
> =A0 =A0 =A0 =A0subtitle ( sid ): 10 language: no
> =A0 =A0 =A0 =A0subtitle ( sid ): 11 language: sv
> =A0 =A0 =A0 =A0subtitle ( sid ): 12 language: hr
> =A0 =A0 =A0 =A0subtitle ( sid ): 13 language: cs
> =A0 =A0 =A0 =A0subtitle ( sid ): 14 language: el
> =A0 =A0 =A0 =A0subtitle ( sid ): 15 language: pl
> =A0 =A0 =A0 =A0subtitle ( sid ): 16 language: hu
> =A0 =A0 =A0 =A0subtitle ( sid ): 17 language: tr
> =A0 =A0 =A0 =A0subtitle ( sid ): 18 language: sl
> =A0 =A0 =A0 =A0subtitle ( sid ): 19 language: en
> =A0 =A0 =A0 =A0subtitle ( sid ): 20 language: de
> =A0 =A0 =A0 =A0number of subtitles on disk: 21
> =A0 =A0 =A0 =A0MPEG-PS file format detected.
> =A0 =A0 =A0 =A0VIDEO: =A0MPEG2 =A0720x576 =A0(aspect 3) =A025.000 fps =A0=
9800.0 kbps (1225.0 kbyte/s)
> =A0 =A0 =A0 =A0=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
> =A0 =A0 =A0 =A0Opening video decoder: [mpegpes] MPEG 1/2 Video passthroug=
h
> =A0 =A0 =A0 =A0VDec: vo config request - 720 x 576 (preferred colorspace:=
 Mpeg PES)
> =A0 =A0 =A0 =A0Could not find matching colorspace - retrying with -vf sca=
le...
> =A0 =A0 =A0 =A0Opening video filter: [scale]
> =A0 =A0 =A0 =A0The selected video_out device is incompatible with this co=
dec.
> =A0 =A0 =A0 =A0Try appending the scale filter to your filter list,
> =A0 =A0 =A0 =A0e.g. -vf spp,scale instead of -vf spp.
> =A0 =A0 =A0 =A0VDecoder init failed :(
> =A0 =A0 =A0 =A0Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder l=
ibmpeg2-v0.4.0b
> =A0 =A0 =A0 =A0Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 =
(libmpeg2))
> =A0 =A0 =A0 =A0=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
> =A0 =A0 =A0 =A0=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
> =A0 =A0 =A0 =A0Opening audio decoder: [liba52] AC3 decoding with liba52
> =A0 =A0 =A0 =A0Using SSE optimized IMDCT transform
> =A0 =A0 =A0 =A0Using MMX optimized resampler
> =A0 =A0 =A0 =A0AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48=
000->192000)
> =A0 =A0 =A0 =A0Selected audio codec: [a52] afm: liba52 (AC3-liba52)
> =A0 =A0 =A0 =A0=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
> =A0 =A0 =A0 =A0AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
> =A0 =A0 =A0 =A0Starting playback...
> =A0 =A0 =A0 =A0VDec: vo config request - 720 x 576 (preferred colorspace:=
 Planar YV12)
> =A0 =A0 =A0 =A0VDec: using Planar YV12 as output csp (no 0)
> =A0 =A0 =A0 =A0Movie-Aspect is 1.78:1 - prescaling to correct movie aspec=
t.
> =A0 =A0 =A0 =A0VO: [xv] 720x576 =3D> 1024x576 Planar YV12
> =A0 =A0 =A0 =A0New_Face failed. Maybe the font path is wrong. 2 ??% ??% ?=
?,?% 0 0
> =A0 =A0 =A0 =A0Please supply the text font file (~/.mplayer/subfont.ttf).
> =A0 =A0 =A0 =A0subtitle font: load_sub_face failed.
> =A0 =A0 =A0 =A0A: =A0 2.7 V: =A0 2.6 A-V: =A00.069 ct: =A00.098 =A061/ 61=
 14% 13% 30.6% 0 0
> =A0 =A0 =A0 =A0Exiting... (Quit)
>
> =A0 =A0 =A0 =A0... 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?

Thanks as always for helping :)

Regards,

Antonio



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTinHiT793APHUpNsHcyYN2cKOKR5bg>