Re..dvd 편집이 되나여?
누구게
0
342
2000.08.23 06:14
> 안녕하세요.
> dvd편집을 할 수 있다고 들었는데요.
> 편집이 가능한가요>
> 참고로 제 기종은 imac dv입니다.
안녕하세요. 질문이 정확히 뭔지 헷갈리는군요. 물론 DVD(영화 DVD) 자체는 ROM이기 때문에 편집이 불가능합니다. 그리고 DVD에서 영화파일(이 경우는 MPEG2)을 따 내는 건 (ripping) CD의 경우와는 달리 아주 복잡합니다. 지금 RIAA(미국음반산업협회--냅스터를 고소한)는 최초에 CD 규격을 만들 때 천사표로 만든 걸 무지무지 후회하고 있습니다. 그래서 미국영화협회는 DVD-ROM 규격을 만들 때 치사한 복제방지 암호를 내장시켰고, 그 뿐만 아니라 지역별 배급을 통제하기 위한 코드도 내장시켰습니다. 물론 지금은 이 두 가지를 다 통과해서 영화를 따낼 수 있는 도구가 나왔습니다만, 현재 미국영화협회가 이 도구를 만든 쪽을 고소해서 불법이라는 판결을 며칠 전에 받아냈습니다. 이 판결은 지금까지의 판례를 뒤엎는 것으로 미국 법정이 점점 더 극우적인 거대독점문화산업 자본의 편에 서기 시작했다는 징후 중의 하나입니다. 지금까지는 이러한 종류의 소프트웨어, 하드웨어 크랙들은 합법으로 받아들여져 왔습니다. (몇 년 전에 LG도 널리 일반화된 아날로그 비디오 복사방지 기술인 Microverb 하드웨어 크랙이 내장된 복사용 비디오 데크를 팔았었습니다.) 어쨌든 이 글 마지막에 맥에서의 DVD ripping에 대한 설명서를 첨부했으니 참고하시기 바랍니다. 제가 영어가 짧아서 번역을 못 해 드리는 점을 죄송하게 생각합니다. 그리고 DVD에서 영화를 따 내는 데 성공했다고 치고 그걸 편집하려면 비디오 편집 도구가 있어야 됩니다. 보통 데스크탑 비디오 편집 도구는 DV나 MJPEG 포맷을 사용합니다. 그 가격과 성능도 천차만별입니다. 하드웨어가 있어야 되는 것도 있고 있으면 좋은 것도 있고 포맷에 따라서 같은 소프트웨어에서도 하드웨어가 필요하기도 하고 아니기도 합니다. 일반적으로 맥에서 DV는 특별한 하드웨어 없이 가능하고 MJPEG은 만약 외부에서 NTSC나 PAL 신호를 디지타이즈하려면 하드웨어가 있어야 합니다. DVD의 비디오 포맷인 MPEG2는 특별한 소프트웨어가 있으면 거의 손상없이 다른 포맷으로 전환이 가능합니다.
만약 질문이 DVD에서 영화를 따 오는 것이 아니라 DVD를 굽는 것에 관련해서라면 다시 질문해 주시기 바랍니다. 현재로서는 DVD 영화를 굽는게 무척 돈이 많이 듭니다. 현재 팔리는 DVD-RAM에서는 DVD 영화를 구울 수가 없습니다. CD-R과는 다릅니다. DVD 영화 구이는 현재 대략 500 만원 정도 합니다. 소프트웨어도 꽤 비쌉니다. 해적판 장사하시게요? 그게 아니면 우선은 접어두시기 바랍니다.
만약 DVD와 DV를 혼동하셨다면 이 두 가지가 전혀 다른, 전혀 관계가 없는 포맷이라는 점을 말씀드리고 싶습니다. DV는 현재 맥이건 PC이건 거의 하드웨어의 필요없이 (PC의 경우도 PCI Firewire 카드만 있으면 됨.) 편집이 가능합니다. 편집용 소프트웨어의 가격과 성능은 천차만별입니다. (무료에서 몇 백 만원까지) 맥에서는 무료로 내려받을 수 있는 iMovie 1.0.2가 있고 이 보다 약간 개선된 iMovie 2.0.1은 좀 있으면 50불에 팔겠다고 합니다. 물론 새로 파는 맥에는 이게 따라오니까 주위에서 새로 맥을 사신 분이 있으면 얻을 수도 있고, 여기 팁게시판과 자료실에 교육평가판(해적판;-)을 구할 수 있는 방법도 자세히 소개되어 있습니다. 좀 더 전문적인 소프트웨어로는 마크로미디어에서 만들어서 애플이 사들여 팔고 있는 FinalCut Pro가 있습니다. 물론 아도비 사의 프리미어도 널리 보급된 프로그램이지만 이 FinalCut Pro가 나왔기 때문에 빛이 바랜 상태입니다. 지금은 피나클에 팔린 디지탈오리진 사의 EditDV도 많이 보급된 프로그램 중의 하나이지만 FinalCut Pro를 권합니다. iMac DV는 확장성에 많은 문제가 있습니다. FinalCut Pro는 G4에서 훨씬 빠르고 얼마 안 있으면 올 가을에 1000불 짜리 실시간 렌더보드가 나옵니다. 정말 FinalCut Pro를 쓰고자 하면 이 렌더보드가 꼭 있어야 합니다. (현재 없이도 사람들이 잘 쓰고 있지만 이 렌더보드를 썼을 때의 생산성 향상은 비교할 수가 없을 겁니다.) 그런데 이 렌더보드는 당연히 PCI 보드인데 iMac DV는 PCI 슬롯이 없습니다. 대단한 불이익입니다. 그리고 스크래치 디스크로 40 GB 맥스터(7200rpm 짜리)나 IBM의 75 GB 짜리를 달아야 하는데 iMac DV에는 하드를 더 다는 것이 여의치가 않습니다. USB 하드는 절대 쓰면 안 되고 (사용 불가능) Firewire하드도 아직은 진짜 Firewire 인터페이스가 아니라서 내장 ATA보다 훨씬 느립니다. 그리고 캡춰를 할 때 다른 Firewire 디바이스를 쓰는 건 아주 안 좋습니다. 그러니까 현재의 iMac DV로 작업을 한다면 천상 아주 짧은 작업 밖에는 못 합니다. 그래도 많은 사람들이 홈비디오를 이 iMac DV에서 iMovie로 편집하면서 희희낙낙하고 있으니 너무 실망하실 필요는 없습니다. 이 iMovie로 iMacDV에서 편집하는 것만 해도 옛날에 비하면 첨단입니다. 다른 하드웨어는 필요없고 Firewire가 달린 비디오 카메라만 있으면 됩니다. 보통 소니 비디오 카메라 중에 iLink라고 하는 게 달려 있으면 그게 Firewire 호환입니다. (사실 똑같고 전력공급만 없음.) IEEE 1394라고도 합니다. 이게 안 달린 카메라는 입력이 불가능합니다. 아날로그 인풋이 가능한 보드는 엄청나게 비쌀 뿐만 아니라 iMac에는 PCI 슬롯이 없으니까 달 수도 없습니다. 가지고 계신 카메라에 Firewire 포트가 없어도 방법은 있습니다. 소니가 비교적 싼 가격에 아날로그에서 DV로 변환해 주는 변환기를 팝니다. DVMC-DA2라는 것인데 미화로 약 400 불 이내입니다. Firewire 포트가 있는 가장 싸구려 비디오 카메라가 대략 700 불 쯤 하니까 훨씬 쌉니다. 물론 카메라는 안 따라 오지만...
질문에 답변이 되었는지 모르겠습니다. 제가 질문을 잘 못 이해했으면 다시 올려 주시고 앞으로는 질문을 하실 때 가급적 상세하게 올려 주시면 더 정확한 답변을 더 빨리 얻으실 수 있으리라고 생각합니다. DVD ripping에 관심이 있으시면 아래 첨부한 설명서를 읽어 보시기 바랍니다. 감사합니다.
=============================
Macintosh DVD Ripping FAQ 1.1
By: Squished Squirrel
-----------------------------
I have looked through just about every on-line resource I could think of to try and find information on ripping DVDs on the Mac, and so far, nothing much has turned up. So, here is what I have learned from trial and error. If you have any additional info, please post to alt.hackintosh with Squished Squirrel as part of the subject and I'll credit you in any future versions of this document.
Before we get started, let me set your expectations. The tools to do ripping entirely on the Mac are available, but because of speed issues, it may not be practical yet. Some of what you read below is speculation, and although there is a great deal of helpful information here, don't expect to be creating VCDs this evening. This FAQ is written from my perspective, so please pardon the extensive use of "I".
Handy Mac tools:
DVDExtractor: The indispensable piece of software for decrypting DVD .VOB files. It is available via Hotline. Current version appears to be 0.6b
Sparkle 2.45: Yes, believe it or not, this ancient package of programs can come in handy. The utility MPEG2Decoder that comes with it handles MPEG 2.
HexEdit: File utility handy for fixing .M2V files that won't play/decode.
Media Cleaner: THE tool for format conversion.
M.Pack: In my opinion, a better MPEG 1/2 encoder than Heuris. Movie2MPEG: Shareware MPEG 1 encoder with the option to create VCD ready files.
Heuris MPEG Power Pro: Only saving grace is it interfaces well with Media Cleaner.
Handy PC Tools and emulators:
ac3dec: Tool to convert AC3 streams to WAV files.
ac3fix: Tool to fix bad frames in AC3 files.
Virtual PC: Handy to have around for PC chores.
Blue Label: PC emulator that lets you access a SCSI DVD drives as a DVD drive instead of as a CD drive like all other emulators.
Before we Begin - Prepare your tools:
As of this writing, the only software based MPEG2 decoder that doesn't require specific hardware is a program included with the Sparkle 2.4.5 program. In its original form, MPEG2Decoder it is not capable of saving a useful QuickTime video from DVD material. However, due to long nights of blurry eyed contemplation, I managed to hack MPEG2Decoder into doing the right thing. It now saves full frame, non-interlaced movies. If you are familiar with Resedit, here are the changes:
This patch requires MPEG2Decoder 1.1.5. Start by deleting the "cfrg" resource. Since I haven't patched the PPC code, this has to be removed to force the Mac to use the 68K code. Now make the following changes to the CODE 5 resource.
Offset | Original | Patched
-------+-------------------------+-------------------------
02E0 | 6718 | 4E71
0338 | 6700 0110 | 6600 0282
0742 | 6602 | 4E71
085C | 6618 | 6018
0892 | E588 | E788
08E2 | E280 | 4E71
0A26 | 302E 001A D4C0 D6C0 E548| 4280 302E 001A E548 D0C0
| D0C0 D2C0 536E FFEA 6600| D2C0 082E 0000 FFEB 6608
| FF28 4CDF 3FFF 4E5E 4E75| E648 91AE 0010 9AC0 536E
| 9443 6F6E 7665 7274 5943| FFEA 6600 FF1A 4CDF 3FFF
| 7243 6254 6F52 4742 3432| 4E5E 4E75 8759 4372 6234
| 3000 | 3230
First Experiment - Decrypt a DVD .VOB file:
DVDExtractor is a utility that removes the css encryption from DVDs and allows you to split .VOB files into their component streams. There are a couple issues you want to be aware of though. DVDExtractor only seems to work on IDE DVD drives. I tried to decrypt a .VOB on an 8500 with a SCSI DVD-RAM drive, and although it did it without complaining, the resulting .M2V file could not be played with a Wired4DVD card, or decoded using MPEG2Decoder. The Prompt for Offsets option in DVDExtractor lets you select a portion of a .VOB file to save. The problem is DVDExtractor doesn't make sure the .M2V streams that are extracted actually start with a valid sequence header. If you extract a .M2V from the middle of a .VOB, you will have to manually fix the file with HexEdit so the file starts with a valid header. The same goes for extracting a .M2V from any .VOB that isn't the first in a group. Typically, the first 1GB .VOB file will extract and play fine, but the subsequent ones won't. You can try the following HexEdit hack on them as well. To fix a .M2V file so it begins with a valid MPEG sequence header, open it with HexEdit. Do a hex search for the sequence header start pattern "00 00 01 B3 2D 01". Once you find this pattern, delete everything before it. In other words, your file must start with this pattern. This doesn't always work. If you get errors trying to play the file, search the file again, and strip everything up to the next sequence start pattern. With this in mind, I have had success decrypting and extracting .VOB, .M2V and .AC3 files from Contact, Tarzan and Baby Geniuses on a G4. The extracted .VOB and .M2V files would play on a Wired4DVD card, and since they weren't encrypted streams, the card allowed snapshots to be taken. Unfortunately this is pretty much useless with the Wired4DVD card, since it shifts the snapshot so far toward blue as to be unusable. Another note about DVDExtractor: If you use it to make an image of a DVD on your hard drive, you must quit out of DVDExtractor, then re-launch it before you can mount the image.
Second Experiment - Get an image out of a decrypted .M2V stream:
Launch the hacked version of MPEG2Decoder and feed it the .M2V file that you extracted in the previous experiment. Type in a filename and proceed on to the Quicktime settings dialog (If you hit Cancel at this point, the movie is just displayed, not converted) For DVDs made from film sources (nearly all) select 24fps as the frame rate, and "None" as the compressor. This should give the best results. Click OK, and let it crunch. If you don't see video, or the text window fills quickly with errors, you may need to back up to the previous experiment and review the section on making the .M2V file start with a valid sequence header. Once you see the frames you want to extract, you can hit Command-period to exit from MPEG2Decoder. Open the Quicktime file that was just created and see that you have real, live pixels to play with! You can copy these frames and paste them into any application, or use drag and drop.
Third Experiment - Get sound from an .AC3 stream:
If the DVD you are attempting to extract audio from has a MPEG Layer II sound track, you can open the soundtrack directly in MoviePlayer. If the DVD only has an AC3 sound track, you must use an AC3 decoder to convert the audio into another format like .WAV. As for PCM soundtracks, I haven't had any experience with them yet. So far, the only utilities I have found that can deal with the AC3 format are PC/Linux utilities. You must run them with a PC emulator to convert the .AC3 files that DVDExtractor creates. Ac3dec appears to do a wonderful job converting from .AC3 to .WAV. Since the Mac can deal with .WAV files, we are set on this front. Make sure you have the latest version of ac3dec. The version I have used successfully is 0.8.18 under Virtual PC 3.0.3 running Win 98 SE. I left the .AC3 files on the Mac hard drive and used the folder sharing feature of Virtual PC to access them from the PC side. The ac3dec application MUST be on your Virtual PC C: drive. It will not launch from a shared drive. You may need to run ac3fix on the file to get rid of damaged frames so it will convert properly.
Final Experiment - Convert from a .M2V to a MPEG 1 file:
These are the different methods for converting from DVD to MPEG 1. Some have been tested, others are theoretical.
DVDExtractor -> MPEG2Decoder -> Media Cleaner -> MPEG 1: (Works)
The hacked MPEG2Decoder may not be fast, but it does create usable Quicktime movies. At about 1 second per frame, it may take over 24 hours to do an entire movie. Save the movie at 24FPS, but instead of using None as your compression method, try Motion JPEG. You don't need super high quality because it will get reduced to 352*240 in Media Cleaner, and that will clean up most compression artifacts. Use AC3dec on a PC emulator to convert the soundtrack. Once converted, combine the sound track and video track into one movie. Open the .WAV file in MoviePlayer and do a Select All, followed by a Copy. Open the QuickTime movie that MPEG2Decoder created. Hold the option key down when pasting the .WAV into MoviePlayer, the sound track will be properly inserted. Open your file in MediaCleaner and set the options to save the file as MPEG 1 (Heuris), accurate scaling to 352*240, Toast option set, deinterlace set to blend. You might also want to adjust the contrast and brightness slightly to compensate for the 16-240 value range that
MPEG2Decoder spits out (Instead of 0-255.)
DVDExtractor -> Quicktime 5/Media Cleaner -> MPEG 1:
This could be the future dream setup. We will eventually get a MPEG 2 decoder built into Quicktime. This will be significantly faster than the MPEG2Decoder hack. Quicktime 5 isn't going to handle .VOBs or AC3 sound, so we will still have to extract the AC3 streams and use separate utilities.
DVDExtractor -> .VOB -> DV tape -> Media Cleaner -> MPEG 1:
This may actually be the fastest route to go right now. Decrypt and merge the .VOB files to a hard drive with the "Disable Macrovision" option, and then play them with a Wired4DVD card out to a DV deck like the Sony GV-D900. Import the movie back in over Firewire and compress. Although I hate the thought of going to analog as an interim step, this is the most practical method. Feed the whole thing directly into M.Pack with the Toast option set, and you have a finished product ready for CDR. One annoying item is that the Wired4DVD player won't read from DVD images like the Apple 2.2 player will, but then again, I am not sure that Macrovision is removed when DVDExtractor creates a DVD image. Some of you may be saying: "Why bother with DVDExtractor at all if I am going to print the DVD to tape?" Well, many current decks refuse to record from DVD because of the Macrovision signal. If you have a spare $80, there is a good S-Video Macrovision killer out there.
-------------
Many of the DVD utilities are available for Linux, can I use them with one of the Mac Linux flavors?
If you find out, I would like to know. Right now I don't have the time to install Linux on a Mac and find out how much trouble the utilities will be to compile.
The cool new "In" thing is DivX, can I create one?
There are no DivX encoders available yet for Macintosh, however you can play them with DivX player. It is available from http://mac.divx.st/ Technically you could create one with MPEG2AVI under emulation. keep an eye open on the forums at mac.divx.st, there are people working on encoders.
I want to create DVDs, not rip them, what do I do?
That would be a topic for another FAQ, and not suitable to answer in detail here. Companies like WiredInc, Sonic and Hueris have the tools needed to create DVDs on the Mac. Until DVD-R drives come down in price, or DVD-RW drives come to market, the cost to do this is beyond the average consumer. If consumer set-top DVD players would read DVD-RAM, the situation would be different, but as of yet, I haven't found a set-top box that will play them.
What about Heuris DVD ConnexIT?
If you have any good info on this product, let me know. It looks like it might have the potential to read a decrypted DVD right into Premiere.
http://www.heuris.com/
But you didn't mention DVD-Player!
For good reason. In my opinion, it is just a toy with no practical value. It can't handle AC3 sound, and has failed to play all but one DVD I have fed it. It may be of use to those of you in other regions, but for region 1 DVDs it is useless. Maybe I'm just ticked because the author won't even spend 2 seconds to get the playback window to stop hanging off the edge of the screen. Still, if you insist on self abuse, here is the URL
http://fred.elma.fr/Soft_DVD/Soft_DVD.html
What's this about Blue Label accessing DVD drives?
Yes, believe it or not Blue Label can actually read a DVD. All other emulators treat DVD drives as CD drives. The sequence is to install Win 98 under Blue Label, once properly installed, disable the ATAPI access to the CD drive and enable the SCSI card. Easier said than done, so I won't go into detail on this. Needless to say, you must have a SCSI DVD drive. The whole point to doing this is to run DeCSS, and now that we have DVDExtractor, the point is moot.
How do I get my Blue & White G3/Ice G4 to play on a TV, or record to a VCR?
The short answer is: Don't bother. The long answer is: Use an external video scan converter. A scan converter takes the RGB output from your Mac and converts it to NTSC (or PAL). The problem with scan converters is they don't sync up perfectly with the computer's DVD player, so you get nasty motion artifacts and poor image quality from the line doubling/re-interlacing process. This might be good enough to make VHS dupes of "A Bugs Life" for your kids to play a million times, it isn't good enough to make a decent quality VCD. The same goes for Powerbooks with video out. They are even worse since they force the video into underscan, and you end up with a black border all the way around the video image.
Sundry Notes:
For ac3dec, type "ac3dec -help|more" at the dos prompt to get help.
Web resources:
DVDExtractor is available from a number of Hotline severs.
Get the Hotline client from:
http://www.bigredh.com/
Locate Hotline files at:
http://www.hotlinehq.com/
Sparkle is available from:
http://www.pure-mac.com/video.html
HexEdit is available from:
http://shareware.cnet.com
Movie2MPEG is available from:
http://www.win.ne.jp/~juan/misc/mpg/index_e.html
Ac3dec is available from:
http://www.ac3dec.com/
PC and some Mac tools:
http://www.digital-digest.com/dvd/downloads/
Editorial:
I highly recommend the Wired4DVD decoder. It is a hardware MPEG2 decoder that you plug into any PCI Mac. It gives proper NTSC (PAL) video out, as well as digital and analog audio out.
Since Apple acquired Astarte's MPEG products, I can only imagine good things coming to the Mac. Astarte sold a full line of DVD authoring products including both VBR MPEG 2 and AC3 encoders. Maybe we will see a version of Final Cut Pro that can author a DVD in one easy to use package? MPEG 1 and MPEG 2 as compression options for Quicktime 5? DVD-RW drives as build to order options on future G4's? The sky is the limit! In my mind it was a wise purchase, and goes along way to improving my confidence in Apple. The last word I have is that Apple is going to rebrand the products and re-release the same products.
Coyote, if you are listening, can you fix/add the following:
- When saving a .M2V file, skip everything until a valid MPEG 2 sequence header is found.
- Could you add the source to "crack" .VOB files? That would allow for extracting from images as well. VOBDec has source.
http://www.dvd-digest.net/downloads/files/vobdec0311p.zip
- Any chance SCSI DVDs could be supported? The above addition might fix this.
- Fix the issue where you can't mount a DVD image right after making it without quitting and re-launching DVDExtractor.
- Go nuts and turn it into a one stop ripper/DVD player...
PC AC3 decoder source code:
http://www.ac3dec.com/
Mac MPEG 1 encoder source code:
http://www.win.ne.jp/~juan/misc/mpg/index_e.html
MPEG2 decoder source code (mpeg2dec):
http://www.mpeg.org/
Acknowledgments:
1.1
MPEG2Decoder hack... significantly changes things. Thanks to Merripen and Greg for (now obsoleted) suggestions.
1.0
Original version.
This was a Squished Squirrel production... Highly compressed, flattened and ready to deliver.