LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-19-2019, 04:41 PM   #1
kaza
Member
 
Registered: Apr 2010
Distribution: FC17
Posts: 343

Rep: Reputation: 2
fc29: Can't read (neither vlc nor cp) files from DVD despite setting correct region


Hello!

I bought on Amazon two sets of DVDs ("Yes, minister" and "Yes, prime minister" complete
collections). Knowing that they'we marked as "US/Canada" region I thought that
I'll need to set the region code of my DVD player to "1" and that would be enough
to view/copy the files. The first set "Yes minister" played/copied without any problem,
even without the need to change the region code.

But the second set - neither "vlc" nor "cp" can read the files.
I set the region code to "1" - still the same.
I checked it with 2 disks from the second set - the same so it's probably
not a bad media issue. The DVD drive is relatively new so hardware errors in it
are also not likely (it plays other DVDs OK).

Here's what "cp" complained and the list of packages that I think are relevant:

Code:
<localhost.localdomain>.../user>ls /run/media/user/YES_PRIME_MINISTER_DISC1/VIDEO_TS/
total 7676140
-r--r--r--. 1 user user       8192 Jun 06 2003 21:15:05 VIDEO_TS.BUP
-r--r--r--. 1 user user       8192 Jun 06 2003 21:15:05 VIDEO_TS.IFO
-r--r--r--. 1 user user     141312 Jun 06 2003 20:47:19 VTS_01_0.BUP
-r--r--r--. 1 user user     141312 Jun 06 2003 20:47:19 VTS_01_0.IFO
-r--r--r--. 1 user user   25380864 Jun 06 2003 20:46:39 VTS_01_0.VOB
-r--r--r--. 1 user user 1073739776 Jun 06 2003 20:52:03 VTS_01_1.VOB
-r--r--r--. 1 user user 1073739776 Jun 06 2003 20:57:48 VTS_01_2.VOB
-r--r--r--. 1 user user 1073739776 Jun 06 2003 21:02:16 VTS_01_3.VOB
-r--r--r--. 1 user user  715866112 Jun 06 2003 21:04:35 VTS_01_4.VOB
-r--r--r--. 1 user user 1073739776 Jun 06 2003 21:07:27 VTS_01_5.VOB
-r--r--r--. 1 user user 1073739776 Jun 06 2003 21:10:18 VTS_01_6.VOB
-r--r--r--. 1 user user 1073739776 Jun 06 2003 21:13:07 VTS_01_7.VOB
-r--r--r--. 1 user user  633364480 Jun 06 2003 21:14:48 VTS_01_8.VOB
-r--r--r--. 1 user user      14336 Jun 06 2003 21:14:52 VTS_02_0.BUP
-r--r--r--. 1 user user      14336 Jun 06 2003 21:14:52 VTS_02_0.IFO
-r--r--r--. 1 user user          0 Jun 06 2003 21:14:49 VTS_02_0.VOB
-r--r--r--. 1 user user   42989568 Jun 06 2003 21:15:00 VTS_02_1.VOB
<localhost.localdomain>.../user>cp /run/media/user/YES_PRIME_MINISTER_DISC1/VIDEO_TS/VTS_01_1.VOB /home/user/Desktop/user/humor/yes_prime_minister/DVD_1
cp: error reading '/run/media/user/YES_PRIME_MINISTER_DISC1/VIDEO_TS/VTS_01_1.VOB': Input/output error
<localhost.localdomain>.../user>rpm -qa | grep gstreamer
gstreamer1-plugins-good-gtk-1.14.4-1.fc29.x86_64
gstreamer1-1.14.4-1.fc29.x86_64
gstreamer1-plugins-ugly-1.14.4-2.fc29.x86_64
gstreamer1-plugins-base-1.14.4-2.fc29.i686
gstreamer1-plugins-good-1.14.4-1.fc29.x86_64
gstreamer1-plugins-bad-freeworld-1.14.4-1.fc29.x86_64
gstreamer1-plugins-ugly-free-1.14.4-1.fc29.x86_64
phonon-backend-gstreamer-4.9.0-9.fc29.x86_64
PackageKit-gstreamer-plugin-1.1.12-2.fc29.x86_64
gstreamer1-1.14.4-1.fc29.i686
gstreamer1-plugins-bad-free-extras-1.14.4-1.fc29.x86_64
phonon-qt5-backend-gstreamer-4.9.0-9.fc29.x86_64
gstreamer1-plugins-good-extras-1.14.4-1.fc29.x86_64
gstreamer1-plugins-base-1.14.4-2.fc29.x86_64
gstreamer1-plugins-bad-free-1.14.4-1.fc29.x86_64
<root localhost.localdomain>.../root>rpm -qa | grep dvd
dvdbackup-0.4.2-11.fc29.x86_64
libdvdread-6.0.1-1.fc29.x86_64
libdvdcss-1.4.2-2.fc29.x86_64
libdvdnav-6.0.0-1.fc29.x86_64
dvd+rw-tools-7.1-29.fc29.x86_64
Have I forgot some package(s)?

TIA,
kaza.
 
Old 03-19-2019, 07:43 PM   #2
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Maybe the troubleshooting section of this article might work.
 
Old 03-21-2019, 04:32 AM   #3
kaza
Member
 
Registered: Apr 2010
Distribution: FC17
Posts: 343

Original Poster
Rep: Reputation: 2
Hi Brains, thanks for the reply!

I had some success with disabling DVD menus: after starting the vlc I could open the DVD,
select "No disk menus", select "convert", select destination as H264 MP4 file on my disk and it started...
It Created an MP4 file which vlc plays OK, however there appears to be some bug in the vlc: it's "stuck"
in an endless loop of repeating the same conversion into the same destination, which causes it to pause with
a prompt asking if I want to overwrite an existing file. Before answering "yes" I copied the file to another name
and vlc continued to convert the SAME VOB file from the DVD, despite the fact that there are 8 VOB files there.
So now the question is: how to solve this "endless loop on the same file"...

TIA,
kaza.
 
Old 03-21-2019, 09:34 AM   #4
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,507

Rep: Reputation: Disabled
Maybe try using handbrake, I used it to rip my old DVDs to disk a while back.

https://handbrake.fr/
 
Old 03-21-2019, 02:39 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,001

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
If you have a usb drive then try it on that problem system. My guess would be more a drive failure.
 
Old 03-23-2019, 12:35 AM   #6
kaza
Member
 
Registered: Apr 2010
Distribution: FC17
Posts: 343

Original Poster
Rep: Reputation: 2
Thanks for everyone for replies, I finally found the solution.

At first I had been puzzled as to "what should create the ~/.dvdcss directory with the keys"
(which I removed per some advices on the web). Then I found that it's the "vlc"
which creates it and after that, other sw can use the keys. So, the procedure that
worked for me was:

1) Install libdvdcss package.

2) Check no mount exists for the DVD title. "umount" it if it exists. Insert DVD, mount it.

3) start vlc from command line.

4) File -> Open disk -> "No disk menus" -> play some part of DVD.
That creates the ~/.dvdcss directory with the keys.

5) dvdbackup -i /dev/<DVD device name> -p -M

6) genisoimage -dvd-video -v -o <iso_file_name>.iso <name of directory created by dvdbackup>

7) Open iso file with "ark", select VOB files, drag&drop to some folder.

Now the VOB files can be played or loaded into "avidenux", etc.

Also, the ISO file can be opened with vlc and it plays, even with menus!



Now let's see how long this procedure will work until something will change
and break it... :-)
 
  


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] What happened to vlc in FC29 repository? kaza Fedora 3 03-05-2019 08:26 PM
Amarok won't play neither mp3 neither ogg JKostaRibeiro Slackware 14 01-30-2015 10:21 PM
neither my cdrw nor my dvd/cdrw recognize new medie jimappleby Linux - Hardware 1 11-12-2006 09:11 AM
Neither MPlayer nor Amarok can play sound on GNOME 2.8.1; using ALSA ghrellin Linux - Software 0 01-19-2005 11:24 PM
I can't compile neither i2c neither lm-sensors Ragnarol Linux - Software 1 04-29-2004 06:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:09 AM.

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