digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   DVD2SVCD: BLIND PP Need Mod 16 height (http://www.digitalfaq.com/archives/encode/7129-dvd2svcd-blind-pp.html)

TheDJ 12-11-2003 07:21 AM

DVD2SVCD: BLIND PP Need Mod 16 height
 
BLIND PP: Need Mod 16 height.

I was trying an avi > skvcd, and got that above error, never seen that before?

WNASPI32.DLL 4.6.0.1021
--------------------------------------------------------
- 11/12/2003 02:15:11
- AVI to SVCD Conversion
- AVI2SVCD ver. 1.2.1 build 2
--------------------------------------------------------
Initializing
- C:\****************.avi
Initializing finished.

--------------------------------------------------------
- 11/12/2003 02:15:13
- Free on drive C: 19023.85 mb
- AUDIO Extraction
--------------------------------------------------------
Audio extraction finished.

--------------------------------------------------------
- 11/12/2003 02:16:14
- Free on drive C: 18950.16 mb
- AUDIO conversion
--------------------------------------------------------
--------------------------------------------------------
- 11/12/2003 02:16:16
- Free on drive C: 18950.15 mb
- AUDIO conversion
--------------------------------------------------------

Converting MP2 to WAV. Filename: C:\DVD2SVCD\Movie\Extracted_audio_1.mpa
Executing MADPlay (mp2 to wav). Commandline:
"C:\DVD2SVCD\MADPlay\madplay.exe" --quiet --output=wave:"C:\DVD2SVCD\Movie\Encoded_audio_1.mp2 .wav" "C:\DVD2SVCD\Movie\Extracted_audio_1.mpa"
Conversion (mp2 to wav) of C:\DVD2SVCD\Movie\Extracted_audio_1.mpa finished.


Encoding Audio. Filename: C:\DVD2SVCD\Movie\Extracted_audio_1.mpa
Executing BeSweet. Commandline:
"C:\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input "C:\DVD2SVCD\Movie\Encoded_audio_1.mp2.wav" -output "C:\DVD2SVCD\Movie\Encoded_audio_1.mp2" -logfile "C:\DVD2SVCD\Movie\Encoded_audio_1.log" ) -ota( -g max ) -shibatch( --rate 44100 ) -2lame( -e -b 112 -m d )
Audio conversion of C:\DVD2SVCD\Movie\Extracted_audio_1.mpa finished.

Audio conversion finished.

--------------------------------------------------------
- 11/12/2003 02:29:18
- Free on drive C: 17244.90 mb
- Video Encoding using TMPGEnc
--------------------------------------------------------
- Encoding C:\DVD2SVCD\Movie\AviSynth_Script_file.avs
StreamSectors: 938865788
AudioSectors: 213808
VideoPAPO: 14540220
ScanOffsetBytes: 58
SeqAligningBytes: 3661
DVDBytes: 0
VideoEndHeader: 4
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 0.00
PureMPEGStream: 924108037.60
Seconds: 15.00
CalcMPEGStream: 924108037.60
Frames: 240
CDSize: 900.00
Number of CDs: 1
Cut point 896.00
Using CQ Value: 80.00
Executing TMPGEnc. Commandline:
"C:\Program Files\Pegasys Inc\TMPGEnc Plus 2.5\TMPGEnc.exe" "C:\DVD2SVCD\Movie\TMPGEnc_Project_file.tpr" /Encode /Close
Video Encoding finished.

--------------------------------------------------------
- 11/12/2003 02:30:16
- Free on drive C: 17244.26 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 11/12/2003 02:30:20
- Free on drive C: 17244.25 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 11/12/2003 02:30:22
- Free on drive C: 17244.25 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 11/12/2003 02:30:26
- Free on drive C: 17244.25 mb
- Multiplexing and cutting
--------------------------------------------------------
Saving bbMPEG settings: C:\DVD2SVCD\bbMPEG\default.ini
Offset in Seconds: 2
Executing bbMPEG.
Variable Settings:
Movie offset: 2 seconds
Cut point: 896 mb

Executing RunbbMPEG. Commandline:
"C:\DVD2SVCD\bbMPEG\RunbbMPEG.exe" "C:\DVD2SVCD\Movie\bbMPEG_Muxed_File.mpg"
Multiplexing and cutting finished.

Image creation finished.

--------------------------------------------------------
- 11/12/2003 02:31:05
- Free on drive C: 17170.04 mb
- Conversion done!
--------------------------------------------------------

Dialhot 12-11-2003 07:43 AM

Re: DVD2SVCD error.....
 
Quote:

Originally Posted by TheDJ®
BLIND PP: Need Mod 16 height.

I was trying an avi > skvcd, and got that above error, never seen that before

Is english your natural language ? If yes, this message is cristalin.
If not, I give the explanation and how to handle it there :

http://www.kvcd.net/forum/viewtopic.php?t=7223

(see the green warning at the top of the message)

TheDJ 12-11-2003 08:03 AM

Hi Phil, thx for the reply.

I have checked your post, V4 is your latest.

My size is 640x344, so according to your post i use 640 x 480, and add border (4,3,0,0).

How comes u rounded off to 480?

So i added this to my avisynth;

AviSource("PATH\NAME.avi",false)
Addborders(4,3,0,0)
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()

I have also been reading a few posts, and some people are saying that by select ing 16:9, dvd2svcd adds 4 black borders? (2 top, 2 bottom).
Is this is most cases?

kwag 12-11-2003 08:06 AM

Quote:

Originally Posted by TheDJ®

My size is 640x344

344 doesn't divide evenly by 16 :!:
BLIND PP: Need Mod 16 height.

Edit: You're going to have to do some "resize" before BlindPP
( Correct me if I'm wrong Phil :roll: )

-kwag

TheDJ 12-11-2003 08:08 AM

Ok i see, thx kwag! Is that above script ok then?

TheDJ 12-11-2003 08:11 AM

Also, how do i go about selecting a 99 min CD in dvd2svcd?

Dialhot 12-11-2003 08:17 AM

Quote:

Originally Posted by kwag
Edit: You're going to have to do some "resize" before BlindPP
( Correct me if I'm wrong Phil :roll: )

You are not wrong. It's not a resize but a simple add of a little border to reach the nearest mod 16 value.

Kwag, as it seems that DJ didn't understand my hint and he was not the first one, can you check what I told there and suggest me what to do :

http://www.kvcd.net/forum/viewtopic.php?t=7223

For me that's cristalin that 640*480 is just an example ! How can peoples take this for absolutly values to use :?: :-(

TheDJ 12-11-2003 08:20 AM

cristalin? wot do u mean by that Phil?

Dialhot 12-11-2003 08:23 AM

Quote:

Originally Posted by TheDJ®
Ok i see, thx kwag! Is that above script ok then?

NO IT IS NOT !

The "Addborder(4,3,0,0)" was AN EXAMPLE that you have to adapt to your case !

Take a calc, divide your dimensions by 16 and see how much you have to add to reach the nearest value that is divisible by 16 !

Quote:

Also, how do i go about selecting a 99 min CD in dvd2svcd?
Just put "1000" in the CD size. You can set whatever value you want in this box, not only the suggested one (740 and 800).
[/b]

Dialhot 12-11-2003 08:24 AM

Quote:

Originally Posted by TheDJ®
cristalin? wot do u mean by that Phil?

As clear as cristal. In other words, so easy to understand that there is no need to have further explanations.

TheDJ 12-11-2003 08:25 AM

Ok so i am dull.

u mean CRYSTAL CLEAR! :D

OK then.....why is it when i add your V4 script to my avisynth in dvd2svcd, it doesnt show?

kwag 12-11-2003 08:30 AM

Quote:

Originally Posted by TheDJ®
Ok so i am dull.

u mean CRYSTAL CLEAR! :D

Like this :mrgreen:

http://www.digitalfaq.com/archives/i.../2003/12/3.jpg

:lol:

-kwag

Dialhot 12-11-2003 08:30 AM

That uses a "Y" ? I didn't know, sorry :-)
So "crystalin" :-D

TheDJ 12-11-2003 08:32 AM

the v4 script isnt showing in dvd2svcd? wots going on? I've put it in the avisynth folder and saved?

I'm wondering if its because of the DLL pluggins.....maybe u should put a link to those DLL's in ur avi script.

OK ATC & mpeg2dec3 is not in the avisynth 2.5.2 folder, is this the cause?

I have found mpeg2dec3 , but cant locate the ATC pluggin, plz help!

P.S. Theres not such word as crystalin! :lol:

mistermickster 12-11-2003 08:53 AM

Quote:

Originally Posted by TheDJ®
I have found mpeg2dec3 , but cant locate the ATC pluggin, plz help!

Have you looked here

The first place to look for Avisynth filters would be the Avisynth website :wink:

TheDJ 12-11-2003 08:58 AM

Thanks very much for the link, i now have all the pluggins.

The divx filter is now showing with all pluggins, but it wont show the addborders part? HELP!

TheDJ 12-11-2003 09:11 AM

Ok how about this script; I went from 640*344 to 640*320.

[AVISYNTH_Divx Filter]
Addborders (4,2,0,0)
0=BlindPP(cpu=4)
1=Blockbuster(method="noise",detail_min=1,detail_m ax=3,variance=0.1,seed=1)
2=Convolution3D(1, 6, 12, 6, 8, 2.8, 0)
3=GripCrop(^TargetWidth, ^TargetHeight+^BorderTop+^BorderBottom, overscan=^overscan, source_anamorphic=^source_ana, dest_anamorphic=^dest_ana)
4=GripSize(resizer="^resizer")
5=Undot()
6=TemporalSoften(2,7,7,3,2)
7=DCTFilter(1,1,1,1,1,1,0.5,0)
8=GripBorders()
9=function ConvertToYUY2(clip c){ return isYV12(c) ? c : convertToYV12(c) }
^overscan=1
^source_ana=false
^dest_ana=false
^resizer=LanczosResize

mistermickster 12-11-2003 09:15 AM

Quote:

Originally Posted by TheDJ®
P.S. Theres not such word as crystalin! :lol:

Maybe the spelling's wrong but there is
http://www.digitalfaq.com/archives/error.gif

TheDJ 12-11-2003 09:16 AM

ok, but wot about the script?

I'm getting confused between the scripts for MS and d2s here it think.

Dialhot 12-11-2003 09:22 AM

Quote:

Originally Posted by TheDJ®
Ok how about this script; I went from 640*344 to 640*320.

:banghead: :banghead: :banghead:

I think there is something that does not go throught translation. You did not answer to me : is english your natural language or not ?

By the way, let go step by step.

You have 640 * 344.

- 640 / 16 = 40. So 640 is divisible by 16 (in other words mod 16) -> there is nothing to do on the width

- 344 / 16 = 21.5. 344 is NOT mod 16. The next mod 16 value is 22 * 16 (22 is the integer that follows 21.5, do you understand that ?)
22 * 16 = 352.

So you have to add 8 pixels on the height (8 = 352 - 344)

The line you must add is so :
Code:

Addborders(0,8,0,0)
IS THAT SO DIFFICULT ?

Note: you can't add the 'addborders' line directly in the avisynth.ini file. You must use the script wihtout any change, ask to dvd2svcd to "edit the avs script during video encoding phase" (in frameserver tab), launch the process and when DVD2SVCD pop-ups a window with the avs script, add the line "addborders" just after the "avisource".


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