Hello all, I'm hoping you can point me in the right direction. I'm interested in getting rid of my VCR. I've got a PVR-250 tuner & a DVR-105 DVD burner.
I'm interested in finding command line tools that I can use to capture my TV shows, author those shows into DVD format & then burn them to DVD-RW.
I've found tools to do the capturing (WinTVCap), but I'm having trouble with the authoring. About the only thing close to what I want was a Win32 compiled version of dvdauthor that Baldrick posted earlier in this group. The problem there was that I'm capturing to MPEG2 directly & it seems that mplex wants the m2a & m2v files. So, this is where I'm stuck right now. Is there a decent site with documentation and/or examples for either dvdauthor or mplex?
Finally, I would be interested in any suggestions on burning DVD-Video from the command line as well.
Thanks for your time & sorry for the length of the post!
+ Reply to Thread
Results 1 to 18 of 18
Since all tools you mention are *nix derivatives, take a dive into LinuxLand. What documentation there is. Linux users are supposed to read the source code for the tool to understand how it works, so don't expect too much!
I know I've seen a complete list of tools (and commands) to use from mpeg to finished DVD somewhere, but since I don't own a DVD writer (yet), I didn't look too closely. It involves dvdauthor+mkisofs+cdrecord if I can remember.
Yeah, I was actually hoping to find some native windows tools, but I'm not going to hold my breath!
Any idea how to "extract" the m2v & m2a from an MPG? I've searched around on here, but I'm lacking on terminology & ending up with a lot of junk results.
mpegtx is a good windows based command line multiplexing/demultiplexing tool
as far as mplex is concerned, it can use ac3 audio files (ive been working alot with dvdauthor and mplex with very good results).
Just use this:
mplex -f 8 thenewfile.mpg stream.m2v stream.ac3
edit: i misread what the original poster was trying to do. Disregard the last statement about mplex
Thanks guys, for all your hard work!
I'm almost there, I've gotten to the point that I've created the VIDEO_TS folder. Now all I need is a command line app to either burn the Video DVD, or build the DVD-ISO for me to burn.
I'm surprised I've made it this far in XP!!!
Here's a link describing how it's done using Linux. I don't know if there are Windows ports of all tools mentioned, but I think it's worth a look.
Are you planning on sharing when complete??? plz
Nice tut opportunity.
Good News! Nero has a command line burning tool! From what I've read, I guess it's a sample of the NeroAPI. Anyway, it works like a charm.
Yes I think I will post my findings after I get all the parts in place & do some tweaking with them to clean up the code.
Now the only problem I'm having is that DVDAuthor isn't creating the VIDEO_TS.IFO, VIDEO_TS.VOB & VIDEO_TS.BUP files.
Man, just when you think you're done with something, something else comes up!
Does anyone have any ideas on the DVDAuthor/VIDEO_TS.* file thing?
Originally Posted by iancaz
3. Create the table of contents dvdauthor -T [-o dir]
Originally Posted by Baldrick
Now to finally try burning this!!!
Wish me luck!
I think even good ole cdrecord will fit the bill - at least the Linux version writes DVD-R too. I'd like to see this kind of approach based on 100% freeware...
I agree with you. A 100% freeware version is what I would like to do. Nero was just going to be a copout for me to get this running ASAP. I may still go that route for the interim.
Anyway, new hurdle, I install Cygwin & compiled the newest (that I could find) version of cdrtools v2.0.3.
mkisofs: worked like a champ right out of the gate.
cdrecord: no dice
When I do a "cdrecord -scanbus" this is what I get:
Cdrecord 1.11a12 (i586-pc-cygwin) Copyright (C) 1995-2001 Jörg Schilling
Using libscg version 'schily-0.5'
0,0,0 0) 'WDIGTL ' 'WDE9100 ' '1.50' Disk
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) HOST ADAPTOR
1,0,0 100) *
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) HOST ADAPTOR
The WD is obviously my HD master on my first IDE bus. What's missing is my Pioneer DVR-A05 which is master on my secondary IDE controller & my Creative DVD-ROM which is the slave on my primary.
Does anyone have any ideas? This is driving me crazy!!!
Actually, I haven't burned a VCD with this drive. My DVD player doesn't like them, that's actually why I got this drive.
Thanks though, force ASPI did the trick!!!
Well, the adventure continues...
After downloading & compiling cdrecord, I find out it won't write DVD-R/RW. You need to use cdrecord-prodvd, download that & it dies on me.
Here's what I get:
Command: cdrecord-prodvd2 dev=1,0,0 -dummy dvd.iso
Cdrecord-ProDVD-Clone 2.01a11 (i586-pc-cygwin) Copyright (C) 1995-2003 Jörg Schilling
Unlocked features: ProDVD Clone
This copy of cdrecord is licensed for: private/research/educational_non-commercial_use
scsibus: 1 target: 0 lun: 0
Using libscg version 'schily-0.7'
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Vendor_info : 'PIONEER '
Identifikation : 'DVD-RW DVR-105 '
Revision : '1.00'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Using generic SCSI-3/mmc-2 DVD-R/DVD-RW driver (mmc_dvd).
Driver flags : DVD MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Starting to write CD/DVD at speed 1 in dummy TAO mode for single session.
Last chance to quit, starting dummy write 8 seconds.
At this point, it just goes away...
eventually, I get a file called cdrecord-prodvd.exe.stackdump
Exception: STATUS_ACCESS_VIOLATION at eip=01291130
eax=01291130 ebx=0000074C ecx=0022D4D8 edx=7FFE0304 esi=0A042AD0 edi=0022D560
ebp=0022D560 esp=0022D4E4 program=cdrecord-prodvd.exe
cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
Frame Function Args
0022D560 01291130 (0A042A38, 0A042A38, 0022D5A0, 0042DC56)
0022D5A0 0042DC6D (0A042A38, 0000006C, 00000000, 00000014)
0022D5D0 004228EF (0A042A38, 00000000, 0022D5F0, 00000000)
0022D600 00406568 (FFFFFFFF, 0044F06C, 0022D630, 00445225)
0022D630 00444F8B (FFFFFFFF, 0044EFF0, 0040D788, 0022D6B0)
0022D680 00444F57 (00000001, FFFFFFFF, 0040D788, 0022D6B0)
0022D6A0 00444E79 (FFFFFFFF, 0040D788, 0040CCB4, 0040D8DE)
0022D6D0 0040D896 (00B90000, 00000001, 00004E20, 0E4E1C00)
0022D700 0040D8C4 (00000003, 00B90000, 0022D910, 000007C0)
0022D770 0040D6CC (0022D910, 00000002, 0022D7B0, 0040BE2F)
0022D7A0 0040D4E3 (0022D8B0, 0000FC00, 0022D7E0, 0040D1CF)
0022D7E0 0040D1DB (0022D8B0, 0000FC00, 00007D70, 00100001)
0022FE90 00403934 (00000004, 0A0403D0, 0A040330, 00000001)
0022FF10 61005018 (610CFEE0, FFFFFFFE, 000007E8, 610CFE04)
0022FF60 610052ED (00000000, 00000000, C0389104, 00000001)
0022FF90 0044832F (004024C4, 8053476F, 00000001, 823F6070)
End of stack trace (more stack frames may be present)
Nero's looking better all the time
Okay, I'm about to call it quits on this project! I've finally gotten all of the pieces together & took a run at it. Right out of the gate I've got an Audio/Video sync problem.
Here's the wierd part, they start out in sync & get further out of sync as the show progresses. By the end of the first commercial break, it's off by 3-5 seconds.
Here's what I'm doing:
1. Capturing the MPG using WinTVCap v2.0.3
2. Then split the MPG into streams (demux) using mpgtx
3. Then recombine the streams with VOB pointers using mplex -f 8
At this point the MPG is screwed up.
Any advice is appreciated...it's late...I'm going to bed...
Originally Posted by iancaz
2. is your capture card dropping a lot of frames? you might want to try a tool that someone just pointed out to me:
Check out the README and TODO files for more information.