Log in

View Full Version : Using DVD2SVCD to re-enode MPEG2 file ?


rduck
24th August 2002, 08:48
Hi!

I've recorded a 90 minute sequence (file approx 4GB) in MPEG2 using my WinTV-PVR card (using 6Mbps VBR). The question is whether it somehow is possible to process this file in DVD2SVCD to get 4-pass VBR via CCE - because the file is neither DVD nor AVI format. If it can't be processed directly, could someone explain me the exact steps on what to do to get the movie re-encoded and split up to 2 SVCD's ?

Could be nice with a MPEG2 file input type ;)

UltimateDBZ
24th August 2002, 15:40
I have a similar situation capturing to MP2 with my Dazzle DVC-II, I posted a topic in the Capturing Video forum. You can view that here: http://forum.doom9.org/showthread.php?s=&threadid=31373

Nobody has replied with what to do yet, so if anybody would do so either here or there, I'm sure both me and rduck would appreciate it :)

hoozdapimp
24th August 2002, 16:12
i posted this at the link above too...

as far as i know (im not an expert either) dvd2svcd will only accept dvd file (vob files), avi files and DVB (?)...my question to you is why are you capturing it in mpeg2 form? with that high of a bitrate you might as well just capture it in avi format and compress it using the huffy codec on the fly (since uncompressed avi is very large)...then you can use dvd2svcd to convert it from there by simply loading up your avi file

rduck
24th August 2002, 17:10
The reason for capturing in MPEG2 form:

1. Uses less space
2. Encoding done in hardware
3. Less CPU demanding (compresison and writing to disk)

I can make AVI capture, but I'm afraid what 90 minutes of video in 720x576 will fill on my harddrive - but on the other hand I'm not sure the card will have full D1 resolution when doing AVI capture (not to mention how much bandwidth is required for capturing, processing through some kind of codec - and writing to disk).

hoozdapimp
24th August 2002, 17:15
ummm..capturing in huffy avi is probably alot less cpu demanding than capturing in mpeg2!
if i recall correctly huffy uses about 10mb/sec of video (at the highest quality..you can configure it to use even less if you want)you said you were using 6mb/sec so it's less than twice the space.

of course you could always convert your mpeg to avi but i dunno if you would lose any quality.

rduck
24th August 2002, 17:39
Originally posted by hoozdapimp
ummm..capturing in huffy avi is probably alot less cpu demanding than capturing in mpeg2!
if i recall correctly huffy uses about 10mb/sec of video (at the highest quality..you can configure it to use even less if you want)you said you were using 6mb/sec so it's less than twice the space.


It won't solve the problem. The compression right now is done on the WinTV PVR PCI card - in hardware (no software compresion using the CPU). This means that the amount of data transferred from the card to the PCI bus is much smaller than if the data should be transferred in RAW (of whatever the card uses) to the PCI-BUS, then the CPU should process it, and put it back on the PCI bus to be written to the harddrive (controller).

hoozdapimp
24th August 2002, 18:04
dude, im just trying to help you out here..if you want dvd2svcd to run the show, then you need an avi file. hands down.
capture with virtualdub if you need to..you don't need much cpu resources to capture in huffy. alot less than what is required for a decent running time in d2s!

UltimateDBZ
24th August 2002, 20:10
Obviously, DVD2SVCD can't reprocess an MP2 file, that's already out of the question. My original topic was to take the MP2 file and edit it properly, then apply chapters and create the image. Hence my saying it was a similar situation, but not the same as I don't want to reprocess it with DVD2SVCD.

hoozdapimp
25th August 2002, 07:10
i haven't used tmpge very much but can't you load the file in there and encode it?
they even have an svcd template to go by if you want i believe..

then to make the chapters you can use vcdeasy and add chapters at equidistant points or at points that you choose.

UltimateDBZ
25th August 2002, 16:56
TMPGEnc does not allow video sources to be MP2, so that won't work. I need to reencode in order to get the bitrate to a proper level in order to fit the movie on x # of cds. Is there a tool available that can adjust MP2 video bitrates as such?

GreenDrazi
25th August 2002, 22:53
I'm pretty sure to use it with DVD2SVCD, on the Misc tab, check DVB(pva) as input.

But I think you are both missing what people who typically "capture" material are trying to tell you.
When you capture to mpeg2 via your hardware card(s), you have already compressed the video once.
And now you have to compress it again for SVCD or VCD.
Most people who are looking for quality use a lossless avi codec like Huffy or low lossless like DV avi and then compress to mpeg via a software program like CCE or TMPGEnc which will give you better quality results than either WinTV-PVR or a Dazzle DVC-II hardware mpeg conversion.
Yes, this will take more time, use more hard drive space, and slam your cpu hard, but the results will usually be better.

bryanh
26th August 2002, 02:13
Originally posted by UltimateDBZ
Obviously, DVD2SVCD can't reprocess an MP2 file, that's already out of the question.

Actually that's incorrect (I have done it a number of times to re-encode captured MPEG2 files to fit on CD's.

Bryan

UltimateDBZ
26th August 2002, 02:19
You're right, I had forgotten about the DVB/PVA input method, and therefore was incorrect. Sorry for that :)

Cidici
26th August 2002, 12:21
cant u manually edit an avisynth file (AVS) that loads the mp2 and process it with avi2svcd ?
something like

LoadPlugin("MPEG2DEC.dll")
mpeg2source("c:\movie.mp2") -> (maybe movie.d2s)
.....

if dvd2svcd (in avisvcd mode) open this kind of file, you can try this method, if not, add some crop/addborder instructions and encode the file "manually" (with CCE), that is, dont use DVDSVCD but follow its procedure step by step :D


i've never tried this, just an idea, sorry if it doesnt work