digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   Encoding: trying to convert divx to kvcd 352x240 (http://www.digitalfaq.com/archives/encode/3059-encoding-convert-divx.html)

JoZ 03-22-2003 12:14 AM

Encoding: trying to convert divx to kvcd 352x240
 
Hello! Again me and again with problem!

I'm trying to convert "Scotland, PA" avi/divx to kvcd352x240.

Audio is something. I don't know the format but I believe it's ac3. I don't
have codec installed for ac3 but I was able to extract the audio with
"avi2wav", after that renamed it from .wav to .ac3 and converted it with
HeadAC3he to mp2, dual channel, 44.1khz, 128 without any problem.

Video part. :-( Looks just fine if I'm playing it with Media Player. I
checked it with vdub video->scan video for errors and the result was:
no problems at all, 0 bad frames, 0 good frames but un... blahblah.

I'm creating a .avs script with MovieStacker and I do have installed
Avysinth 2.08. My script is:
Code:

LoadPlugin("C:\Program Files\_video_stuff\MovieStacker\Filters\MPEG2Dec.dll")
LoadPlugin("C:\Program Files\_video_stuff\MovieStacker\Filters\TemporalCleanerOld.dll")
LoadPlugin("C:\Program Files\_video_stuff\MovieStacker\Filters\GripFit_preview.dll")
LoadPlugin("C:\Program Files\_video_stuff\MovieStacker\Filters\BlockBuster.dll")
LoadPlugin("C:\Program Files\_video_stuff\MovieStacker\Filters\DustV5.dll")
LoadPlugin("C:\Program Files\_video_stuff\MovieStacker\Filters\LegalClip.dll")

AviSource("C:\Scotland,_PA._(2001).XPD.ShareReactor.avi")
LegalClip()
GripCrop(352, 240, overscan=1, source_anamorphic=false)
GripSize(resizer="LanczosResize")
PixieDust()
TemporalCleaner()
BlockBuster(method="noise", detail_max=7, seed=1)
GripBorders()
LegalClip()

So, I'm trying to predict with Tok 0.0.4.2 and... I'm getting this error
"The resolution for video is illegal" as soon as Tok start TMPGEnc.
I'm closing TMPGenc and Tok is opening it again with the same error.

Tok log looks like:
Code:

Resolution (fps):740x56 (24.000 fps)
Total Frames: 240
Total Time  : 0:00:10
-------------------------------------------------------
 
Audio Size: 123,602,024
Required Video Size: 681,686,016
 
Factor: 60.000
Desired Sample Size: 11,361,434

beautiful resolution right?

I was presumig something is wrong with Tok because it's too new product
still. So I was opening just TMPGenc, loading avs script, loading kvcd352x240
template and with the default cq=70. I was trying to encode the movie.
What I've got? A movie about 1/2mb big and it does have one label in it
which says:
Code:

ACM failed to suggest compatible PCM format.
(C:\NewScript.avc line 12)

When I load avs script in TMPGenc settings are:
Code:

MPEG-1 740x56 24fps CQ 70
and I overwriting them when I'm loading kvcd352x240 template.

When I took a look at the movie resolution (windows explorer->properties
->summary) they are: 576x304.

How can I encode the movie to kvcd? What am I doing wrong? Please help!

PyRoMaNiA 03-22-2003 02:48 AM

Extract the video only with VirtualDub. Open your film in VDub, Click Video, Direct Stream Copy, and Audio, No Audio. Then Save as AVI. The resulting file will have video only, so change your script so that it points towards that. There's probably an easier way to do it, but this has worked great for me...

Hope this helps! :)

JoZ 03-22-2003 11:01 AM

You were hopping correct. Helped!

Strange when I was predicting with Tok. First pass was good but second
started very strange and I stopped it. Strange means cq was between
-85,456.345 and 25,435.020?!?! As far as I understand min cq is 0 max
is 100. Better helix to check his way of calculating and insert some checks
inside of Tok.

10q, PyRoMaNiA! Is that from Def Leppard'83?

PyRoMaNiA 03-22-2003 01:42 PM

Quote:

cq was between -85,456.345 and 25,435.020?!?!
This happened to me with an older version of ToK...not sure why it happens though...


Quote:

10q, PyRoMaNiA! Is that from Def Leppard'83?
erm :oops:....is what from Def Leppard'83??

muaddib 03-22-2003 06:31 PM

Your nick. :mrgreen:

PyRoMaNiA 03-23-2003 06:03 AM

Oh! :idea: :o

Well if it is, it's just coincedence. :)

JoZ 03-23-2003 10:53 AM

Quote:

Originally Posted by PyRoMaNiA
Oh! :idea: :o

Well if it is, it's just coincedence. :)

:lol:

And the rest of the story. My movie works now... what was so strange
and never happened before. When I converted .ac3 to .mp2 with headac3he
I've got 120mb file which is about right size for a movie 1:40h. Also my
m1v from tmpgenc was about 560mb (I didn't predict because Tok was
acting weird). So I was presuming after muxing I'll have file about
680mb. Yes but no! I've got 580mb file. This is not typo. Somehow my
audio is 20mb but it just works.

I don't want to convert anything like that anymore if it's possible =D

PyRoMaNiA 03-24-2003 01:53 PM

Quote:

When I converted .ac3 to .mp2 with headac3he
I've got 120mb file which is about right size for a movie 1:40h. Also my
m1v from tmpgenc was about 560mb (I didn't predict because Tok was
acting weird). So I was presuming after muxing I'll have file about
680mb. Yes but no! I've got 580mb file. This is not typo. Somehow my
audio is 20mb but it just works.
8O Thats pretty weird!

You sure it wasn't encoded as a Standard VCD stream (and so was padded) and lost the padding when it was muxed or something?? :?

JoZ 03-24-2003 04:05 PM

Quote:

Originally Posted by PyRoMaNiA
Quote:

When I converted .ac3 to .mp2 with headac3he
I've got 120mb file which is about right size for a movie 1:40h. Also my
m1v from tmpgenc was about 560mb (I didn't predict because Tok was
acting weird). So I was presuming after muxing I'll have file about
680mb. Yes but no! I've got 580mb file. This is not typo. Somehow my
audio is 20mb but it just works.
8O Thats pretty weird!

You sure it wasn't encoded as a Standard VCD stream (and so was padded) and lost the padding when it was muxed or something?? :?

Damn positive! I'm making up to 5-6 kvcd per day. This is the only movie
I was having very hard time to deal with. I do agree with the padding part
but still from 120mb to 20mb... it's a huge difference from my point of view.
The most amazing part is that it just works fine without problems.

PyRoMaNiA 03-25-2003 02:21 PM

Seems video encoding sometimes just decides to do something weird and give no explanation for it... :lol: I've also occasionally had things happen that are just unexplainable. Nothing as amazing as that though! :D


All times are GMT -5. The time now is 02:41 PM  —  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.