digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   Blockbuster causes a/v out of sync - Any replacement? (http://www.digitalfaq.com/archives/encode/12482-blockbuster-causes-sync.html)

dongxu 10-06-2004 03:24 PM

Blockbuster causes a/v out of sync - Any replacement?
 
I used the version 4:

Code:

AviSource("PATH\NAME.avi",false)
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_max=10,variance=0.3,seed=5623)
GripBorders()

found that Blockbuster caused v/a out of syn because when I remove it and the a/v was perfect. but there was lots of blocks without Blockbuster. Any other filters can replace Blockbuster?

Prodater64 10-06-2004 03:35 PM

It is the first time that I ear something like this!
What another change did you do when encoding without blockbuster.
Please, post another data, step by step.
Other way, will come Dialhot and will send you to your brother house (this is a joke, don't worry).

dongxu 10-06-2004 03:44 PM

here is the script
Code:

Directshowsource("d:\xxx.wmv",fps=25.00)
crop(0,94,480,272)
ConvertToYV12()
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)
LanczosResize(352,208)
Undot()
TemporalSoften(2,7,7,3,2)
DCTFilter(1,1,1,1,1,1,0.5,0)
#Blockbuster(method="noise",detail_min=1,detail_max=10,variance=0.3,seed=5623)
AddBorders(0,2,0,30)
TextSub("d:\xxx.ssa")

Only difference was with or without Blockbuster (both lines), even one will cause the trouble

kev23m 10-06-2004 10:04 PM

Should be something else , I have been using Blockbuster on most of my scripts and never had such a problem.

dongxu 10-06-2004 10:17 PM

Even I did not think it was the problem. But it is true. It took me more than three weeks to find out. I tried many other frame savers and happened to find that the A/V was OK without any filters, only then I realised something wrong with the filters. I omitted it one by one and finally got it right.

It makes the audio gradually out of syn. For my 2 hours movie, there was about 3 seconds in the end.

incredible 10-07-2004 02:52 AM

Quote:

Code:

Directshowsource("d:\xxx.wmv",fps=25.00)

That should be the guilty one as I dont know WHY you open an avi with directshowsource.

Open your avi using GSpot and do look which decoder is needed. Then be shure you got that needed system decoder installed.
If you cant open your source using avisource but directshowsource then you dont have the fvw compount of that codec installed but the directshow compount. As "avisource" uses fvw to decode sources!


EDIT: I saw its an WMV ... I dont know if THATs the one where Virtualdub gots no longer decoding support due to M$ license issues. But do look in the Web (Google: "VirtualDub" AND "WMV" ) ... theres an old Vdub version which handles such WMV ... so you can frameserve it using Vdub and open the input in avisynth using "avisource("xxxxx.vdf")"

Dialhot 10-07-2004 03:38 AM

For your problem, Blockbuster can be in cause in no way.

stephanV 10-07-2004 05:14 AM

Quote:

Originally Posted by incredible
Quote:

Code:

Directshowsource("d:\xxx.wmv",fps=25.00)

EDIT: I saw its an WMV ... I dont know if THATs the one where Virtualdub gots no longer decoding support due to M$ license issues. But do look in the Web (Google: "VirtualDub" AND "WMV" ) ... theres an old Vdub version which handles such WMV ... so you can frameserve it using Vdub and open the input in avisynth using "avisource("xxxxx.vdf")"

hmmm... no :)

wmv is usually VFR (actually, WMV doesnt even have a frame rate) and VDub still cant handle VFR. besides, asf/wmv support in those VirtualDub versions was never really finished; i wouldn't recommend using it for opening WMV files. also, avisynth doesnt know how to handle VFR (which is most likely where the desynch is coming from). And then theres still the problem that youd need a VFW codec for WMV9... there is one, but im not sure if it supports the decoding of b-frames.

the only program which ive seen that can reliably convert WMV to AVI or MPEG1/2 is TMPGEnc, but of course you can do little filtering then. :(

Boulder 10-07-2004 07:25 AM

Quote:

Originally Posted by stephanV
the only program which ive seen that can reliably convert WMV to AVI or MPEG1/2 is TMPGEnc, but of course you can do little filtering then. :(

The solution would then be to encode the WMV file to a lossless HuffYUV AVI with TMPGEnc and then process the AVI normally? I've never used TMPGEnc for such conversion so I don't know if it really would work.

Dialhot 10-07-2004 07:42 AM

Quote:

Originally Posted by Boulder
The solution would then be to encode the WMV file to a lossless HuffYUV AVI with TMPGEnc and then process the AVI normally? I've never used TMPGEnc for such conversion so I don't know if it really would work.

For sure it works. I do taht any time I do not find an other solution :-)
(that was the case with MPEG1 files that avisynth prior to 2.5.4 couldn't handle correctly).


All times are GMT -5. The time now is 06:41 PM  —  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.