digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   Ever try to convert KVCD to a KVCD file? (http://www.digitalfaq.com/archives/encode/8326-convert-kvcd-kvcd.html)

easymenu 02-25-2004 12:38 AM

Ever try to convert KVCD to a KVCD file?
 
I've been doing some experimenting and stumbled across this odd problem. I made a file from a video capture and thought to find out if I could take that processed file and reprocess it. Why? Well, I've been reading about MPEG and how one company's product makes MPEGs one way and another makes them another way -- but still other programs won't accept either (out of specs? whatever).

So, I was thinking, just how good is TMPGEnc (or, for that matter, any piece of software in the entire KVCD process)? Can it take it's own product without choking? So took the KVCD file I made using AviSynth (2.0.8 under WinNT4) and TMPGEnc (2.5.20) and made a simple AVS file to feed it through again:

Code:

# using MPEG2DEC_nic.dll
mpeg2source( "tmpgenc_KVCD.mpg" )

Usually, before I do any TMPGEnc'ing, I'll simply run the AVS file with Windows Media Player to see what it looks like. THAT is where it got stuck. When the AVS file is run, MPEG2DEC first creates it's D2V file. But it's a bad file - no list of information beyond the header info - and WMP locks up. There's what I get:

Code:

DVD2AVIProjectFile
1
35 tmpgenc_KVCD.mpg

Stream_Type=1,0,0
iDCT_Algorithm=2
YUVRGB_Scale=1
Luminance=128,0
Picture_Size=0,0,0,0,0,0
Field_Operation=0
Frame_Rate=25000
Location=0,0,0,0
 9

FINISHED

This indicates that whatever TMPGEnc produces, MPEG2DEC doesn't like. (BTW, TMPGEnc has no problem processing the actual KVCD file itself. However, everything stops when it's fed in via AVS -- the MPEG2DEC problem again.)

Anyone ever notice this? Is there a bug in the MPEG2DEC file, or some other file (like DVD2AVI)? Is it the same with AVS 2.5.x version files or other versions of TMPGEnc? Just an inquiry ...

Dialhot 02-25-2004 04:32 AM

You KVCD is MPEG2 or 1 ?

easymenu 02-26-2004 05:07 AM

The orginal capture was an MPEG2.

That file was then produced into the MPEG1 KVCD.

Trying to produce the next generation MPEG1 KVCD file (from the previous MPEG1 KVCD file) causes the problem.

I would think that if everything is working properly right down the line, there shouldn't be this "generational" problem -- indicating that we all might be producing bad files AND/OR (at least) a couple of our tools need repair.

*shudder*

Dialhot 02-26-2004 06:53 AM

That's because, as its name can tells you, mpeg2source can't handle mpeg1 :-)
(even if you can see in the doc that it can, in fact it never works as you had saw by yourself).

Use "Directshowsource('film.mpg').killaudio()" and everything will be okay.

Note : you must have at least avs2.5.3 for that.

easymenu 03-03-2004 04:53 AM

Thanks for the tips.

The DLL I used was the MPEG2DEC by Nic. I thought it stated somewhere that it could handle any MPEG type, but I cannot find that now. :roll:

Anway, I tried your suggestion with AviSynth V.2.5.x (under Win98) and that does work. :D

(BTW, I just tested this with my original AivSynth 2.0.x (under WinNT4) and it works, too.)


All times are GMT -5. The time now is 01:42 AM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.