digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   Bitrates: GUides on using calculator programs? (http://www.digitalfaq.com/archives/encode/8499-bitrates-guides-calculator.html)

WOWIEGURL 03-06-2004 10:54 PM

Bitrates: GUides on using calculator programs?
 
Hi HOw do you use CQmatic and CalcMatic together? After hitting calculate on Calcumatic I get a pic which gives me the information I required. If I have dual audio on the file do I change the audio streams in Calcumatic to 2? I have no idea what I am doing......HELP!!

KYUSS 03-11-2004 12:18 PM

Re: GUides on using these programs? - Newbie here
 
Quote:

Originally Posted by WOWIEGURL
Hi HOw do you use CQmatic and CalcMatic together? After hitting calculate on Calcumatic I get a pic which gives me the information I required. If I have dual audio on the file do I change the audio streams in Calcumatic to 2? I have no idea what I am doing......HELP!!


hello m8,

i will try and help you if i can...........

my advice would be to walk before you can run (no offence)

firstly...... you cannot have dual audio on KVCD.....do you know this?
you can if you mux as SVCD but we are getting into more complex issues here.

and KVCD templates only encode video?
you should encode audio first really so you know final size and you can subtract it from your space on the cd..For 1 cd rips something like this): 800mb(cd size)-100mb(audio) - 15MB(muxing overheads) =685MB (for video)

so first of all......
SETTING UP TMPG
1. open TMPGenc.
2.choose the template you want. *NEXT*
3.load your video file (avi or mpeg) into TMPG audio will be loaded but not used. *NEXT*
4.click on other settings........choose your quality setting. *OK* *NEXT*
5.make sure your resolution is correct. *NEXT*
6.untick "start encoding immediatley" *OK*
7. now press.......*FILE*/ *SAVE PROJECT* choose location to save project file........YOU MUST SAVE AS A TMPGEnc Text Project file
8. Close TMPGEnc.

USING CALCUMATIC AND CQMATIC

1. open Calqumatic
2.Click on "SOURCE" button and load the video file that you loaded into TMPG (it will scan it) and tell you...... Running time ect.
3. choose the bitrate you encoded audio at (or what you intend to code audio at)
4. choose number of discs you want to produce
5. click on calculate
6. the important figure there is the "Average Bitrate" number......copy and paste this into CQMATIC in the average bitrate box.
7. fill in the "movie time in minutes" box with the readout in CALCumatic (i always round up the seconds)
8.click on "open project" in cqmatic and show it where the TMPGEnc Text project file you created earlier is.....and click on EXECUTE! and away we go.........

settings in CQmatic:
you need to show cqmatic where TMPGEnc.exe is located just once.
click PredictionX1 to toggle between predictionX1 and predictionX3 (X3 is 3x more acurrate but takes 3x longer)
click full encode to toggle between Full encode (which does prediction then full encode) and prediction only (which does what it says on the tin)

hope this is informative enough m8 ( i am no expert)

i have used this proggy to successfully produce: 2 VCDS to 1 KVCD.......... 2 svcds to 1 KVCD/KSVCD .....avi/xvid/divx to KVCD.

if you have any questions m8 just fire away i will do my best

cheers
KYUSS

WOWIEGURL 04-24-2004 08:16 AM

SETTING UP TMPG
1. open TMPGenc.
2.choose the template you want. *NEXT*<- HOw do I do that?
3.load your video file (avi or mpeg) into TMPG audio will be loaded but not used. *NEXT*<-I've tried but I keep getting Mpg is not a valid file message from TMPGENC

4.click on other settings........choose your quality setting. *OK* *NEXT*
5.make sure your resolution is correct. *NEXT*
6.untick "start encoding immediatley" *OK* <-THis is just the start button right? I clicked on the start but it doesn't recognise the mpg file I loaded. Dunno why.
7. now press.......*FILE*/ *SAVE PROJECT* choose location to save project file........YOU MUST SAVE AS A TMPGEnc Text Project file
8. Close TMPGEnc.

HOw do I load this template or save it? I'm trying to do a 3 mpg in 1. THe l1st is only 20 mbs, the rest is 450 - 550 mbs each.

a=directshowsource("part1.mpg").killaudio()
b=directshowsource("part2.mpg").killaudio()
c=directshowsource("part3.mpg").killaudio()
a++b++c
BlindPP(cpu=4)
Blockbuster(method="noise",detail_min=1,detail_max =3,variance=0.1,seed=1)
Convolution3D(1, 6, 12, 6, 8, 2.8, 0)
GripCrop(WIDTH, HEIGHT, overscan=1, source_anamorphic=false)
GripSize(resizer="LanczosResize")
Undot()
TemporalSoften(2,7,7,3,2)
DCTFilter(1,1,1,1,1,1,0.5,0)
#Blockbuster(method="noise",detail_min=1,detail_ma x=10,variance=0.3,seed=5623)
GripBorders()

Where exactly do I add this line?

copy /b audio1.mp2 + audio2.mp2 audioSum.mp2


Please help!!

KYUSS 04-25-2004 06:32 AM

first of all m8

that is not a template..........that is an avs script.

KYUSS 04-25-2004 06:41 AM

Quote:

2.choose the template you want. *NEXT*<- HOw do I do that?
if you have the KVCD templates in the correct folder when the wizard starts up you will be able to choose a template.


Quote:

3.load your video file (avi or mpeg) into TMPG audio will be loaded but not used. *NEXT*<-I've tried but I keep getting Mpg is not a valid file message from TMPGENC
are you loading an mpeg or that avs script?

for the method i have used ir requires you encode each mpeg seperately, this can be done as a batch operation tho.

or if you name them sequentially there is an option in TMPG to include all files with the same name as 1 film and encode together....but for this your audio would need to be joined as 1 file too which could create more problems.

get back to me with the answers m8 and i will try to help more.

i will be back in a miute also with a guide i will pinch from another forum and post in the acp section that will allow you to do 2 vcds to 1 kvcd or 2 svcds to 1 kvcd.

cheers
KYUSS

WOWIEGURL 04-25-2004 11:23 PM

Quote:

are you loading an mpeg or that avs script?
I'm trying to load a mpeg1 into the tmpgenc by clicking on "browse" next to the video source on the bottom of the screen. This is correct ain't it? THats when I get error messages

jorel 04-26-2004 01:16 AM

follow KYUSS's hints and take a read in this fast tutor too:
Instructions and notes:....
http://www.kvcd.net/forum/viewtopic.php?t=5145&start=0

:wink:

WOWIEGURL 05-14-2004 10:36 AM

how do you use cq matic for 2 files?

Dialhot 05-14-2004 01:02 PM

In Calcumatic you have an entry where you simply indicate "2" to tell that you want to compute everything for 2 video insteed of one.

Of course you will have to run CQMatic manually for each video separately.

WOWIEGURL 06-06-2004 01:09 AM

Quote:

3.load your video file (avi or mpeg) into TMPG audio will be loaded but not used. *NEXT*
If I load the avi file and audio is loaded and not used, will the end result still have sound?

Does it mean I only load the avi file into tmpgenc video part and leave the audio part blank?

Dialhot 06-06-2004 01:53 AM

Quote:

Originally Posted by WOWIEGURL
Does it mean I only load the avi file into tmpgenc video part and leave the audio part blank?

It(s better to do like this because CQMatic fails if the audio source is not blank.

And of course, you won't have audio in the end but it's ON PURPOSE ! Audio must be done separately with AUDIO encoders (tmpgenc is a VIDEO encoder).

WOWIEGURL 06-06-2004 02:03 AM

which is a audio encoder? headache? what do I use to join the video to the audio? I used tmgenc last time and it plays fine in the computer but
no sound in the tv. I already have an mp2 file

Dialhot 06-06-2004 02:17 AM

Quote:

Originally Posted by WOWIEGURL
headache?

Headac3che or besweet. Like you want.

Quote:

I used tmgenc last time and it plays fine in the computer but
no sound in the tv. I already have an mp2 file
Tmpgenc do that fine so you did an error somewhere.
(this error can be that your audio is in 48Khz and you standalone can't play mp2 other than 44.1Khz).

WOWIEGURL 06-06-2004 02:19 AM

so how do I join the mp2 with the mpg?

but I checked in the compatibilty list and my player was listed therre

Dialhot 06-06-2004 02:28 AM

Quote:

Originally Posted by WOWIEGURL
but I checked in the compatibilty list and my player was listed therre

The compatibility list report players compatible with 44.1 Khz audio :!:
(the only audio that is in the standard)

For joining : tmpgenc -> menu file -> mpeg tools -> simple multiplex.

Load the video source, the audio source and AFTER THAT set the mode to either "VCD non compliant" (if the video is mpeg1) or "SuperVideo CD" (if the video is mpeg2). Put the name of the target and run.

kwag 06-06-2004 02:28 AM

Quote:

Originally Posted by WOWIEGURL
so how do I join the mp2 with the mpg?

Mux it with TMPEG, or with BBMpeg (or Mplex), using these settings:

http://www.digitalfaq.com/archives/i.../2002/12/5.jpg

Those are the KVCD settings. If you are doing KSVCD, use the SVCD settings.

-kwag

WOWIEGURL 06-06-2004 02:48 AM

Quote:

Originally Posted by Dialhot
Quote:

Originally Posted by WOWIEGURL
but I checked in the compatibilty list and my player was listed therre

The compatibility list report players compatible with 44.1 Khz audio :!:
(the only audio that is in the standard)

For joining : tmpgenc -> menu file -> mpeg tools -> simple multiplex.

Load the video source, the audio source and AFTER THAT set the mode to either "VCD non compliant" (if the video is mpeg1) or "SuperVideo CD" (if the video is mpeg2). Put the name of the target and run.

I just found out my sample rate is 32000hz. THats probably why it isn't joinig. What should I do to make it 44.1 hz?? the only other post on this is in another language.

Dialhot 06-06-2004 03:38 AM

How did you do your mp2 ? Any encoder that can do mp2 can also fix the samplerate. The problem is to know which tool you used in order to give you more hints.

WOWIEGURL 06-06-2004 03:42 AM

I used headache - convert to mp2 bitrate of 128 min cbr. I try clicking on convert to 44.10hz then start, automatically unchecks it for me.

Dialhot 06-06-2004 04:06 AM

Because headac3che can't handle 32Khz probably. You will have to learn how to use Besweet then. Or use an otehr tool you know (try to do something by your own at least once :-))

WOWIEGURL 06-06-2004 04:44 AM

I have always used headache cuz its easy. But now I've switched to Besweet GUI and I don't know if this log tells if it has been converted from 32000 hz to 44100hz

BeSweet v1.5b28 by DSPguru.
--------------------------
Using Shibatch.dll v0.24 by Naoki Shibata & DSPguru (shibatch.sourceforge.net).
Using MP2enc.dll v1.129 (23/5/2002), Engine 1.129 <http://www.cdex.n3.net>.
Manual Dynamic-Compression algorithm by LigH (author of WaveBooster).

Logging start : 06/06/04 , 19:21:18.

C:\KVCD stuff\BeSweetv1.5b28\BeSweet.exe -core( -input e:\movie.wav -output e:\movie.mp2 -logfilea C:\KVCD stuff\BeSweetGUIv0.7b4\BeSweet.log ) -ssrc( --rate 44100 ) -boost( /b3=5 /l=0.95 ) -mp2enc( -s 44.1 )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : e:\movie.wav
[00:00:00:000] | Output: e:\movie.mp2
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] +------ Shibatch -----
[00:00:00:000] | Source Sample-Rate: 32.0KHz
[00:00:00:000] | Dest. Sample-Rate: 44.1KHz
[00:00:00:000] | Attenuation : 0.0db
[00:00:00:000] +-------- BOOST ------
[00:00:00:000] | Algorithm by : Tera
[00:00:00:000] | Boost Factor : 5.0
[00:00:00:000] | Limit Factor : 0.95
[00:00:00:000] +------- MP2ENC ------
[00:00:00:000] | Bitrate method : CBR
[00:00:00:000] | MP2 bitrate : 192
[00:00:00:000] | Channels Mode : Dual Channel
[00:00:00:000] | Error Protection: No
[00:00:00:000] +---------------------
[01:23:43:832] Conversion Completed !
[01:23:43:832] Actual Avg. Bitrate : 191kbps
[00:09:14:000] <-- Transcoding Duration

Logging ends : 06/06/04 , 19:30:32.

Dialhot 06-06-2004 04:53 AM

Quote:

Originally Posted by WOWIEGURL
I don't know if this log tells if it has been converted from 32000 hz to 44100hz

COme on ! It's written in all letters :-)

Quote:

[00:00:00:000] | Source Sample-Rate: 32.0KHz
[00:00:00:000] | Dest. Sample-Rate: 44.1KHz
:-D

Note : uncheck the "boost" box, or your audio will be very strange.

WOWIEGURL 06-06-2004 05:39 AM

If I join this with the mpg there will definetly be sound when played on tv???? definetly?

something happened. my file grew from 756 mbs avi including audio to 910 mbs mpg including audio!!

KYUSS 06-06-2004 06:20 AM

Quote:

Originally Posted by WOWIEGURL
If I join this with the mpg there will definetly be sound when played on tv???? definetly?

something happened. my file grew from 756 mbs avi including audio to 910 mbs mpg including audio!!


thats coz you have caculated for a different audio? isn't it?

Dialhot 06-06-2004 06:23 AM

Man, stop making things and READ SOME GUIDES !
You will understand why all your questions are just breaking our nerves :snif:

WOWIEGURL 06-06-2004 06:30 AM

guides don't tell you what to do if you get hz under 44100. Besides I have made 2 mpg1 movies before, this is the only one that is slowing me down beucase of the audiio problem

Dialhot 06-06-2004 07:10 AM

Okay, so let guides on the side and try to use our brain : you use CQMatic/Calcumatic for prediction, right ?
What audio bitrate you set in Calcumatic ? Was it 192 Kbps ? or 128 ?

Because you are talking about the audio but here it's obviously the video taht gives you problem about size.

WOWIEGURL 06-06-2004 07:40 AM

I'm redoing the whole thing again. This time the audio is 112. the whole thing will be 112. I'll report on the end result later. I've changed the setting to make 1 74 min cd so when I include the audio it won't go over the limit I think.

Dialhot 06-06-2004 07:45 AM

Note : as you are redoing anything, please use 2200 as max video bitrate and set the minimum to 0.57 x AVG. And do a 3x prediction under CQMatic.

Can we also see you script ? Because I fear you will have a CQ to low for your encoding.

WOWIEGURL 06-06-2004 07:59 AM

what script??? KYSSUS's guide said load the avi or mpg file I am encoding into tmpgenc before saving it as a tpr file.

anyway my script for this would be

AviSource("E:\movie.avi",false)
BlindPP(cpu=4)
Blockbuster(method="noise",detail_min=1,detail_max =3,variance=0.1,seed=1)
Convolution3D(1, 6, 12, 6, 8, 2.8, 0)
GripCrop(352, 240, overscan=1, source_anamorphic=false)
GripSize(resizer="LanczosResize")
Undot()
TemporalSoften(2,7,7,3,2)
DCTFilter(1,1,1,1,1,1,0.5,0)
#Blockbuster(method="noise",detail_min=1,detail_ma x=10,variance=0.3,seed=5623)
GripBorders()


soooo.... should I be using a script in tmpgenc before saving as a tpr, or avi as KYUSS previously said in his guide?????

Dialhot 06-06-2004 08:28 AM

Quote:

Originally Posted by WOWIEGURL
soooo.... should I be using a script in tmpgenc before saving as a tpr, or avi as KYUSS previously said in his guide?????

With a script the result will be better but you can just load the avi in tmpgenc if you want of course.

In your very first post on that problem you used a script and I don't understand why now you don't (not to say that you never mention you stop using a script and that don't help us to give you hints :!:). Stop just applying guides without THINKING a little by your own ! Some guides were posted by newbies sometimes fresher than you :!:

WOWIEGURL 06-06-2004 08:33 AM

I am thinking thats why I am redoing the whole conversion from scratch with some adjustments. I'm sorry I'm just getting a bit frustrated from all this as I've spent all day doing this and haven't ended up with the results I was expecting. I had one stage a good video but no sound. It had no red & black boxes and didn't stopo anywhere during playing, only thing missing was sound.I've done 2 conversions without any problems so this is driving me buts. But is that script okay?

kwag 06-06-2004 11:45 AM

Quote:

Originally Posted by WOWIEGURL
I've changed the setting to make 1 74 min cd so when I include the audio it won't go over the limit I think.

That's already taken care in CalcuMatic :!:
If you select 1 CD of 80 minutes, and you select your audio at 112Kbps, the average bitrate for video is already calculated, so that when you multiplex your video and audio, the final size will be the 80 minute (800MB) target.

-kwag

Dialhot 06-06-2004 11:56 AM

Quote:

Originally Posted by WOWIEGURL
I had one stage a good video but no sound. It had no red & black boxes and didn't stopo anywhere during playing, only thing missing was sound.

Yeah, I remenber al this stages. And that is why I tell you that a little thinking would prevent you for all this time loss : you have problem with the AUDIO and you redo the VIDEO ? ... tsss...

I can't remember who or what made you decided you need to reencode the whole thing. I hope it's not me :-)

Quote:

But is that script okay?
Yes it is.

WOWIEGURL 06-07-2004 09:02 AM

okay after re - encoding it and changing the 32000hz to 44100 hz in besweet I've got great video. THanks very much for your help and patience!!!


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