Quantcast DVD2SVCD: Strange Stroboscope Effect + Script/ini Question - digitalFAQ.com Forums [Archives]
  #1  
08-27-2003, 06:07 AM
Paulus Paulus is offline
Free Member
 
Join Date: Jun 2003
Location: Ottersum, The Netherlands
Posts: 199
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
By the way, is this still the best ? -> Dialhot I saw your suggestion to Payasa in the Optimal Script forum to use the script below which has a couple of new scriptlines (Adaptive Filter) like "ConvertToYV12()", 2x "Limiter()", ^scdtrigger=30. Further there's a line removed ("SwitchTreshold") between MergeLuma..... and ScriptClip. Am I using an "old" script ?
In fact the very last optimal script is a merge between yours and mine :
1/ I didn't saw that I used an old version of my ini file where Limiter lines were still there. They are usesless !
2/ The "ConvertToYV12" is useless also for DVD sources so I removed it.
3/ Nevertheless the part with Switchthrehold and its use into the scriptclip is necessary : it helps DVD2SVCD into finding the correct CQ. Without this, the results are so random that D2S can't find the CQ in the 20 tries it does at the maximum (it then encode the film with the last CQ found even if it is not the correct one ).

This last modification make the MA script a little less efficient, but I didn't find an other way (except making the CQ determination with CQMatic and do not let D2S try to calculate it !)

Note : I modified the optimal scripts in the sticky post.

Edited and partially erased by mistake. I'm sorry - dialhot.
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  
08-27-2003, 06:14 AM
Paulus Paulus is offline
Free Member
 
Join Date: Jun 2003
Location: Ottersum, The Netherlands
Posts: 199
Thanks: 0
Thanked 0 Times in 0 Posts
Pfffffffff.............

Sorry about the scriptquestion. Didn't see the sticky............Should check in here more often.
Reply With Quote
  #3  
08-27-2003, 07:26 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Paulus
Pfffffffff.............

Sorry about the scriptquestion. Didn't see the sticky............Should check in here more often.
I modifed it just before answer to you !
Reply With Quote
  #4  
08-27-2003, 07:35 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
@Paulus :

Sorry my pal ! I edited your post insteed of do a reply on it .

And so your initial question about stroboscope was lost. So sorry. Can you post it again ?
Reply With Quote
  #5  
08-27-2003, 12:55 PM
Paulus Paulus is offline
Free Member
 
Join Date: Jun 2003
Location: Ottersum, The Netherlands
Posts: 199
Thanks: 0
Thanked 0 Times in 0 Posts
Aahh, Phil...and I described it so well . OK, I try again.....

On my present "project", a compilation DVD with three "Wallace and Gromit" short movies I have a problem with the last short movie (the first two I have ripped in excellent quality and perfect filesize).

In the endresult, during movement of the characters (even slight movement) you can notice a "flickering" of the image (I call it a "stroboscope" effect because the flickering is very fast, and very anoying). It is as if the picture isn't "build up" fast enough. I've originally tried the normal (internal) routines of DVD2SVCD for the ripping, but also using DVDdecrypter the problem is the same.

I have a "wild" theory: one of the first scenes of the movie is an "earthquake" scene where everything in the picture is shaking "violently" -> could TMPEG get "confused" by these scenes and encode the rest of the movie with this stroboscope distortion ??

Any suggestions on how to solve this are very welcome because my son is asking every day "please dad I wanna see Wallace & Gromit"
Reply With Quote
  #6  
08-27-2003, 01:53 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Paulus
Aahh, Phil...and I described it so well . OK, I try again.....
Sorry, that is the moderator board that is too complicate with the button "edit" too close from the button "quote"

Quote:
In the endresult, during movement of the characters (even slight movement) you can notice a "flickering" of the image (I call it a "stroboscope" effect because the flickering is very fast, and very anoying). It is as if the picture isn't "build up" fast enough. I've originally tried the normal (internal) routines of DVD2SVCD for the ripping, but also using DVDdecrypter the problem is the same.
Is the third ep the same frequency than the two others ? I had a such problem one with a 24 fps movie that I solved by setting "3:2 pulldown during playback" on in tmpgenc.

Quote:
-> could TMPEG get "confused" by these scenes and encode the rest of the movie with this stroboscope distortion ??
Nope. For the encoder point a view, the movie start from scratch at every GOP start. So every 24 (or 25) frames
Reply With Quote
  #7  
08-27-2003, 05:33 PM
Paulus Paulus is offline
Free Member
 
Join Date: Jun 2003
Location: Ottersum, The Netherlands
Posts: 199
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Phil,

I will check frequency (DVD2AVI ?) but assume it is the same as the first two clips/movies. Whey would they use different frequencys authoring/mastering a DVD ?

How do you check the option "3:2 pulldown during playback" using D2S ?.

Regarding the script/ini (by the way, your sticky isn't locked anymore, do you want replies in that thread ?..).

Question regarding the script.........you mention that the "SwitchTreshold" lines are still important but I don't see them in the present version ??
Maybe I didn't understand correctly....

What extra avs plugins are necessary in comparisson to your last (my present) ini ?

Could you explain a little the exact working of the script or do I check the "official" optimal script section..?
Reply With Quote
  #8  
08-28-2003, 06:05 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Paulus
I will check frequency (DVD2AVI ?) but assume it is the same as the first two clips/movies. Whey would they use different frequencys authoring/mastering a DVD ?
You know, all this fps problems you have in NTSC, we don't take care in PAL . So I don't know, but why not ?

Quote:
How do you check the option "3:2 pulldown during playback" using D2S ?.
I thing (has to be tested) that is automatically set when encoding a 23.97fps movie in MPEG2. But it does'nt work if you use MPEG1.

Quote:
Regarding the script/ini (by the way, your sticky isn't locked anymore, do you want replies in that thread ?..).
No, I prefer to keep the thread clean (and going to lock it again)

Quote:
Question regarding the script.........you mention that the "SwitchTreshold" lines are still important but I don't see them in the present version ??
I REALLY need vacations ! I forgot to add it. That's done

Quote:
What extra avs plugins are necessary in comparisson to your last (my present) ini ?
Don't know what you have.

Quote:
Could you explain a little the exact working of the script or do I check the "official" optimal script section..?
If you do not know anything about MA script, yeah it's better to check optimal script section and ask your questions there.
Reply With Quote
  #9  
08-31-2003, 05:06 AM
Paulus Paulus is offline
Free Member
 
Join Date: Jun 2003
Location: Ottersum, The Netherlands
Posts: 199
Thanks: 0
Thanked 0 Times in 0 Posts
Phil,

DVD2AVI says the source is interlaced, so I tried Smartde-interlace in D2S. -> Now the "stroboscope" effect is gone but I have an ugly picture in the endresult. The TV screen is devided in two squares. One is in normal colour and one is "purpulish".

I've read in some thread that D2S de-interlace options are not possible with the adaptive script. Could you recommend an avi plugin which I can use for testing (and where to put it in the script/ini).
Reply With Quote
  #10  
08-31-2003, 05:55 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Your problem of screen splitted in two part is a matter of color space. By using deinterlacing included in D2S, you (in fact, D2S) converted your movie in YUY2. The MA script needs to work in YV12.

You can use "Fieldeinterlace" that works in YV12 but you have to add it manually to avoid th automatic convertion from YV12 to YUY2 done by D2S.

Just go to misc tab of D2S, ask for editing the avs script during encoding phase an add "fielddeinterlace()" just after the source is loaded.
Reply With Quote
  #11  
08-31-2003, 05:07 PM
Paulus Paulus is offline
Free Member
 
Join Date: Jun 2003
Location: Ottersum, The Netherlands
Posts: 199
Thanks: 0
Thanked 0 Times in 0 Posts
It almost worked Phil......

The stroboscope effect is gone but now I can't get the aspect ratio correct at 4:3 with the new ini settings (see below). Any ideas ?



GENERAL INFO
- Source: DVD (PAL)
- Movie Offset: 2 sec
- CD Overlap seconds: No
- Startup delays: Video: 344 ms Audio 1: 344 msAudio 2: 344 ms
- Video format: PAL
- Length: 00:30:00
- CD Images: 1

IMDB INFO:
Movie title:
User rating:
Directed by:
Writing credits:
Genre:
Tagline:
Plot outline:

VIDEO INFO:
- Encoder: TMPGEnc 2.513.53.162
- Rate Control Mode: Constant quality (CQ)
- Max. bitrate: 2376
- CQ Value 65.00
- Min. bitrate: 400
- Motion search prec.: Motion estimate search (fast)
- Field order: Yes
- DC component prec.: 8 bits
- Output YUV as YCbCr: No
- Floating point DCT: Yes
- No motion search: False
- Soften block noise: No
- iDCT Algorithm: 32-bit SSE MMX
- Deinterlace: SeparateFields/SelectEvery
- Pulldown: No
- Width: 480
- Height: 576
- Matrix:
Intra:
8 16 19 22 26 27 29 34
16 19 22 26 27 29 34 37
19 22 26 27 29 34 37 38
22 26 27 31 36 37 38 40
26 27 29 36 39 38 40 48
27 29 34 37 38 40 48 58
29 34 37 38 40 48 58 69
34 37 38 40 48 58 69 79
Non-Intra:
16 18 20 22 24 26 28 30
18 20 22 24 26 28 30 32
20 22 24 26 28 30 32 34
22 24 26 30 32 32 34 36
24 26 28 32 34 34 36 38
26 28 30 32 34 36 38 40
28 30 32 34 36 38 42 42
30 32 34 36 38 40 42 44

AVISYNTH SCRIPT:
LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\Mpeg 2dec\MPEG2D~1.DLL")
mpeg2source("D:\WORKDI~1\DVD2AV~1.D2V")
SeparateFields()
SelectEvery(2,0)
nf=0
GripCrop(480, 576+0+0, overscan=1, source_anamorphic=false, dest_anamorphic=false)
GripSize(resizer="BiCubicResize")
Undot()
Asharp(1, 4)
STMedianFilter(8, 32, 0, 0 )
MergeChroma(blur(1.5)
MergeLuma(blur(0.1))
SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2
ScriptClip("nf = round(YDifferenceToNext())"+chr(13)+ "((nf >= SwitchThreshold) && (nf < 30)) ? unfilter(-(fmin(nf*2,100)),-(fmin(nf*2,100))) : TemporalCleaner(6+nf,11+nf) ")
GripBorders()
function fmin(int f1, int f2) { return (f1<f2) ? f1 : f2 }


AUDIO INFO:
- Audiostreams: 1
- Audio 1 Language: Nederlands
- Audio 1 Bitrate: 160
- Audio 1 Sample freq: 44100
- Audio 1 Mode: Stereo
- Audio 1 Besweet: "C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input "D:\WorkDirectoryMovie\Extracted_audio_1.ac3" -output "D:\WORKDI~1\Encoded_audio_1.mp2" -logfile "D:\WORKDI~1\Encoded_audio_1.log" ) -azid( -L -3db -c normal -s surround -g max ) -shibatch( --rate 44100 ) -2lame( -e -b 160 -m s )

SUBTITLE INFO:
- Subtitlestreams: 0
- Type:
- Sub. 1 Language:
- Sub. 2 Language:
- Sub. 3 Language:
- Sub. 4 Language:

AUTHORING INFO:
- CD Image program:
--------------

Edit: I'm running a new encode (the twenthieth or so...) with standard D2S "Telecide (PAL)" -> preview looks good (no interlace artifacts and correct aspect ratio). Let you know how it turns out....
Reply With Quote
  #12  
08-31-2003, 05:33 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Change the "source_anamorphic=false" to "source_anamorphic=true"

(go to frameseerver tab, click on the "..." in front of gripcrop line and modify the value of the parameter "source_ana".
Reply With Quote
  #13  
09-01-2003, 03:50 AM
Paulus Paulus is offline
Free Member
 
Join Date: Jun 2003
Location: Ottersum, The Netherlands
Posts: 199
Thanks: 0
Thanked 0 Times in 0 Posts
The source was 4:3 so I made those settings.......


Anyway, "Telecide (PAL)" did the job without screwing up the aspect ratio !

Finally I have a perfect "Wallace & Gromit" SKVCD

Thanks......
Reply With Quote
  #14  
09-01-2003, 04:53 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Nice
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
DVD2SVCD: Question about Optimal Script and Permanent subtitles Livlander Video Encoding and Conversion 4 05-02-2004 02:26 PM
Flickering effect in MA script? wgamer Video Encoding and Conversion 5 02-09-2004 09:04 AM
DVD2SVCD: Strange video speed, increases in Avi to KVCD Paulus Video Encoding and Conversion 15 01-02-2004 01:36 PM
DVD2SVCD: Question about brightness filters ftin Video Encoding and Conversion 2 09-15-2003 11:13 AM
KVCD: Strange ghost effect on some scenes? AgNa Video Encoding and Conversion 7 08-18-2003 02:00 PM

Thread Tools



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