LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-31-2024, 04:40 PM   #1
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,026
Blog Entries: 3

Rep: Reputation: 133Reputation: 133
Question Using dd to create an iso file of a dvd


I use dd to archive my dvd's as an iso file
This way I can use vlc to play the iso file like a dvd
A few dvd's don't play once the iso is ceated, but only after I've removed the dvd from the drive and moved on to a new didk.
While the didk is still in the drive and the iso has been created I can play the iso file, and use HandBrakeCLI to process the titles. Once the dvd is removed none of this works.

I'm guessing vlc loads the dvd decryption libraries, you can see this happening when you play the dvd or the iso (if it plays) by the blocky nature of the playback as the decryption process does it's work.

My question is what and how do I identify and load the decryption libraries so that vlc and HandBrakeCLI will work?

In the meantime I'll just use MakeMKV
 
Old 01-31-2024, 11:19 PM   #2
lvm_
Member
 
Registered: Jul 2020
Posts: 927

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
You probably need libdvdcss https://www.videolan.org/developers/libdvdcss.html
 
Old 02-01-2024, 09:46 AM   #3
arespi
LQ Newbie
 
Registered: Apr 2016
Posts: 13

Rep: Reputation: Disabled
Hi , What I do is to take the .vob files inside the VIDEO_TS folder and rename them .mpg. Then they can be played by vlc.
If you need to make them a single file just cat file1 file2 .. fileN > final_file
 
Old 02-01-2024, 11:15 AM   #4
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,026

Original Poster
Blog Entries: 3

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by arespi View Post
Hi , What I do is to take the .vob files inside the VIDEO_TS folder and rename them .mpg. Then they can be played by vlc.
If you need to make them a single file just cat file1 file2 .. fileN > final_file
This disk doesn't allow me tp copy the vob files, I get a splicimg error, but I could use dvdbackup with the -M option
Code:
dvdbackup -i /dev/sr0 -M
But using MakeMKV is simpler.

And you don't need to rename them to .mpg files, leaving them as VOBs works just fine, even when concatenating them.
 
Old 02-01-2024, 11:17 AM   #5
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,026

Original Poster
Blog Entries: 3

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by lvm_ View Post
It is installed, that's why VLC works and can play the DVD
Code:
ie:~$ /sbin//ldconfig  -p|grep dvdc
	libdvdcss.so.2 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libdvdcss.so.2
So why can't VLC play the iso file created by dd?
 
Old 02-01-2024, 11:39 AM   #6
lvm_
Member
 
Registered: Jul 2020
Posts: 927

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
Start vlc from the command line and examine the output.
 
Old 02-01-2024, 01:06 PM   #7
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,026

Original Poster
Blog Entries: 3

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by lvm_ View Post
Start vlc from the command line and examine the output.
Of course, and I'm guessing this is the crucial line
Code:
[00007fa8a4169cd0] avcodec decoder: Using NVIDIA VDPAU Driver Shared Library  340.108  Wed Dec 11 14:31:24 PST 2019 for hardware decoding
and this was all the preamble beforehand
Code:
lie:~$ qvlc dvd://
VLC media player 3.0.9.2 Vetinari (revision 3.0.9.2-0-gd4c1aefe4d)
qt5ct: using qt5ct plugin
qt5ct: D-Bus global menu: no
qt5ct: D-Bus system tray: no
libdvdnav: Using dvdnav version 6.0.1
libdvdnav: DVD Title: DVDVolume
libdvdnav: DVD Serial Number: c7ef85d9        
libdvdnav: DVD Title (Alternative): DVDVolume
libdvdnav: DVD disk reports itself with Region mask 0x00fd0000. Regions: 2

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000142
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00000349
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x00003371
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x00003407
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x0010ae95
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x0010af2b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x0021fa18
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x0021faae
libdvdread: Elapsed time 0
libdvdread: Found 4 VTS's
libdvdread: Elapsed time 0
[00007fa898002e20] egl_x11 gl error: cannot select OpenGL API
And the libavcodec library is here:
Code:
lie:~$ /sbin//ldconfig  -p|grep libavcodec
	libavcodec.so.58 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libavcodec.so.58
	libavcodec.so.58 (libc6) => /usr/lib/i386-linux-gnu/libavcodec.so.58
	libavcodec.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libavcodec.so
So the question is how to run this when playing the iso backup file?

Last edited by GPGAgent; 02-01-2024 at 01:09 PM.
 
Old 02-01-2024, 01:18 PM   #8
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,026

Original Poster
Blog Entries: 3

Rep: Reputation: 133Reputation: 133
Okay I've made a bit of progress, I ran qvlc on the iso file and it fails on one title, title 4, the rest play just fine
Also playing the iso file it reports an error opening BDMV/index.bdmv and BDMV/backup/index.bdmv
Code:
qvlc /media/jonke/SEAG_5TB/FILES/DVDs/TheSandbaggers/DISK03/D03.iso 
VLC media player 3.0.9.2 Vetinari (revision 3.0.9.2-0-gd4c1aefe4d)
qt5ct: using qt5ct plugin
qt5ct: D-Bus global menu: no
qt5ct: D-Bus system tray: no
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2585: nav_get_title_list((null)) failed
libdvdnav: Using dvdnav version 6.0.1
libdvdnav: DVD Title: DVDVolume
libdvdnav: DVD Serial Number: c7ef84e2        
libdvdnav: DVD Title (Alternative): DVDVolume
libdvdnav: DVD disk reports itself with Region mask 0x00fd0000. Regions: 2

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000145
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0000034b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x00003373
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x00003409
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x000e1a79
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x000e1b0f
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x001e7424
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x001e74ba
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_04_1.VOB (0x001e74ba)!!
libdvdread: Elapsed time 67
So it's getting there but not quite
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can I compile slackware-install-dvd.iso out of slackware-source-code-dvd.iso mshlinux Slackware 11 05-25-2013 01:40 PM
Extract ISO to HD, create ISO from Extractions, Boot ISO LemensTS Linux - Software 1 12-28-2010 01:10 PM
create iso file for DVD using mkisofs Slackware10.2 Ed_999 Slackware 3 02-27-2007 02:57 AM
How to create CD ISO from Fedora DVD ISO amjadakmal Fedora 2 05-24-2006 01:19 AM
Does anyone Know how to open either .iso.rz or these .iso.xdelta,.iso.bz2,.iso.lzma?? maximalred Debian 5 06-09-2004 06:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration