PINE64

Full Version: Tutorial[ Multimedia ] : Play DVD movies
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello All,
DvD movies have a security system called  css ..
Without a proper Library capable of reading the Dvd you will not be able to play movies..

Pay attention to the Legislation on your Country, in case its ok..

videolan.org Team have a library, for that, but they don't provide a aarch64 package..
I haven't found it in the ayufan repo, with the correct name..but its there with 'libdvd-pkg' , its a package that automates the process of downloading, compiling and installing, but I got Errors with it..


So I compiled the Source Code..
The last version is 1.4.2.

1). Clone the project:
Code:
cd /opt && git clone --branch 1.4.2 https://code.videolan.org/videolan/libdvdcss.git && cd libdvdcss

2). Remake Gnu Build system files in all dirs to default to '.'
Code:
autoreconf -i

3). Configure with prefix to install in '/usr/local'( its already the default..)
Code:
./configure CFLAGS="-O3 -march=armv8-a+simd+crypto+crc -mtune=cortex-a72.cortex-a53" --prefix=/usr/local

4). Compile the code
Code:
make -j4

 5). If no errors, install:

Code:
make install
 
6). Check if Libraries are really there:
Code:
[email protected]:/opt/libdvdcss# find /usr -name libdvdcss\*
/usr/local/lib/pkgconfig/libdvdcss.pc
/usr/local/lib/libdvdcss.la
/usr/local/lib/libdvdcss.so.2.2.0
/usr/local/lib/libdvdcss.a
/usr/local/lib/libdvdcss.so
/usr/local/lib/libdvdcss.so.2
/usr/local/share/doc/libdvdcss

7). Remove all the downloaded source code:
Code:
cd / && rm -rf /opt/libdvdcss

Done!!

Now the player,
I think for now the best option is the mpv, or any skin for it, ..bsplayer?
I use bsplayer which uses mpv beneath, and its easy to configure legends, sound tracks and so on.., it seems to consume less resources..


Hope you enjoy,
Best Regards