Hi
I had a same problem when reading three VCDs. 'plaympeg' said it cant find mpeg data. 'gtv' was unable to play it. 'cp' reported an I/O error.
I tried to view it from Windows and it worked ! Then I tried to copy it using Windows. Almost the whole dat file was copied except the last 5 seconds saying that "the system can't read the specified device". This happened for all the VCDs. But the VCDs surface seemed to have no problem as they were newly written. And it looks very improbable that all the VCDs which i had, had errors in the *last* 5 seconds !
I think that there is some kind of protection mechanism built into the CD. But I could cheat it by using VCDGear (under windows). I first tried to use VCDGear under Linux with option 'dat2mpg' but it said that it couldn't find mpeg data. VCDGear under Windows converted the '<cdrom drive>:\mpegav\Avseq01.dat' file into "<dest drive>:\Movies\Avseq01.mpg' without any errors ! ! I used dat to mpg conversion option to achieve this.
Now the mpg file plays fine in Linux.
I think VCDClipper also could have done the job.
Well, my guess... Since Windows could read *almost* the whole file (actually i think the whole file), it seems that there is some bit in the CD file system (or similar kind of information) that indicates whether it is legal (??) to copy the file or not. Now whether to make use of that or not might be upto the copying program. Now if the cdrom driver in Linux checks the info before copying and windows driver checks it after the data has been copied (before writing the directory entry), the situation seems to be consistentent.
Now whether that kind of information really exists on a VCD FS is to be discovered....anybody knows ?
Well, initially i thought of a long way... It could have been achieved this way....(in Windows)
- First make a drive empty by moving all the data to a different drive. - Now, data if written on this drive, will start from cluster 2. - Then copy the dat file to this drive unitl it gives the error message. - Now the FAT entries have been made, only the directory entry needs to be written. - Next instead of saying OK to that error, cold reboot your PC by pressing directly the reset key (!!) - Goto to real mode. - unlock your disk using 'lock' - use Norton's Diskedit supporting FAT 32 to make a root directory entry which points to cluster 2 as starting cluster. Also the size of the file and attributes have to be written here. OR writing a C program to directly write the directry entry of 32 bytes to the root directory without using standard function or DOS services but by using bios interrupts. - Now after rebooting the PC the file should be playable (most probably ! Never tried actually)
Abhir
_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Sometime yesterday, Abhir Joshi wrote:
I had a same problem when reading three VCDs. 'plaympeg' said it cant find mpeg data. 'gtv' was unable to play it. 'cp' reported
Can't find beginning of mpeg data, yes. GTV fails quietly.
an I/O error.
Yup. Me too.
I tried to view it from Windows and it worked !
Yes, works. And in my case, I can even copy the dat file w/o any errors (and then view it in linux). Just that I erased windows from my system.
Well, my guess... Since Windows could read *almost* the whole file (actually i think the whole file), it seems that there is some bit in the
Got to check out vcdgear. Yes, I think there's more info than just the mpeg data. Must figure out.
Manish
Hey luggers....
The dates for the talk at RajaramBapu college of Engineering, Kolhapur have been fixed for the mid of Feb 2002. I am conducting a 3 day workshop at their premises totally free with no commercial strings attached to it.
I am working on an agenda for the workshop which i shall post here soon so that we can debate and come up with a final agenda.
From preliminary discussions withe the college authorities i conclude that they will spend for an additional lugger to come over.
I would like to invite Nagarjun over on the opening day of the seminar to set the mood for the 3 day workshop, and if possible as always deliver a lecture on the philosophy of Free Software.
I am also tryin for a second/third person.....which if it comes thro will inform u'll ASAP. So that while i remain over there for 3 days, 1 person can come and go evryday and deliver a lecture for 4-5 hrs on the area of their specialisation. As soon as somethin comes up i will let u'll know. As of now, this ain't confirmed.
Trevor Warren
===== ( >- LINUX, It's all about CHOICE -< ) /~\ __ http://www.qmailtheeasyway.com __ /~\ | ) / mailto: trevorwarren@yahoo.com \ (/ | |_|_ \ Urgent ->9820349221@maxtouch.co.in / _|_| ___________________________________/
__________________________________________________ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com