From nobody@FreeBSD.org  Mon Oct 13 20:48:04 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 73661106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 13 Oct 2008 20:48:04 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 617418FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 13 Oct 2008 20:48:04 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id m9DKm43q027248
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 13 Oct 2008 20:48:04 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id m9DKm3Ao027247;
	Mon, 13 Oct 2008 20:48:03 GMT
	(envelope-from nobody)
Message-Id: <200810132048.m9DKm3Ao027247@www.freebsd.org>
Date: Mon, 13 Oct 2008 20:48:03 GMT
From: Boris Hollas <borish@gmx.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: MPlayer does not play CSS encrypted DVDs
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: riggs@rrr.de

>Number:         128074
>Category:       ports
>Synopsis:       multimedia/mplayer does not play CSS encrypted DVDs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 13 20:50:01 UTC 2008
>Closed-Date:    Tue Jan 06 18:58:37 UTC 2009
>Last-Modified:  Tue Jan 06 18:58:37 UTC 2009
>Originator:     Boris Hollas
>Release:        7.0
>Organization:
>Environment:
FreeBSD Thinkpad 7.0-RELEASE FreeBSD 7.0-RELEASE #1: Sat Sep 27 22:50:14 CEST 2008     boris@Thinkpad:/usr/obj/usr/src/sys/THINKPAD  i386

>Description:
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.
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-i386->freebsd-ports 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Oct 16 08:29:19 UTC 2008 
Responsible-Changed-Why:  
Reclassify. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=128074 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu Oct 16 10:16:02 UTC 2008 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=128074 
Responsible-Changed-From-To: freebsd-ports->freebsd-ports-bugs 
Responsible-Changed-By: vwe 
Responsible-Changed-When: Thu Oct 16 10:16:11 UTC 2008 
Responsible-Changed-Why:  
correct responsibility 

http://www.freebsd.org/cgi/query-pr.cgi?pr=128074 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: riggs@rrr.de
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/128074: multimedia/mplayer does not play CSS encrypted DVDs
Date: Thu, 16 Oct 2008 10:16:01 UT

 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

From: "Thomas E. Zander" <riggs@rrr.de>
To: bug-followup@FreeBSD.ORG
Cc:  
Subject: Re: ports/128074: multimedia/mplayer does not play CSS encrypted
	DVDs
Date: Tue, 21 Oct 2008 19:07:47 +0800

 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

From: Martin Dieringer <martin.dieringer@gmx.de>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/128074
Date: Tue, 21 Oct 2008 22:08:24 +0200 (CEST)

 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.
 

From: "Boris Hollas" <boris.hollas@gmx.de>
To: bug-followup@freebsd.org, borish@gmx.de
Cc: riggs@rrr.de
Subject: Re: ports/128074: multimedia/mplayer does not play CSS encrypted DVDs
Date: Mon, 27 Oct 2008 21:50:13 +0100

 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)
State-Changed-From-To: feedback->closed 
State-Changed-By: miwi 
State-Changed-When: Tue Jan 6 18:58:36 UTC 2009 
State-Changed-Why:  
Fixed now with ports/129810. Thanks for your submission. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=128074 
>Unformatted:
