digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   lot of blocks appear, and part of screen is flickering? (http://www.digitalfaq.com/archives/encode/6196-lot-blocks-part.html)

Ryo 10-25-2003 03:57 AM

@dazed&confused: CBR works (mpeg-1, 528 x 576 PAL, CBR 1150)! Success! :?

incredible 10-25-2003 04:06 AM

mpeg2 VBR will be the better way instead of encoding mpeg1 CBR!
The Advantage of VBR and therefore the quality will be lost cause low peak scenes will have the same bitrate like the high peak scenes and this results in bad quality espaecially in high motion or action scenes. Maybe you will receive a little bit less CQ by using mpeg2 but ... 480x576 quality is good and shurely when using VBR! ;-)

BTW: mpeg-1, 528 x 576 PAL at CBR 1150 will look horrible :?

Ryo 10-25-2003 04:53 AM

Now it is getting really strange! :twisted:

When I do not use an avs script and load the *.d2v directly into TMPGEnc it WORKS. What the...!? What is that? I Never thought it could be that easy. I am using the optimal script. Does someone have any idea?

Ryo 10-25-2003 01:08 PM

Sorry, just the titles play correct without the avs script! :oops:

incredible 10-25-2003 01:29 PM

So post your script and we'll see whats wrong.
Also your settings in TmpgEnc, like "Center" or "keep aspect ratio", "interlaced" encoding or not interlaced, which is important to mention.

Cause the logic is that your player doesn't see if your encoding passed avisynth or not :wink:

Ryo 10-25-2003 02:44 PM

Here is the script:

Quote:

## DLL Section ##
#
#LoadPlugin("C:\Filters25\MPEG2Dec3.dll")
#LoadPlugin("C:\Filters25\GripFit_YV12.dll")
#LoadPlugin("C:\Filters25\STMedianFilter.dll")
#LoadPlugin("C:\Filters25\asharp.dll")
#LoadPlugin("C:\Filters25\unfilter.dll")
#LoadPlugin("C:\Filters25\undot.dll")
#
####

## Defined Variables and Constants ##
#
MaxTreshold = 1.50
nf = 0 # Current frame.
#
####

## Main section and static filters ###
#
Mpeg2Source("C:\dir\*.d2v")
#
undot()
Limiter()
asharp(1, 4)
GripCrop(480, 576, overscan=2, source_anamorphic=true)
GripSize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0 )
MergeChroma(blur(MaxTreshold))
MergeLuma(blur(0.1))
#
#

## Linear Motion Adaptive Filtering ##
#
# ( Portions from AviSynth's manual ) - This will apply temporalsoften to
# very static scenes, and apply variable blur on moving scenes.
# We also assign a variable - and this is why a line break is inserted:

SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2
ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf >= SwitchThreshold ? \
unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ) : \
TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ")

#
#
#

GripBorders()
#LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker!
Limiter()

#
#
## Functions ###

function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}

#
####
TMPGEnc: full screen (keep aspect ratio), non-interlace (progressive)

incredible 10-25-2003 02:56 PM

IF these are the parameters you use when encoding USING the AVS script
Quote:

TMPGEnc: full screen (keep aspect ratio), non-interlace (progressive)
Then try when using the script:
- source interlaced
- video encoding interlaced
- video arrage method Center

Ryo 10-26-2003 02:52 PM

:cry: No luck!

It does not matter!

I will use:

352 x 288 mpeg-1
352 x 576 mpeg-2
480 x 576 mpeg-2

Thank you all very much!

bman 10-27-2003 11:03 AM

@ Ryo
just to get it right :
U say that
352 x 288 mpeg-1
352 x 576 mpeg-2
480 x 576 mpeg-2
all this resolutions are working for u ???
If it's so why don't u encode your movie as
352 x 576 mpeg-1
480 x 576 mpeg-1
and mux them as SVCD that means give a SVCD header to your file . If everything is prepared right then this must work :wink:
bman

incredible 10-27-2003 11:18 AM

Quote:

480 x 576 mpeg-1
and mux them as SVCD that means give a SVCD header to your file . If everything is prepared right then this must work
This already was recommended and it seemed that he had no luck by doing this. (If I understand this right by watching the replies of the past in this thread). For me it works also, but some players as I said won't accept this.

bman 10-27-2003 11:43 AM

@ Incredible
OK , OK - U are right . I remember he sead something like that .
But ...
I want to not give up on this prob and suggest one more ( maybe stupid sugestion ???!!!!)
It worth to try PAL -> NTSC conversion .
U see as NTSC picture at any resolution is smaller then his parallel on PAL .
So if we make actual picture smaller at the same bitrates maybe player will behave in different way and allow smooth playback .
I know it's twisted logic but I prefere do one more test than give up :wink:
bman

Ryo 10-27-2003 02:36 PM

The interesting thing is that I can play these resolutions as mpeg-1 and the movie plays 99% correct. But in some scenes (as descriped earlier) there are big black blocks and parts of the screen are displayed twice in the upper corners.

I want to play my movies 100% correct so I have to use mpeg-2 and everything is fine. Only the picture quality is lower than mpeg-1. :(

It would be better for the quality if I could use mpeg-1. :roll:

incredible 10-27-2003 03:08 PM

Quote:

I know it's twisted logic but I prefere do one more test than give up
That's it! :wink: :D

Ryo 10-27-2003 04:12 PM

By the way: Is there a mpeg-2 optimized script? :?

ak47 10-27-2003 05:27 PM

Post processing should be same with most or all codec, another word the optimized script will be just as good with mpeg-1 as mpeg-2. But if you want to try a different encoder for mpeg-2 that may give you better results try this http://www.kvcd.net/forum/viewtopic.php?t=6983. MCE isn't great in getting the exact file size, but for me the quality looks a lot better for me.

Ryo 10-28-2003 02:46 PM

@ak47: O.K., I will try MCE!

buschkobold 10-28-2003 03:16 PM

Hey! Are you Ryo from animedigital.de? :o

Ryo 10-28-2003 03:25 PM

@buschkobold: No, sorry! :wink:


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