Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Technology

Using a Digital Camcorder as a Tape Drive? 30

mookie_black asks this interesting question: "I have a Sony Digital Camcorder and an ADS firewire card. I am able to offload the tape information from my camcorder to my computer in the DV format and edit the video. My video editing software allows me to edit the DV format and then place it back on the tape in the camcorder. Since 40 minutes of tape takes up several gigs on my hard drive I thought it would be nice and cheap if I could back up my stuff to camcorder. I do not have a tape drive and was wondering if there is a way to backup my system into a DV format put the backup on the 8mm tape in my digital camcorder." What an interesting idea! Would such a hack work?!
This discussion has been archived. No new comments can be posted.

Using a Digital Camcorder as a Tape Drive?

Comments Filter:
  • by Frodo ( 1221 ) on Wednesday October 13, 1999 @12:29AM (#1617857) Homepage
    In Russia, there's such a beast. It's called Arvid, IIRC, and it's exactly for this - for backing up data from the computer to video-tape. It works, though I don't know details - never used it.
  • Yes, these are available. They hold approx 4 gigs, and work like an external drive, although I have never used one. Just write a prog to reformat the data as a "movie" ie each byte in your archive makes a byte in the bitmap for the frame, then just pretend like its a movie (it might even look cool) and save it to tape. Kinda a kludge, but it would work. You can also buy drives with software that provides easier access to the data.
  • by Mignon ( 34109 ) <satan@programmer.net> on Wednesday October 13, 1999 @03:27AM (#1617860)
    1. Point your camera on a tripod pointed at the monitor.
    2. Start taping.
    3. myhost:#cat /dev/hda1
  • by Anonymous Coward
    And your restore strategy is...?

    :-)
  • There exist SCSI tape drives that use VHS t120 tapes and can put 15GB on 'em. This place [meco.org] has one such beast in the "Exotic hardware" section.

    If you figure out a way to get dual use from your camcorder, I'll just bet the next generation has a "feature" that prevents it from working. Can't have the camcorder sales cannibalizing the tape drive sales, ya know...
  • This could depend on one thing: is the 5:1 compression fixed (aka for every 5 bytes of data it writes 1) or does it vary, like gzip? Even if the compression is lossy, if the data was already compressed, there would not be much for it to compress (since the data will be mostly random) in the variable case.

    In either case, I would try using Reed-Solomon (sp?) error correction for it. I have not done so myself but someone should research to see if there is anything to do it that has some source code. By the way, since we are talking about video, this error correction is what is used on DTV for error correction when the data is broadcast (talk about lossy!). The way it is corrected for in TV is lossy because you usually don't care about each individual pixel, but theoretically the system could be used to do it without loss if it is coded heavily enough.

    Wouldn't it be neat to have a kernel module that could wrap around a block device and automatically do error-correction coding? Never have to fsck again! Every read it could figure out how many bytes were incorrect and give you a warning / automatically fix any errors it finds. Yeah I know it could get a little slow, but on today's fast computers no one should notice. It's not a very CPU-intensive algorithm. It's performed on 19.2 megabits-per-second data in real time for a set-top box.

    Sorry I got a little carried away on a useless idea.

    Kenneth Arnold

    P.S. If you are going to contribute great stuff to slashdot, get a user account. Anonymous Cowards start at Score 0 and generally have a negative connotation around them. Besides, it's free and you have another reason to check on all the cool stuff every day.

  • Where have you been? I worked for a company that made VHS recorders for the Government (military, etc) that stored data it obtained from various devices filtered through a multiplexer. The heads were specially made (we had one guy assemble them in the back room -- painstaking work!) but the other parts were straight out of panasonic or whoever we could get. So, the answer is -- sort of -- but we were dealing with the government here. The problem we constantly had was that people were constantly thinking that because it was VHS meant that they could go out to their local Wally World and pick up a 10 pack of T120s and put them in. Problem with that is the VHS tapes you buy at the supermarket are so dirty and such poor quality that they stripped the data heads. So, I don't know how good the 8 mm tapes would be unless you used tapes intended for data.
  • There are some problems. Most camcorders are not high quality. Good enough for video where you won't notice a byte being off a little, but fatal to a comptuer when some of the bytes are off.

    You may get 40 gig of movie, but I'd be surprized if you can get more then 10 gig of data and still have a chance of recovering it.

  • If you can afford a digital camcorder, surely a DDS-2 SCSI drive shouldn't be out-of-reach, pricewise? They've been selling Aiwa units on onsale.com for about 75 bucks, and they handle 4 gigs of raw data, 8 gigs compressed. I've got a pair (one I pulled from an SGI, and another a great external Digital) and couldn't be happier with them.

    - A.P.
    --


    "One World, one Web, one Program" - Microsoft promotional ad

  • and I asked for a few similar things ... like possibility of inplementing a mp3 player in new D8 camcorders ... and they just haven't answered ... it is a pitty they are so ortodox in their stuff ... I think they have quite good technology in several areas they don't plan/want to integrate .. HiFD disketts of 200MB are one of bests ... I would love to use them for storying mp3 files or short DV footage ... they get the money eithr way so it is not as interesting for them as it might be for the 3rd prty developers that make take it ...
  • by Anonymous Coward

    Yes, the compression rate for digital video used on mini-DV and Digital8 camcorders is fixed at 5:1, but that's when it's doing its normal recording of video data provided by the camera's internals. If you manage the error correction on the PC side then it might be possible to store generic data on a DV camcorder. The trick would be to implement lossless data transfer instead of the regular DV codec which is lossy. That and figuring out the camera transport controls, data redundacy, calculations for the jump to lightspeed, etc.

    I obviously don't know much about the details but there is an excellent DV list at DV Central [dvcentral.org]. Someone there will have better answers than I do.

    I do know that:

    • The DV codec is fixed at 5:1
    • This produces a 3.6 MB/sec data rate.
    • The DV codec is lossy and would need to be repalced with a lossless data transfer scheme.
    • At 3.6 MB/sec a one hour DV tape stores about 13 GB.
    • The new Sony Digital8 camcorders use plain old Hi-8 video tape, at only $5 a pop!

    Eric Donaldson
    ericdonaldson@bigfoot.com [mailto]

    I applied for a slashdot account earlier today but haven't received my password yet. So, until then, I guess I'm still just...
    another Anonymous Coward. ;o)

  • Is this a Linux box you are doing the editing on? I'm in DESPERATE need of some good, cheap (free?), Linux-based video-editing software.
    ---
  • I remember back when BBS's were the thing, and the net was only a rumor...I say a hack for backing up your harddrive on a VCR... I'm sure the file is floating around somewhere.. but I'd have no clue where to find it...
  • Regarding cheap hardware attachments:
    You might be thinking of Backer [danmere.com] from Danmere Electronics. [danmere.com] It holds up to 4 gig. I don't have time just now to convert prices to U.S. dollars...
    Years ago, the Video Backup System [stack.nl] for the Amiga did much the same thing. The author wrote up the Reed-Solomon error correction code in the January 1997 issue of Dr. Dobbs' Journal. [ddj.com]

    I like these concepts, but I would love to write a broader replacement for these that uses generic video capture boards, for example.
    I'd love to elaborate more, but I have to go back to work now. I might write more when I get home.

  • There is (was) a product (which IIRC costs about $45) that allows you to use your VCR as a tape drive. It is an ISA or PCI card that uses RCA cables to interface with your standard VCR. It allowed you to store about 4GB of data on t-120 tape. At the time I heard of this product, it was substantially cheaper than a tape drive of similar capacity, and the media was cheaper too. I don't think the price difference would be as great now, but I still think it is an innovative product. Actually, I'd like to read more about something like this, so if anyone has a URL for something like it, please tell.

    --

  • This does exist. There's a specification for MD-Data out there, originally designed to replace 3 1/2 inch floppy drives on desktop computers.

    However, Minidiscs have a native capacity of 140MB of compressed ATRAC audio. There is a read-only label track on each MD that distinguishes an MD Audio and MD Data disc; MD equipment looks at this label to determine what kind of disc it is accessing.

    Normal Minidisc recorders, unless modified, refuse to touch MD-Data discs, thus would not work. MD-Data drives would be of questionable value because of their small 140MB capacity. 640MB MD-Data drives are supposedly in the works, but I've yet to see any concrete product.
  • Just to clarify,the Aiwa drive that they're selling on Onsale is *not* DDS-2. They're Travan, and I don't know where you got yours, but mine sucks. It works only intermittently, came with no documentation (nor is there any available from Aiwa.com), and has snapped three TR4 tapes at $39 a pop. Avoid these things like the plague.
  • On a random tangent, is anyone annoyed that OnStream markets their tape drive as a "digital tape drive"? Umm.. hey Onstream digital tape drives have been around for twenty years. As a matter of fact, I can't think of an analog tape drive. Why don't they just call it the "iTape Drive" or "Tape drive.com" :)
  • by Anonymous Coward
    Sorry for the repost, but the less-than signs I had used (entered as ampersand-ell-tee-semicolon) previewed ok, but got munged on the Submit (is this a Slashdot bug?)... Here's a corrected version:

    First off, the existing computer-to-video-tape is something different... what I believe he wants here is to use an IEEE-1394 (Firewire) equipped digital camcorder that uses MiniDV video tape as a data storage device. There are a good number of reasons one would want to do so: One, these cameras are selling very well and a lot of us already have one. Two, they are quite cheap (with low-end cameras less than $1,000 and tapes less than $10). Three, the tapes hold a *lot* of data: the DV-format video stream is 25Mbps (not including audio, subcode, and error correction: with these 36Mbps) and tapes generally hold 90 minutes giving a tape capacity of roughly 12.5GB (more if you include audio) so that we have a data storage cost of less than $1/GB with a read/write rate of 150MB/min (more if you use audio). While I have not investigated reliability issues from this angle, these figures compare very favorably with current traditional tape backup solutions. Plus, the average current SCSI tape drive takes very poor movies! :-)

    Camera control is standardized so complete computer control over the tape's transport is trivial through the same (100-400Mb/s, gigabit coming soon) Firewire channel that the data flows over. Firewire and DV-over-Firewire is actually a peer-to-peer sophisticated networking architecture and stack of protocols and is very cool and much superior to USB (including USB 2.0). I'm very surprised it doesn't show up more on Slashdot and that more people aren't working on it.

    One would not implement this by making a sequence of pictures (frames) and sending them to tape through a usual DV codec: DV-format video is based on a quantized DCT (like JPEG) as is thus not lossless. However, one can format an arbitrary data stream to fit the same format as what comes out of a DV codec and pass that to the camera. Played as video, it would look like whatever (noise) but the tape backup system would, as before, not use a DV codec, it would just lift the data out of the stream directly. In other words, the communications channel to the camera is not raw video-- it is lossless transmission of (usually, but not necessarily, DV-encoded) data.

    Some people have brought up concerns of reliability. As mentioned above, the DV tape format includes error correction (which is *not* error concealment, which is what you do when error correction fails-- that is included too, but is device-dependent and another layer up whereas the error correction is an integral part of the standard). I do not recall offhand to what typical rate (i.e., 1 uncorrectable bit per x bits read) this is supposed to work, but one of the points of DV is its lack of generational loss. In other words, even video people care about not losing any data. In my experience, data loss in DV tape (even with tape that has undergone many passes) in video applications is pretty minimal to non-existant.

    Of course, this is not much of a reassurance. But that is no problem really, because there is nothing stopping your backup software from pumping its output through the error-correcting code of your choice, say your favorite variant of cross-interleaved Reed-Solomon. Just about any storage system at all can be made as reliable as you want by layering error-correcting codes on top of it. There's no reason hard drives couldn't be made without any error correction at all (and they do plenty-- today's average HD is correcting lots of ``errors'' all the time and this is the way it's designed to operate) except for the fact it makes for a cleaner and more efficient implementation to have it done in the HD and not your CPU. It's no big deal.

    Actually, DV is so cool a lot of us are wondering how it escaped product development before the marketers/biz people/bean counters dumbed it down...

    If I ever get any free time (chewing through 4 3" binders of Firewire/DV docs. takes a while even when you have nothing else to do) this will be one of the things I'll implement, but it'll have to wait until I finish a subcode- preserving footage-mover first...

    --Shawn, Cokus@math.washington.edu [mailto] .

  • Pump the frames through a capture card to the screen. Take screen caps of each frame and dump them as bitmaps to a printer. Scan the printed pages back into the PC and OCR the text. Copy the resulting textfile back into place.

    Ill be filing for a patent on this process tommorrow.
  • I think what he is specifically looking for is a way to basically mount the camcorder via the firewire interface, and move data to it to be stored completely digitally. With the solutions mentioned thus far, they are basically taking the digital data, making it into an analog picture and letting the digital camcorder recapture it. Data integrity is *probably* not a big issue with a system like that, since the ones i've seen using VCr's have redundant data and such, but that is besides the point. I think it would be very neat to be able to do mount /dev/camcorder /backup -t minidv and then just copy files right out to the camcorder. As far as I know, this isn't possible right now, but I dont know why it shouldn't be eventually, since I dont believe digital camcorders do much to the signal coming in off firewire other than write it to the tape. Recovery might be a bit more difficult, but not impossible.
  • by drix ( 4602 )
    That's a broken link. Sorry; I'm not saying you lied, but I did happen to procure a drive from the exact same site, for the exact same price, from the exact same manufacturer (Aiwa). I hope you understand my confusion.
  • Aiwa DDS-2 4mm 4 - 8 GB Bare Internal SCSI DAT Drive 5.25" Form Factor (New) [onsale.com]

    - A.P.
    --


    "One World, one Web, one Program" - Microsoft promotional ad

  • by heroine ( 1220 )
    Well the digital camcorder itself uses MPEG-II compression, hence the "enormous" capacity. You could just encode your data in an MPEG-II movie and achieve the same enormous capacity out of a CD-R. There's one problem. The enormous capacity exists because MPEG-II throws out 90% of the information. For highly repetitive data you might get some of your data back but for varying data you wouldn't be able to recover anything after MPEG-II compression.

    Also normally you capture video off a camcorder and store it on a CD because the quality and reliability is better, hence the existance of capture boards. You're trying to do the opposite: go from a high quality storage medium to a low quality, unreliable medium.

Any program which runs right is obsolete.

Working...