digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   Help needed: mpeg1 to kvcd (http://www.digitalfaq.com/archives/encode/8116-needed-mpeg1-kvcd.html)

jwwah 02-10-2004 11:10 AM

Help needed: mpeg1 to kvcd
 
I am new to this and was trying out this script (divx script) to convert mpeg1 to kvcd. I have problem with the blindpp(cpu=4). If I used it, tmpgenc will come out with error message :

The resolution of the video is illegal.
> The windows size needs to be set between 8x8 or 4088x4088
> The width and height of window needs to be multiple of 8

If I remove blindpp, I will be able to convert. Without blindpp, will I be missing out certain benefits? If blindpp is a must, what should I do?

Script used:
LoadPlugin("C:\Filter\MPEG2Dec3.dll")
LoadPlugin("C:\Filter\GripFit_YV12.dll")
LoadPlugin("C:\Filter\Blockbuster.dll")
LoadPlugin("C:\Filter\ATC.dll")
LoadPlugin("C:\Filter\DctFilter.dll")
LoadPlugin("C:\Filter\UnDot.dll")

directshowsource("d:\part1.mpg")
BlindPP(cpu=4)
Blockbuster(method="noise",detail_min=1,detail_max =3,variance=0.1,seed=1)
ATC(2,3,5,0.5,false)
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)
GripBorders()

[/IMG]

kwag 02-10-2004 11:45 AM

Re: help needed : mpeg1 to kvcd
 
Quote:

Originally Posted by jwwah
Without blindpp, will I be missing out certain benefits?

Not really :)
Quote:

If blindpp is a must, what should I do?
It's not a must, so remove the line :D

-kwag

Dialhot 02-10-2004 12:50 PM

I disagree with you Kwag, blindpp is usefull : it removes a lot of blocks and there are a lot in classical VCD.

But it is not a "must" for sure, as any filters.

Note: you are unsing an old script (my V1 script actually, oy perhaps V3). Update to V4.

kwag 02-10-2004 02:03 PM

Quote:

Originally Posted by Dialhot
I disagree with you Kwag, blindpp is usefull : it removes a lot of blocks and there are a lot in classical VCD.

Ok :)

-kwag

jwwah 02-10-2004 07:09 PM

Reply :

Dialhot,

I did try to use this (your suggested script to one of the user)
But I am having exactly the same error message as above. Anything I miss out. Perhaps I don't have the blindpp filter?

LoadPlugin("C:\Filter\MPEG2Dec3.dll")
LoadPlugin("C:\Filter\GripFit_YV12.dll")
LoadPlugin("C:\Filter\Blockbuster.dll")
LoadPlugin("C:\Filter\ATC.dll")
LoadPlugin("C:\Filter\DctFilter.dll")
LoadPlugin("C:\Filter\UnDot.dll")

directshowsource("d:\part1.mpg")
#a=directshowsource("d:\part1.mpg") --> removed
#b=directshowsource("d:\part2.mpg") --> removed
#a++b --> removed
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()

Dialhot 02-10-2004 07:15 PM

You have it (it is included in MPEG2Dec3 actually).
But for a MPEG1 source I think (not sure) you must put "ConvertToYV12()" juste before the blindPP line.

If that does not work, try to add "ConvertToRGB24()" at the very end of the script.

jwwah 02-11-2004 09:27 PM

Dialhot,

Putting "ConvertToYV12()" just before the blindPP line solve the error. Thanks.

I think I have seen this problem (similar) being post but I can't seem to find it at the moment. I got this problem. My mpeg1 file is bilingual. When I encode with TMPGenc with the ES (audio and video), I end up with only one language (I assume) as I can't manage to select during playback on standalone DVD player. I don't mind having only one language, but the final encode give me the "other" language which I don't understand. Any suggestion?

Dialhot 02-11-2004 10:04 PM

Quote:

Originally Posted by jwwah
Any suggestion?

Go in tmpgenc, file menu, mpeg-tools then demultiplex. you can extract both audio from there.

DO NOT encode audio + video with tmgenc ! use an external encoer if you need to reencode audio.

rendalunit 02-11-2004 11:12 PM

What about putting the BlindPP line after the resize line?

Dialhot 02-12-2004 04:12 AM

Quote:

Originally Posted by rendalunit
What about putting the BlindPP line after the resize line?

Veeeeeeeeeeeeeeeeery bad idea.
The blindPP does a deblocking : it searchs for block borders (ie square edges) and try to reduce their visual aspect. When you resize, you distort theses borders and blindPP can't work correctly.

Remind that normal PP should be done in the decoder itself.

incredible 02-12-2004 04:49 AM

There also have been issues where people added some border pixels to the left and the top to get the right blindPP supported mod size, which is also wrong as this "moves" the image out of its origin 8x8 grid encoded architecture. So best would be to add the px if needed at the right and bottom.

Dialhot 02-12-2004 05:37 AM

Quote:

Originally Posted by incredible
So best would be to add the px if needed at the right and bottom.

Hum.. never thought about that but you are right !
I will change my post in avi->kvcd thread.

jwwah 02-13-2004 04:39 AM

Dialhot,

Quote:

Go in tmpgenc, file menu, mpeg-tools then demultiplex. you can extract both audio from there.
Err... I get only one audio file. I may have misled you when I say that I can select language. What I should say is that to select I press the audio button (DVD controller) to select either "MONO LEFT" or "MONO RIGHT" to get the language I want to hear. It seems the audio file contains two languages in one file. I don't think it is possible to split the audio file, right? Anymore suggestion?

Just curious. With TMPGenc, why could I not get both languages if I do System (Video & Audio) together? [/quote]

Dialhot 02-13-2004 05:07 AM

Quote:

Originally Posted by jwwah
It seems the audio file contains two languages in one file.

Okay. That's what I thought indeed ! Imposible to have 2 audio files in a mpeg1.

Quote:

I don't think it is possible to split the audio file, right? Anymore suggestion?
Not with tmpgenc for sure. After demuxing, use goldwave to isolate each part of the audio in a separate wav file.

Quote:

Just curious. With TMPGenc, why could I not get both languages if I do System (Video & Audio) together?
For that you have to indicate that audio is "Dual channel" and not "Stereo". And I'm not sure that dual-channel (also know as bi-mono) audio is allowed on VCD. That is a feature of SVCD I guess. That's probably why you can't choose the audio on the standalone. But just test is.

BTW as you shouldn't do audio with tmpgenc, this question is irrelevent ;-)

jwwah 02-17-2004 08:28 AM

Quote:

For that you have to indicate that audio is "Dual channel" and not "Stereo". And I'm not sure that dual-channel (also know as bi-mono) audio is allowed on VCD. That is a feature of SVCD I guess. That's probably why you can't choose the audio on the standalone. But just test is.
Just to let you know it didn't work for me.

WOWIEGURL 03-08-2004 06:36 AM

can you give me direction as to which guide is best suited to converting mpeg1 to kvcd? PLLLLLEEEASSSEEEE!!!!!!!!!! I'm getting so frustrated

Dialhot 03-08-2004 07:01 AM

See there for instance :
http://www.kvcd.net/forum/viewtopic.php?p=58074

In your case, as you seem to have only one mpeg1 to convert, juste change the head of the script like this :
Code:

directshowsource("movie.mpg").killaudio()
BlindPP(cpu=4)
...


WOWIEGURL 03-08-2004 03:50 PM

Quote:

Originally Posted by Dialhot

is this the post guide I should be using to convert mpeg1 to kvcd? All I can see there is to use vcdeasy to cram 3 mpeg1's into 1 disc. Then it talk about using avi>kvcd to do all this. I'm still getting confused as to which guide should be used. HELPP???

Dialhot 03-08-2004 04:01 PM

The only think that change when you do a MPEG1 insteed of a avi as source is the script that you must use.

That is what this thread is talking about : I gave in it the script needed. Now all you have to do is to use a guide for avi->kvcd that you can find everywhere on the forom (see avi->kvcd section of the board or go on kvcd.net homepage) and when the guide talk about "avs script", you will use the one I gave in the thread.

WOWIEGURL 03-09-2004 02:07 AM

Thanks for the advice DialBot


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