[SOLVED] While copying VOB files from DVD to laptop it shows slicing error, Read/Write error.
UbuntuThis 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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
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.
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.
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.
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.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.