Quantcast Convert KVCD Templates to MainConcept MPEG Encoder? - digitalFAQ.com Forums [Archives]
  #1  
03-01-2003, 05:06 AM
HansLuyten HansLuyten is offline
Free Member
 
Join Date: Feb 2003
Location: Netherlands
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
I really like the MainConcept MPEGEncoder much more than TMPGEnc,... is there a way we can convert a KVCD template to MPEGEcnoder tempate? It does support templates ...
__________________
webmaster, weethet.nl
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
03-01-2003, 07:59 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Hi HansLuyten,

I believe you can use the KVCD parameters with MainConcept. Just take the KVCD GOP settings 1-24-2-1-24 and the KVCD quantization matrix, and put them in MainConcept.
Let me know how it works, because we already benchmarked that encoder against TMPEG, and we agree that it is faster than TMPEG, but quality wise it's still not there

-kwag
Reply With Quote
  #3  
03-02-2003, 05:31 AM
HansLuyten HansLuyten is offline
Free Member
 
Join Date: Feb 2003
Location: Netherlands
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Kwag,

I did take a look at it and I'm afraid it's a bit too confusing for me ...
In the quantize area it says intra and non-intra ... that's where they lost me
__________________
webmaster, weethet.nl
Reply With Quote
  #4  
03-02-2003, 06:27 AM
HansLuyten HansLuyten is offline
Free Member
 
Join Date: Feb 2003
Location: Netherlands
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
OK did fix the quantization matrix did a little snooping in the templates ... and a lot of typing:

intra_q[0]=8
intra_q[1]=9
intra_q[2]=12
intra_q[3]=22
intra_q[4]=26
intra_q[5]=27
intra_q[6]=29
intra_q[7]=34
intra_q[8]=9
intra_q[9]=10
intra_q[10]=14
intra_q[11]=26
intra_q[12]=27
intra_q[13]=29
intra_q[14]=34
intra_q[15]=37
intra_q[16]=12
intra_q[17]=14
intra_q[18]=18
intra_q[19]=27
intra_q[20]=29
intra_q[21]=34
intra_q[22]=37
intra_q[23]=38
intra_q[24]=22
intra_q[25]=26
intra_q[26]=27
intra_q[27]=31
intra_q[28]=36
intra_q[29]=37
intra_q[30]=38
intra_q[31]=40
intra_q[32]=26
intra_q[33]=27
intra_q[34]=29
intra_q[35]=36
intra_q[36]=39
intra_q[37]=38
intra_q[38]=40
intra_q[39]=48
intra_q[40]=27
intra_q[41]=29
intra_q[42]=34
intra_q[43]=37
intra_q[44]=38
intra_q[45]=40
intra_q[46]=48
intra_q[47]=58
intra_q[48]=29
intra_q[49]=34
intra_q[50]=37
intra_q[51]=38
intra_q[52]=40
intra_q[53]=48
intra_q[54]=58
intra_q[55]=69
intra_q[56]=34
intra_q[57]=37
intra_q[58]=38
intra_q[59]=40
intra_q[60]=48
intra_q[61]=58
intra_q[62]=69
intra_q[63]=79

inter_q[0]=16
inter_q[1]=18
inter_q[2]=20
inter_q[3]=22
inter_q[4]=24
inter_q[5]=26
inter_q[6]=28
inter_q[7]=30
inter_q[8]=18
inter_q[9]=20
inter_q[10]=22
inter_q[11]=24
inter_q[12]=26
inter_q[13]=28
inter_q[14]=30
inter_q[15]=32
inter_q[16]=20
inter_q[17]=22
inter_q[18]=24
inter_q[19]=26
inter_q[20]=28
inter_q[21]=30
inter_q[22]=32
inter_q[23]=34
inter_q[24]=22
inter_q[25]=24
inter_q[26]=26
inter_q[27]=30
inter_q[28]=32
inter_q[29]=32
inter_q[30]=34
inter_q[31]=36
inter_q[32]=24
inter_q[33]=26
inter_q[34]=28
inter_q[35]=32
inter_q[36]=34
inter_q[37]=34
inter_q[38]=36
inter_q[39]=38
inter_q[40]=26
inter_q[41]=28
inter_q[42]=30
inter_q[43]=32
inter_q[44]=34
inter_q[45]=36
inter_q[46]=38
inter_q[47]=40
inter_q[48]=28
inter_q[49]=30
inter_q[50]=32
inter_q[51]=34
inter_q[52]=36
inter_q[53]=38
inter_q[54]=42
inter_q[55]=42
inter_q[56]=30
inter_q[57]=32
inter_q[58]=34
inter_q[59]=36
inter_q[60]=38
inter_q[61]=40
inter_q[62]=42
inter_q[63]=44

I also did set the bitrates;

constBitrate=1000000
maxBitrate=2400000
avgBitrate=1000000
minBitrate=300000

The GOP,I/B/P frames however remains a mistery to me ...
Without changing these and only quantize and bitrates, the encoders reports an error

by the way: for those that are interested, MainConcept MPEG Encoder stores it "user" templates in C:\Documents and Settings\<USER>\Application Data\MCMPEGEnc.

They are text based and have the .mef extension.
__________________
webmaster, weethet.nl
Reply With Quote
  #5  
03-02-2003, 10:54 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Hans,

What error does the encoder report

-kwag
Reply With Quote
  #6  
03-03-2003, 04:06 AM
HansLuyten HansLuyten is offline
Free Member
 
Join Date: Feb 2003
Location: Netherlands
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
MPEG video encoding
MPEG PCM encoding, audio mode: 4
MPEG muxing
V130:Invalid video horizontal size (52 for DVD, should be 720, 704 or 352
P006:Invalid PCM audio sample rate (44100), should be 48000 or 96000
Error in converting:
The parameter is incorrect.

I based the KVCD template on an existing DVD template.
I tried it with an SVCD template and it seems to work, however, I have no idea if the encoding is as efficient as KSVCD. I'll try it and see what happens
__________________
webmaster, weethet.nl
Reply With Quote
  #7  
03-03-2003, 04:10 AM
HansLuyten HansLuyten is offline
Free Member
 
Join Date: Feb 2003
Location: Netherlands
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
In the templates of MPEG Encoder, I also found these lines shown below. Not sure what their purpose is (as my video knowledge is a bit limited on I,B and P Frames);

horzPelMovement=3
vertPelMovement=3
forwHorzFCodeP=4
forwVertFCodeP=4
forwHorzSearchP=33
forwVertSearchP=33
forwHorzFCodeB1=2
forwVertFCodeB1=2
forwHorzSearchB1=11
forwVertSearchB1=11
backHorzFCodeB1=3
backVertFCodeB1=3
backHorzSearchB1=22
backVertSearchB1=22
forwHorzFCodeB2=3
forwVertFCodeB2=3
forwHorzSearchB2=22
forwVertSearchB2=22
backHorzFCodeB2=2
backVertFCodeB2=2
backHorzSearchB2=11
backVertSearchB2=11
forwHorzFCodeB3=0
forwVertFCodeB3=0
forwHorzSearchB3=0
forwVertSearchB3=0
backHorzFCodeB3=0
backVertFCodeB3=0
backHorzSearchB3=0
backVertSearchB3=0
forwHorzFCodeB4=0
forwVertFCodeB4=0
forwHorzSearchB4=0
forwVertSearchB4=0
backHorzFCodeB4=0
backVertFCodeB4=0
backHorzSearchB4=0
backVertSearchB4=0
forwHorzFCodeB5=0
forwVertFCodeB5=0
forwHorzSearchB5=0
forwVertSearchB5=0
backHorzFCodeB5=0
backVertFCodeB5=0
backHorzSearchB5=0
backVertSearchB5=0
forwHorzFCodeB6=0
forwVertFCodeB6=0
forwHorzSearchB6=0
forwVertSearchB6=0
backHorzFCodeB6=0
backVertFCodeB6=0
backHorzSearchB6=0
backVertSearchB6=0
forwHorzFCodeB7=0
forwVertFCodeB7=0
forwHorzSearchB7=0
forwVertSearchB7=0
backHorzFCodeB7=0
backVertFCodeB7=0
backHorzSearchB7=0
backVertSearchB7=0
__________________
webmaster, weethet.nl
Reply With Quote
  #8  
03-03-2003, 04:13 AM
HansLuyten HansLuyten is offline
Free Member
 
Join Date: Feb 2003
Location: Netherlands
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
The SVCD template does not really like the 528 width
Invalid width error (528 should be 480 for SVCD).

The DVD template does not like 528 either ...

So I'm trying 480x480 now ... (NTSC)
__________________
webmaster, weethet.nl
Reply With Quote
  #9  
03-03-2003, 04:15 AM
HansLuyten HansLuyten is offline
Free Member
 
Join Date: Feb 2003
Location: Netherlands
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Wow, it's running pretty speedy when transcoding AVI -> MPEG2 (modified SVCD template using KSVCD settings). almost 1.5 times realtime! (on a P4, 2.8Ghz) 1.4 times to be precise ...
__________________
webmaster, weethet.nl
Reply With Quote
  #10  
03-03-2003, 05:30 AM
HansLuyten HansLuyten is offline
Free Member
 
Join Date: Feb 2003
Location: Netherlands
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
OK finished converting a movie, 1 hour and 48 minutes playback time, to "KSVCD", using MPEG Encoder;

MPEG audio encoding, audio mode: 2
MMX:y SSE:y SSE2:y 28:1 3DNowExt:n 3DNow:n CMOV:y
Multiplexing information
Video stream data rate : 300000 bytes/sec (2400000 bits/sec)
Audio stream 1 data rate : 28000 bytes/sec (224000 bits/sec)
Total data rate : 348600 bytes/sec (2788800 bits/sec)
Frame size avg = 32436 bits, min = 2064 bits, max = 435184 bits
Bitrate avg = 972116 bps, min = 470105 bps, max = 1854681 bps
Mquant avg = 12.82, min = 1, max = 112
Total size = 256147394 bytes
Skipped = 25991 frames, RC_requested = 0
I:mquant = 11.17, X=134.69, d=247.676, size = 24353
P:mquant = 10.90, X= 51.80, d=71.041, size = 4818
B:mquant = 11.20, X= 28.06, d=61.473, size = 2032
::mquant = 11.11, X= 40.58, d=74.476, size = 4046
Total time: 3958 seconds (01:05:58), time per frame: 0.020 seconds.
Avg slots/frame = 731.429; b/smp = 5.08; br = 224.000 kbps.

The result file is 977 Mb in size, woops, a bit too big.
Any suggestions?
__________________
webmaster, weethet.nl
Reply With Quote
  #11  
03-03-2003, 08:24 AM
black prince black prince is offline
Free Member
 
Join Date: Jul 2002
Posts: 1,224
Thanks: 0
Thanked 0 Times in 0 Posts
@HansLuyten,

I'm curious about the picture quality even at 977MB. If it's
transcoding it could be a useful tool for converting DVD9 to
DVD5. It appears from your test, it only allows standard
VCD, SVCD and maybe DVD resolutions. Since it's accepting
KVCD GOP and Q-Matrix, plus bitrate adjustments we might
have a competor for Tmpgenc. Tmpgenc is great, but
slow.

-black prince
Reply With Quote
  #12  
03-03-2003, 09:03 AM
jamesp jamesp is offline
Free Member
 
Join Date: Jul 2002
Location: Chelmsford, UK
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
Tmpeg may be slow, but generally the filters you use slow it up even more. If you use faeryDust etc the frames came in slower than Tmpeg processes them. Main Concept sould be no quicker in this circumstance.

Jim

Quote:
Originally Posted by black prince
@HansLuyten,

I'm curious about the picture quality even at 977MB. If it's
transcoding it could be a useful tool for converting DVD9 to
DVD5. It appears from your test, it only allows standard
VCD, SVCD and maybe DVD resolutions. Since it's accepting
KVCD GOP and Q-Matrix, plus bitrate adjustments we might
have a competor for Tmpgenc. Tmpgenc is great, but
slow.

-black prince
Reply With Quote
  #13  
03-03-2003, 09:41 AM
HansLuyten HansLuyten is offline
Free Member
 
Join Date: Feb 2003
Location: Netherlands
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Well, the quality is very good! Just a bit too big for my 80min CDR's

I like the quality of MPEG Encoder, although TMPEnc is not bad either.
The only reason why I consider MPEG encoder is: SPEED. TMPEnc can be so very very very slow ... (hint: speed improvement tips are most welcome! )

I did manage to incorporate the bitrates and Q-Matrix of KVCD, however the GOP thingy ... well that part didn't work out yet (I'm getting a bit lost in the differences between the two template formats). So once I manage to include those as well, KVCD for MPEG Encoder should be just fine
Some help here would be very welcome!

Also; putting an entire movie on one CD in SVCD resolution is just fine for me, since none of the MPEG1 templates seem to work anyways on my DVD player (Mustek 520). Maybe sticking to a standard resolution might kill some of the issues with other DVD players.
__________________
webmaster, weethet.nl
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
KVCD: MainConcept Mpeg Encoder 1.4 is out Markymoo Video Encoding and Conversion 2 10-11-2003 12:36 PM
New MainConcept MPEG-Encoder 1.4 Razorblade2000 Video Encoding and Conversion 0 09-11-2003 07:50 AM
MainConcept MPEG Encoder (el MAS veloz KVCD) el_loco Convertir y Codificar Video (Español) 1 08-02-2003 12:11 AM
Mainconcept MPEG Encoder CaLaFaT Convertir y Codificar Video (Español) 5 07-12-2003 06:38 AM
Kvcd with MainConcept Mpeg Encoder ? whazzaa Video Encoding and Conversion 2 05-01-2003 02:42 AM

Thread Tools



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