Ubuntu This forum is for the discussion of Ubuntu Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-08-2015, 08:15 PM
|
#1
|
LQ Newbie
Registered: Jan 2015
Posts: 1
Rep: 
|
While copying VOB files from DVD to laptop it shows slicing error, Read/Write error.
I have some VOB files on DVD which run on DVD player. I wish to copy those files to hard disc of my computer for viewing on the computer. It gives slicing input/output error. How toget over this problem? Thanks in advance.
I am using Ubuntu 14.04. Hard disk 160 MB. There is also a 1TB hard disc.
There is also a 1GB ram.
I used the simple Ctrl+C and Ctrl+V method for copy paste.
The error was splicing error; read/write error.
I tried to play the VOB extension file using VLC latest update and it gave error message that it cannot read the file.
The DVD plays on DVD player, an unbranded Chinese model.
If you need any more information I shall try best to give.
VOB files do get copied. Perhaps there is a copy protection. I tried handbrake but failed. Some files open some give the splicing error. format Factory also failed. Bracero, I used to get iso file and then extracted the VOB files but they did not play. Finally I tried to an iso file for the whole disc but the size limit in Bracero was 4.3 GB. So I have given up. I shall try WINDOWS!
Last edited by Satyapriyananda; 01-10-2015 at 07:19 AM.
Reason: Submitting additional information.
|
|
|
01-08-2015, 08:51 PM
|
#2
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,721
|
Quote:
Originally Posted by Satyapriyananda
I have some VOB files on DVD which run on DVD player. I wish to copy those files to hard disc of my computer for viewing on the computer. It gives slicing input/output error. How toget over this problem? Thanks in advance.
|
Please read the "Question Guidelines" link in my posting signature. If you would like help, you need to provide DETAILS...things like version/distro of Linux, what kind of hardware, what you're typing/doing to copy those files, etc.
All we know is you're trying to copy a file, at this point.
|
|
|
01-08-2015, 10:19 PM
|
#3
|
LQ Guru
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,352
|
We don't know what "slicing input/output error" means.
If it's text, can you paste it here?
|
|
|
01-09-2015, 12:33 AM
|
#4
|
Senior Member
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524
|
In windows you can copy a dvd video disc. But in linux you need a video disc copying app. Like mplayer, etc. Please do web search for it.
|
|
|
01-09-2015, 08:56 AM
|
#5
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,721
|
Quote:
Originally Posted by veerain
In windows you can copy a dvd video disc. But in linux you need a video disc copying app. Like mplayer, etc. Please do web search for it.
|
Sorry, wrong. Copying a file in Linux doesn't need any 'video disc copying app', and mplayer is NOT for copying files. Having a .VOB file on a disc is no different than having a text file or any other sort of file. You mount the DVD, and can even use a drag-n-drop file manager to copy the VOB's to your hard drive.
PLAYING the video file needs a video player (like mplayer), but just to copy a file requires nothing special.
|
|
|
01-09-2015, 12:12 PM
|
#6
|
Senior Member
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524
|
But he says he can play the dvd in a dvd player. Definitely it's not a data dvd from which you can copy using linux cp command or from a file manager. And mplayer with mencoder is used for copying video cd and dvd's for sure.
|
|
|
01-09-2015, 12:17 PM
|
#7
|
LQ Guru
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,326
|
you can drag-and-drop encrypted vob's from one disk to another (they will remain encrypted and unplayable on the hard drive).
programs like mencoder are used to transcode audio/video from one format to another so that they are playable on a pc.
|
|
2 members found this post helpful.
|
01-09-2015, 01:06 PM
|
#8
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,721
|
Quote:
Originally Posted by veerain
But he says he can play the dvd in a dvd player. Definitely it's not a data dvd from which you can copy using linux cp command or from a file manager.
|
Wrong. You can mount a DVD and copy the VOB files easily, if you ever tried to do it. I do it all the time with Dolphin, Konqueror, and/or the command line.
Quote:
And mplayer with mencoder is used for copying video cd and dvd's for sure.
|
mencoder is a converter, and has NOTHING to do with copying files...mplayer is a PLAYER, not for copying or converting.
|
|
1 members found this post helpful.
|
01-10-2015, 03:28 AM
|
#9
|
Senior Member
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524
|
Well I remember copying a vob file in linux is possible but when it is played it's just garbled data. I have not used recent file managers. I just used commands in terminal.
Also instead of displaying, mplayer can be used to dump video and audio to a avi file. And mencoder is used to transcode it to desired (may be compressed) format. Or even a pipe can be used. Also I know there are other nice cli as well as gui apps to these things easily.
Last edited by veerain; 01-10-2015 at 03:30 AM.
|
|
|
01-10-2015, 09:47 AM
|
#10
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,721
|
Quote:
Originally Posted by veerain
Well I remember copying a vob file in linux is possible but when it is played it's just garbled data.
|
Sorry, wrong. You can play a VOB with mplayer or pretty much any other video player, if you have the codecs installed (which you would need, in order to play ANY DVD).
Quote:
I have not used recent file managers. I just used commands in terminal.
|
As said before, you can copy these files from command line or GUI file managers. You have also been able to do this for YEARS now, it has nothing to do with 'recent' file managers.
Quote:
Also instead of displaying, mplayer can be used to dump video and audio to a avi file.
|
Wrong. Again, mplayer is a PLAYER. The ONLY thing it can 'dump', is an INCOMING video stream (NOT from a file), to an output file. To go from VOB to a different format is not something mplayer does, and it never has.
Quote:
And mencoder is used to transcode it to desired (may be compressed) format. Or even a pipe can be used.
|
No idea what you're talking about here...what 'pipe' is needed/used for mencoder? Mencoder does transcoding from one format to another, period.
Quote:
Also I know there are other nice cli as well as gui apps to these things easily.
|
Such as what?
|
|
|
01-10-2015, 12:37 PM
|
#11
|
Senior Member
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524
|
Well I use a modified CLFS distro. I remember that a windows copied vob file played perfectly with mplayer. But I can't play a vob copied file in linux. There were special kernel drivers( out of tree) by which the same Windows functuionality can be had in linux.
mplayer along with -dumpstream command can be used to dump dvd video. See this link: http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html
And I have done it myself.
Also mencoder part of mplayer can be used for ripping vcd/dvds. See this site: http://mplayerhq.hu/DOCS/HTML/en/men...ing-input.html
See the above link leading to mplayer.1.html; search that for pipe. Yes any video along with audio stream can be piped to mencoder for transcoding.
I use only the original mplayer from mplayerhq.hu site. There are some forks, I know of but don't know what newer/popular distro's use.
Some of Dvd ripping software are Acidrip, DVD::rip, handbrake, k9copy, thoggen, vlc and transcode. These easily found out in a web search.
Last edited by veerain; 01-10-2015 at 12:40 PM.
|
|
|
01-10-2015, 12:42 PM
|
#12
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
|
I tend to rip DVDs to my hard drive as .iso files -- this has the advantage of keeping in place any menus and the like and seems to work quite well. However, I have an odd problem (which a couple of others on this site have reported) that sometimes I can't seem to dd a DVD to my hard drive without first opening it in a media player. However, that is just a minor inconvenience and dd works just fine otherwise.
|
|
|
01-10-2015, 12:48 PM
|
#13
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,721
|
Quote:
Originally Posted by veerain
Well I use a modified CLFS distro. I remember that a windows copied vob file played perfectly with mplayer. But I can't play a vob copied file in linux. There were special kernel drivers( out of tree) by which the same Windows functuionality can be had in linux.
mplayer along with -dumpstream command can be used to dump dvd video. See this link: http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html
And I have done it myself.p
|
Great...so how about sharing what you did to perform this? Again, the -dumpstream command IS FOR DUMPING INCOMING STREAMS, such as from a TV capture card, to a file. NOT for transcoding.
This has already been said several times.
Quote:
See the above link leading to mplayer.1.html; search that for pipe. Yes any video along with audio stream can be piped to mencoder for transcoding.
|
Again, how about showing us/explaining what you mean??
Quote:
I use only the original mplayer from mplayerhq.hu site. There are some forks, I know of but don't know what newer/popular distro's use.
|
So do I..which is how I know what you're saying won't work.
Quote:
Some of Dvd ripping software are Acidrip, DVD::rip, handbrake, k9copy, thoggen, vlc and transcode. These easily found out in a web search.
|
Yes, they are....and when trying to answer the OP's question, it would be helpful to MENTION a few of them.
|
|
|
01-10-2015, 04:53 PM
|
#14
|
LQ Guru
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,326
|
Quote:
Originally Posted by 273
I tend to rip DVDs to my hard drive as .iso files -- this has the advantage of keeping in place any menus and the like and seems to work quite well. However, I have an odd problem (which a couple of others on this site have reported) that sometimes I can't seem to dd a DVD to my hard drive without first opening it in a media player. However, that is just a minor inconvenience and dd works just fine otherwise.
|
this is what i do:
Code:
schneidz@xbmc:~$ cat bin/dvdrescue.ksh # image copy of dvd including menues:
#!/bin/bash
dvd=`lsdvd $1 | head -n 1 | awk '{print tolower($3)}' | sed s/_/-/g`
lsdvd /dev/sr0 && ddrescue --no-split --verbose --block-size=2048 /dev/sr0 $dvd.iso
schneidz@xbmc:~$ cat bin/xvidenc-ac3-mkv.ksh # transcoding of each title to a smaller format:
#!/bin/bash
# saved output from xvidenc/h264enc
################### START OF COMMANDS ###################
dvd=`lsdvd $1 | grep "Disc Title:" | awk '{print tolower($3)}' | sed s/_/-/g`
#mkdir /home/xbmc/win/stuff/clips/$dvd
titles=`lsdvd $1 | grep ^Title: | cut -b 8-9 | tail -n 1`
i=1
if [ -n "$2" ]
then
i=$2
titles=$2
fi
while [ $i -le $titles ]
do
/usr/bin/mencoder "dvd://$i" -nosub -dvd-device $1 -o /dev/null -vf pp=al:c,softskip,unsharp=l5x5:.25:c5x5:.25,harddup -aid 128 -channels 6 -oac lavc -lavcopts acodec=ac3:abitrate=192 -a52drc 1 -ovc xvid -xvidencopts pass=1:turbo:me_quality=6:vhq=4:threads=2:max_bframes=2:bvhq=1:nopacked:quant_type=h263:noqpel:nogmc:trellis:nointerlacing:chroma_me:chroma_opt:hq_ac:nolumi_mask:rc_reaction_delay_factor=0:rc_averaging_period=100:closed_gop:autoaspect -passlogfile "$dvd-`zero-pad-2.x $i`.log"
/usr/bin/mencoder "dvd://$i" -nosub -dvd-device $1 -o "$dvd-`zero-pad-2.x $i`".avi -ffourcc XVID -vf pp=al:c,softskip,unsharp=l5x5:.25:c5x5:.25,harddup -aid 128 -channels 6 -oac lavc -lavcopts acodec=ac3:abitrate=192 -a52drc 1 -ovc xvid -xvidencopts pass=2:bitrate=1000:me_quality=6:vhq=4:threads=2:max_bframes=2:bvhq=1:nopacked:quant_type=h263:noqpel:nogmc:trellis:nointerlacing:chroma_me:chroma_opt:hq_ac:nolumi_mask:rc_reaction_delay_factor=0:rc_averaging_period=100:closed_gop:autoaspect -passlogfile "$dvd-`zero-pad-2.x $i`.log"
sleep 2
/usr/bin/mkvmerge --title "$dvd-$title-ac3" --track-name 0:"$dvd-$title-ac3" --language 1:en --track-name 1:"AC3 5.1" "$dvd-`zero-pad-2.x $i`.avi" -o "$dvd-`zero-pad-2.x $i`.mkv"
sleep 2
rm "$dvd-`zero-pad-2.x $i`.avi" "$dvd-`zero-pad-2.x $i`.log"
i=`expr $i + 1`
done
#################### END OF COMMANDS ####################
the lsdvd calls libdvdcss2 which generates the encryption keys for the dvd and allows dd or mencoder to properly decode it.
|
|
1 members found this post helpful.
|
01-10-2015, 04:59 PM
|
#15
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
|
Thanks for that, schneidz, I'll give lsdvd a try next time I purchase a DVD (which may be in the next few weeks). I've been using dcfldd for ripping recently as a replacement to dd since it shows progress to console.
|
|
|
All times are GMT -5. The time now is 02:41 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|