digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   Guide to convert Divx to KVCD (http://www.digitalfaq.com/archives/encode/2143-guide-convert-divx.html)

SansGrip 01-16-2003 08:35 PM

Quote:

Originally Posted by MrCoopz
it has borders at the top and bottom.

The borders top and bottom are your friends. The bigger the borders, the better quality the video in the middle. Ideally you'd want just a black screen :mrgreen:.

You can convert widescreen to fullscreen, but not only does the CQ level drop dramatically, you'll also be missing big chunks of the movie left and right.

Quote:

and i just looked at the audio info of the original divX and it says Channels 2 (stereo)
If the AVI isn't AC3 5.1 then you're pretty much at the mercy of whomever encoded the AVI's audio. I always try to find AC3 5.1 versions so that I know the audio hasn't been messed with.

Quote:

Oh and the 2 pass box iis already checked
If it's already normalized to 100% then there must be a very loud part of the movie that's confusing it. You'll just have to jack up the volume on the receiver :).

black prince 01-16-2003 09:33 PM

@MrCoopz,

MrCoopz wrote:
Quote:

Black Prince u are a god, thanks alot for doin this guide i cant wait for the MPEG 2 one
The other guys are closer to that than I am (Kwag, SansGrip). I just
throw up a basic guide with the latest improvements in KVCD. :)
Thanks for the compliment from all of us. :D I want to wait until
others who use this Guide find it easy to get throught and then move
on to a another guide. Suggestions for the next guide are welcome. :)

-black prince

Reno 01-17-2003 12:03 AM

@Mr. Coops,

Try opening the Avi in Goldwave. It will uncompress into a godawful big .wav. Use the 'volume adjust on the .wav (I know, it takes three weeks). Then save the .wav (another three weeks), and toss THAT into Headac3he for conversion. Hope that helps.

MrCoopz 01-17-2003 03:47 AM

Thanks Reno ill give it a go

Sansgrip what settings do i need in TmpGenc and in my Script to make a movie full screen, i wanna do a little test file to see the quality :)

logan555 01-17-2003 05:45 AM

Can't Find Gripfit
 
I can't get the new filters gripfit. I tried the address
http://www.jungleweb.net/~sansgrip/G...eview_0.0c.zip but I get an error message that the file is no longe there or has been removed.
Help please!

Fiz 01-17-2003 05:49 AM

try this url

http://www.jungleweb.net/~sansgrip/G...eview_0.0c.zip

I just downloaded it fine.

rendalunit 01-17-2003 12:56 PM

Quote:

Originally Posted by SansGrip
Load that into VDub and do a full processing WAV save. If that doesn't work, I'd say do a direct stream copy and use something like Goldwave to save it uncompressed. You never know

I ended up converting each Divx to Huffy avi and extracted the audio from that.

Thanks,
ren

jorel 01-19-2003 04:45 AM

@ black prince:

8O really impressive .......fantastic tutorial. 8O

and extra new....extreme details....never see this before in other place! 8)

seems.....
:encore: :hopline: :ole: :tup: :book: :bigooh: 8O :wink:

and..... 8O 8O 8O too!

and the best (for me):learn how to make an avs script 8)
out of dvd2svcd.
:D

ps:
to help(us):
when update something in the first page,please put the date :wink:
then we find what's new in the tutor.
thanks!

black prince 01-19-2003 01:11 PM

@All,

Here's a spreadsheet (Thanks to Gaudi) to calculate file size.
Please give me some feedback about whether to include it in
the Guide to convert Divx (avi) to KVCD.

File Prediction

…………………......A..........................B…………………………………
..1..Inputs…………………………………………………………………
..2……………………………………………………………………………….
..3 No. of CD’s.............................1…………………………………….
..4..Audio File Size.......................99,000,000…………………………
..5..Totals Frames........................152,255…………………………….
..6..Test Frames...........................2,544………………………………
..7..Movie Length (seconds).........6350…………………………….…
..8..Test File Size..........................24,053,987…………………………
..9..Current CQ............................100…………………………………
.10…………………………………………………………………………………
.11..Results……………………………………………………………………….
.12………………………………………………………………………………...
.13..CD.File.Size............................=813, 019,155.*.B3………………...
.14..Factor.....................................=@ Round(( B5 / ( B7 / 60 ) / 24,2)
.15..Target File Size.......................=@Round((( B13 – B4 ) / B5 ) * B6,2)
.16..New CQ..................................=@Round(( B15 / B8 ) * B9,2)……..
.17..Diff %.....................................=@Round(( B15 – B8 ) / B15,2)…….
.18..Corrected CQ..........................=@Round(( B9 + B16 ) / 2,2)……….

Enter data in Inputs. Results will give you the calculations. Use Corrected
CQ for your next test. If Diff % is ~3% or less, you have come close to your
Target File Size. If Corrected CQ is greater than 100, than use 100 the limit of
Tmpgenc. Row 17 Diff % is format percentage, 2 decimal places. The other
rows are format numeric with 2 decimal places. :)


-black prince

MrCoopz 01-19-2003 01:53 PM

Is there any other way to extract the Audio?

Vdub is having problems with one of my DivX's

Reno 01-19-2003 02:04 PM

The Goldwave trick didn't work?? Hmmm... :?

Is the file size for your .wav unusually small ~240mb??

Gaudi 01-19-2003 03:17 PM

Quote:

Originally Posted by Reno
The Goldwave trick didn't work?? Hmmm...

Is the file size for your .wav unusually small ~240mb??

Check out the following:
  • 1. Extract the audio from both .avi with VirtualDub, using Direct Stream Copy. Rename the files like part1.mpa and part2.mpa.
    2. Use madplay to convert them to two wav files (say part1.wav and part2.wav).
    Use it like: "C:\Your path here\madplay.exe" part1.mpa -v -o part1.wav
    3. Use Goldwave to join both files into a movie.wav file.
    4. Encode video as suggested by SansGrip (AviSource("part1.avi") + AviSource("part2.avi") ).
    5. Encode audio using BeSweet of Headac3he.
    6. Multiplex video and encoded audio.

Hope it helps.


Gaudi

Gaudi 01-19-2003 03:32 PM

To black prince:
Here are some comments on the Spreadsheet:

Quote:

..4..Audio File Size.......................99,000,000
  • As the number of seconds in the movie is known, I would prefer to calculate Audio size based on the bitrate. We can avoid then the step of calculating the audio size from Headac3he.

Quote:

7..Movie Length (seconds).........6350
  • I would alse here calculate the movie length based on the Total Frames and the FPS. This way is better, at least for me because I am using the AssumeFPS filter in Avisynth to encode PAL movies in NTSC.
    The info on FPS is also given by GSpot or VirtualDub.

Quote:

13..CD.File.Size............................=813,0 19,155.*.B3
  • How about this number, converted to mb it gives me around 775 mb. I have positively burned 809 mb into a 80 min CD. Could you confirm that?
    I think it would be better to work all filesizes in mb.

Quote:

.16..New CQ..................................=@Round(( B15 / B8 ) * B9,2)
.17..Diff %.....................................=@Round(( B15 – B8 ) / B15,2)
.18..Corrected CQ..........................=@Round(( B9 + B16 ) / 2,2)
  • I would indicate that the CQ value in row 16 is the suggested new CQ value for CQ_VBR, while the so called "Corrected CQ" is used for CQ.

That is all, as far as I can see.

Gaudi

black prince 01-19-2003 03:51 PM

@Gaudi,

Quote:

As the number of seconds in the movie is known, I would prefer to calculate Audio size based on the bitrate. We can avoid then the step of calculating the audio size from Headac3he.
I encode the Audio using Headac3he and use the actual audio file size.
I use to calculate the audio as you are doing, but it was not accurate and
only approximate.

Quote:

I would alse here calculate the movie length based on the Total Frames and the FPS. This way is better, at least for me because I am using the AssumeFPS filter in Avisynth to encode PAL movies in NTSC.
The info on FPS is also given by GSpot or VirtualDub.
Quote:

How about this number, converted to mb it gives me around 775 mb. I have positively burned 809 mb into a 80 min CD. Could you confirm that?
I think it would be better to work all filesizes in mb.
This is from SansGrip's method for manual calculations which I found
to be more accurate.

Quote:

I would indicate that the CQ value in row 16 is the suggested new CQ value for CQ_VBR, while the so called "Corrected CQ" is used for CQ.
Good Suggestion. I know what it means, but others might get confused :wink:
Thanks for your feedback. This makes the next Guide better and more
accurate. :D

-black prince

black prince 01-19-2003 03:57 PM

@MrCoopz,

If VirtualDub is giving you trouble, try AVI2WAV:

http://www.geocities.com/agrgic.geo/avi2wav.htm

-black prince

SansGrip 01-19-2003 04:49 PM

Quote:

How about this number, converted to mb it gives me around 775 mb. I have positively burned 809 mb into a 80 min CD. Could you confirm that?
That figure is the maximum number of bytes available on an 80-min disc when you compensate for VCD overhead and the system stream.

Perfect Cell 01-20-2003 06:27 AM

Kwag΄s Notch Beta 1
 
Hi people! :D

First of all, thanks for all your help. This is my first post, but I was "leeching" the info from the board by months, but now I have a question I don΄t see answered in other posts.

Black Prince put the Kwag΄s Notch Beta-1 Q-matrix, and said to put this in the TMPGenc matrix. I get the templates from the site, but I see the q-matrix from the templates are different in some values.

What I have to do? I have to change the values from the templates to match the values Black Prince put in his faq ( thanks for your help, your faq is great ! ) or I continue using the values I already have from the templates Kwag΄s put in the site?

Thanks in advance for all your help, an a special thanks for Kwag and Sansgrip, without you we can΄t put so much time in a single CD.

black prince 01-20-2003 07:24 AM

@Perfect Cell,

The Q-Matrix Notch (Beta-1a) is the latest optimized matrix and should
be used with the new GOP 1-24-2-1-24. You'll get a better picture with
improved compression (decrease in file size) using this Q-Matrix. :)

-black prince

nicksteel 01-21-2003 10:02 AM

Quote:

Originally Posted by black prince
@Perfect Cell,

The Q-Matrix Notch (Beta-1a) is the latest optimized matrix and should
be used with the new GOP 1-24-2-1-24. You'll get a better picture with
improved compression (decrease in file size) using this Q-Matrix. :)

-black prince

:?: Should I be using this with KVCDx3?

black prince 01-21-2003 10:45 AM

@Nicksteel,

Quote:

Should I be using this with KVCDx3?
Yep!! :)

-black prince


All times are GMT -5. The time now is 10:24 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.