Bug 128074 - multimedia/mplayer does not play CSS encrypted DVDs
Summary: multimedia/mplayer does not play CSS encrypted DVDs
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-13 21:50 UTC by Boris Hollas
Modified: 2009-01-06 18:58 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Hollas 2008-10-13 21:50:01 UTC
MPlayer shows only scrambled video output if playing a CSS encrypted DVDs. 

I installed MPlayer from ports:

MPLAYER_PORT_VERSION=	0.99.10
DISTNAME=	MPlayer-1.0rc1

I verified that the directory /usr/ports/multimedia/mplayer/work/MPlayer-1.0rc1/libmpdvdkit2/ exists and it contains MPlayer's own dvdread and dvdcss. I compiled the same tarball on Debian Linux and was able to play CSS encrypted DVDs.

How-To-Repeat: - Put CSS encrypted DVD in drive (most commercial DVDs)
- invoke mplayer:
  ~> mplayer dvd://
- result: scrambled video output and following messages:

MPlayer 1.0rc1-4.2.1 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) III Mobile CPU      1200MHz (Family: 6, Model: 11, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

Playing dvd://.
There are 4 titles on this DVD.
There are 24 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: cs aid: 130.
audio stream: 3 format: ac3 (stereo) language: hu aid: 131.
audio stream: 4 format: ac3 (stereo) language: pl aid: 132.
number of audio channels on disk: 5.
subtitle ( sid ): 0 language: en
subtitle ( sid ): 1 language: en
subtitle ( sid ): 2 language: de
subtitle ( sid ): 3 language: sv
subtitle ( sid ): 4 language: da
subtitle ( sid ): 5 language: no
subtitle ( sid ): 6 language: fi
subtitle ( sid ): 7 language: nl
subtitle ( sid ): 8 language: bg
subtitle ( sid ): 9 language: is
number of subtitles on disk: 10
MPEG-PS file format detected.
VIDEO:  MPEG2  720x576  (aspect 3)  25.000 fps  7500.0 kbps (937.5 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 adding the scale filter, 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
a52: CRC check failed!  
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
a52: error at resampling
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 
a52: CRC check failed!  0.272 ct:  0.000   1/  1 ??% ??% ??,?% 0 0 
a52: error at resampling
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.
a52: CRC check failed!  0.040 ct:  0.028  10/ 10 ??% ??% ??,?% 1 0 
a52: error at resampling
a52: CRC check failed!  0.020 ct:  0.035  19/ 19 12%  7% 30.7% 1 0 
a52: CRC check failed!  0.092 ct:  0.035  20/ 20 11%  7% 32.7% 1 0 
a52: error at resampling
a52: CRC check failed!  0.072 ct:  0.063  29/ 29 12% 20% 32.3% 2 0 
a52: error at resampling

The same happens if I mount /cdrom and run mplayer on the *.VOB files.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2008-10-16 09:29:19 UTC
Responsible Changed
From-To: freebsd-i386->freebsd-ports

Reclassify.
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2008-10-16 11:16:01 UTC
Maintainer of multimedia/mplayer,

Please note that PR ports/128074 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/128074

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2008-10-16 11:16:02 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 4 Volker Werth freebsd_committer freebsd_triage 2008-10-16 11:16:11 UTC
Responsible Changed
From-To: freebsd-ports->freebsd-ports-bugs

correct responsibility
Comment 5 Thomas E. Zander 2008-10-21 12:07:47 UTC
Unfortunately I don't have a DVD drive at the moment in my BSD box, so
I can't verify or falsify, but "it should work".
Can you install mplayer from scratch, maybe with a clean ports tree and
without external libdvdread (if there was one).
Please observe the dvdread/css sections during the configure stage.

Riggs
Comment 6 martin.dieringer 2008-10-21 21:08:24 UTC
same problem here with PORTREVISION=   8 (rc2)

make configure ends with
   Enabled optional drivers:
     Input: ftp tv-bsdbt848 tv live555 cddb cdda libdvdcss(internal)
            dvdread(internal) vcd network

I have both libdvdcss and libdvdread ports installed, nevertheless it
will compile internal ones, but mplayer does not decrypt DVDs.
Comment 7 Boris Hollas 2008-10-27 20:50:13 UTC
I installed FreeBSD 7 on a new hard drive and I also installed mplayer. As  
before, mplayer doesn't play CSS encoded DVDs (shows only scrambled  
images).

I observed the following during configure:

Checking for DVD support (libdvdnav) ... no
Checking for DVD support (libmpdvdkit2) ... yes
Checking for DVD support (libdvdread) ... no (disabled by libmpdvdkit2)
Comment 8 Martin Wilke freebsd_committer freebsd_triage 2009-01-06 18:58:36 UTC
State Changed
From-To: feedback->closed

Fixed now with ports/129810. Thanks for your submission.