Difference between revisions of "Dvd-plugin"

From VDR Wiki
Jump to: navigation, search
(CVS)
Line 1: Line 1:
 
==Description==
 
==Description==
[[Image:Dvd-plugin(setup).jpg|thumb|Setup]]
+
'''Author:''' Andreas Schultz, Sven Goethel
The '''DVD plugin''' can play DVDs with their DVD menu.
+
  
{{Box Critical|
+
A DVD Player plugin.
The usage and distribution of the ''libdvdcss'' library is illegal in some countries (e.g. USA). The plugin does not need this library, but then CSS protected DVDs cannot be played.
+
}}
+
  
==Hardware requirements==
+
===Status===
* DVD drive
+
Last Update 01/2009 (cvs)
  
==Software requirements==
+
==Images==
* a52dec
+
<gallery>
* libdvdnav
+
Image:dvd-plugin-00.jpg|''Settings''
 +
</gallery>
  
==Installation==
+
==Usage==
To install a52dec
+
{| class="wikitable"
cd $SOURCEDIR
+
|-
tar -xvzf a52dec-<VERSION>.tar.gz
+
| bgcolor=red | Red
cd a52dec-<VERSION>
+
| go to position (direct input of pos)
./configure --prefix=/usr/local
+
|-
make
+
| bgcolor=lime | Green
make install
+
| 1 min. backward
ldconfig
+
|-
 +
| bgcolor=yellow | Yellow
 +
| 1 min. forward
 +
|-
 +
| bgcolor=blue | Blue
 +
| Go to Title (Number)
 +
|-
 +
| bgcolor=#efefef | Back
 +
| Stop replay - end plugin
 +
|-
 +
| bgcolor=#efefef | Ok
 +
| Toggle progress bar
 +
|-
 +
| bgcolor=#efefef | Up, kPlay
 +
| Play
 +
|-
 +
| bgcolor=#efefef | Down, kPause
 +
| Pause
 +
|-
 +
| bgcolor=#efefef | Left/Right
 +
| Fast backward/Fast forward (Fast during play mode, slow in pause mode)
 +
|-
 +
| bgcolor=#efefef | kFastRew/kFastFwd
 +
|
 +
|-
 +
| bgcolor=#efefef | Audio (earlier versions: 1)
 +
| Next audio track - OSD Menue && audio key
 +
|-
 +
| bgcolor=#efefef | 2
 +
| next subtitle, '2' several times for choice, then 'Ok'
 +
|-
 +
| bgcolor=#efefef | 3
 +
| next
 +
|-
 +
| bgcolor=#efefef | 4
 +
| previous chapter
 +
|-
 +
| bgcolor=#efefef | 6
 +
| next chapter
 +
|-
 +
| bgcolor=#efefef | 7, kChanDn
 +
| previous title
 +
|-
 +
| bgcolor=#efefef | 9, kChanUp
 +
| next title
 +
|-
 +
| bgcolor=#efefef | 5
 +
| DvdNavigationForce ON / DVD main menu (if progress on)
 +
|-
 +
| bgcolor=#efefef | 8
 +
| DVD title menue
 +
|-
 +
| bgcolor=#efefef | 0
 +
| DVD audio menue (language selection)
 +
|}
  
and libdvdnav
+
==Hardware Requirements==
cd $SOURCEDIR
+
* DVD-ROM or DVD-Burner
tar -xvzf libdvdnav-<VERSION>.tar.gz
+
cd libdvdnav-<VERSION>
+
./configure --prefix=/usr/local
+
make
+
make install
+
ldconfig
+
  
See also [[plugin installation]].
+
==Software Requirements==
 +
* a52dec
 +
* libdvdcss (optional, see NOTE)
 +
* libdvdnav
 +
* libdvdread
  
===Options===
+
{{Box Critical|
As the libraries are installed with ''--prefix=/usr/local'', the '''Makefile''' has to be adapted
+
The usage and distribution of the ''libdvdcss'' library is illegal in some countries (e.g. USA). The plugin can be build and used without this library, but then CSS protected DVDs cannot be played.
- NAVDIR = /usr/include/dvdnav
+
}}
+ NAVDIR = /usr/local/include/dvdnav
+
  
 
==Configuration==
 
==Configuration==
 
===Parameter===
 
===Parameter===
{| border=1 cellpadding=2 cellspacing=0
+
{| class="wikitable"
|- bgcolor=#efdead
+
|-
 
!Parameter (short)
 
!Parameter (short)
 
!Parameter (long)
 
!Parameter (long)
 
!Description
 
!Description
 
|-
 
|-
| -C DEV || --dvd=DEV || use DEV as the DVD device (default: /dev/dvd)
+
| -C ''<DEV>'' || --dvd=''<DEV>'' || use ''<DEV>'' as DVD device (default: ''/dev/dvd'')
 
|}
 
|}
 +
The command line starting VDR (i.e. in runvdr) has to be extended (replace sdX by DVDs device node):
 +
-P'dvd -C/dev/sdX'
  
==Problems==
+
==Other==
 +
===Problems===
 +
* Some buyed DVDs are not played, plugin segfaults && shows in logfiles "libdvdnav: ifoRead_VOBU_ADMAP vtsi failed".
 +
* [http://www.heise.de/newsticker/meldung/89306 read here: German DVDs with new copy protection]
 +
* Solution:
 +
** use other versions of libdvdnav and libdvdread
 +
*** libdvdnav_0.1.10-0.2-3.tar.gz
 +
*** libdvdread_0.9.7-2-1.tar.gz
  
==CVS==
+
===Tipps===
cvs -d:pserver:anonymous@dvdplugin.cvs.sourceforge.net:/cvsroot/dvdplugin login
+
* [http://www.vdr-portal.de/board/thread.php?postid=558770 play DVDs from other computer (German)]
  
cvs -z3 -d:pserver:anonymous@dvdplugin.cvs.sourceforge.net:/cvsroot/dvdplugin co -P dvd
+
===Snapshot===
 +
cvs -d:pserver:anonymous@dvdplugin.cvs.sourceforge.net:/cvsroot/dvdplugin login
 +
cvs -z3 -d:pserver:anonymous@dvdplugin.cvs.sourceforge.net:/cvsroot/dvdplugin co -P dvd
 +
 
 +
==Current Version==
 +
[http://sourceforge.net/project/downloading.php?group_id=110541&filename=vdr-dvd-0.3.6_b03.bz2&a=39400504 0.3.6b] '''NOTE: outdated, use cvs version!'''
  
 
==Links==
 
==Links==
{|
+
# [http://sourceforge.net/projects/dvdplugin Plugins Homepage]
| [1]
+
| http://sourceforge.net/projects/dvdplugin
+
| Project site at SourceForge
+
|-
+
| [2]
+
| http://liba52.sourceforge.net
+
| A free ATSC A/52-Stream-Dekoder
+
|-
+
| [3]
+
| http://developers.videolan.org
+
| VideoLAN developer homepage
+
|-
+
| [4]
+
| http://dvd.sourceforge.net
+
| DVD resources for Open-Source development
+
|}
+
  
 
[[Category:Plugins]]
 
[[Category:Plugins]]
 
+
[[Category:Mediaplayer Plugins]]
 
{{i18n|dvd-plugin}}
 
{{i18n|dvd-plugin}}

Revision as of 20:09, 30 November 2013

Description

Author: Andreas Schultz, Sven Goethel

A DVD Player plugin.

Status

Last Update 01/2009 (cvs)

Images

Usage

Red go to position (direct input of pos)
Green 1 min. backward
Yellow 1 min. forward
Blue Go to Title (Number)
Back Stop replay - end plugin
Ok Toggle progress bar
Up, kPlay Play
Down, kPause Pause
Left/Right Fast backward/Fast forward (Fast during play mode, slow in pause mode)
kFastRew/kFastFwd
Audio (earlier versions: 1) Next audio track - OSD Menue && audio key
2 next subtitle, '2' several times for choice, then 'Ok'
3 next
4 previous chapter
6 next chapter
7, kChanDn previous title
9, kChanUp next title
5 DvdNavigationForce ON / DVD main menu (if progress on)
8 DVD title menue
0 DVD audio menue (language selection)

Hardware Requirements

  • DVD-ROM or DVD-Burner

Software Requirements

  • a52dec
  • libdvdcss (optional, see NOTE)
  • libdvdnav
  • libdvdread
Critical
Critical

The usage and distribution of the libdvdcss library is illegal in some countries (e.g. USA). The plugin can be build and used without this library, but then CSS protected DVDs cannot be played.


Configuration

Parameter

Parameter (short) Parameter (long) Description
-C <DEV> --dvd=<DEV> use <DEV> as DVD device (default: /dev/dvd)

The command line starting VDR (i.e. in runvdr) has to be extended (replace sdX by DVDs device node):

-P'dvd -C/dev/sdX'

Other

Problems

  • Some buyed DVDs are not played, plugin segfaults && shows in logfiles "libdvdnav: ifoRead_VOBU_ADMAP vtsi failed".
  • read here: German DVDs with new copy protection
  • Solution:
    • use other versions of libdvdnav and libdvdread
      • libdvdnav_0.1.10-0.2-3.tar.gz
      • libdvdread_0.9.7-2-1.tar.gz

Tipps

Snapshot

cvs -d:pserver:anonymous@dvdplugin.cvs.sourceforge.net:/cvsroot/dvdplugin login
cvs -z3 -d:pserver:anonymous@dvdplugin.cvs.sourceforge.net:/cvsroot/dvdplugin co -P dvd

Current Version

0.3.6b NOTE: outdated, use cvs version!

Links

  1. Plugins Homepage