colargol7
19th August 2010, 16:33
Hi
I often have the following problem:
It concerns (french DVB-T) HD signal
Sometimes I have "bad frames", like in this sample:
http://www.mediafire.com/?mmk41bwlazyg86z
look at the 15th sec.
DGAVC says "reference picture missing during reorder"
I'd like to use divxH264 as decoder but it crashes all applications when they read the bad frame.
(I have seeking problems with others decoders)
So I can not encode my avisynth projects.
Don't you have a trick for avoid the crash and working with divx anyway?
Thanks.
poisondeathray
19th August 2010, 16:41
ffdshow doesn't crash on that sample for me
so one option is to do a straight encode with directshowsource to a lossless I-frame intermediate (e.g. lagarith or huffyuv) , then do your edits to avoid seek issues
dss2() is supposed to be frame accurate and relies on container timestamps , so that could be an option
colargol7
19th August 2010, 17:10
Thanks for anwser!
I understand your solution but it looks complicated and too long for me :o
Sharktooth
19th August 2010, 17:41
complicated? just install FFDShow, ensure it is used for decoding and use dss2() input filter in your avs. it's not complicated at all.
colargol7
19th August 2010, 18:16
Well not complicated but long for one or two hours long videos.
I was hoping for something in one step, if possible...
I have to do many trim() on my script
but thanks anyway.
poisondeathray
19th August 2010, 18:58
Well not complicated but long for one or two hours long videos.
I was hoping for something in one step, if possible...
I have to do many trim() on my script
but thanks anyway.
Perhaps you misunderstood , it is one step
The DSS2() suggestion is a separate suggestion to encoding to a lossless intermediate .
colargol7
19th August 2010, 19:41
I'm sorry, my english is bad :o
My avisynth looks like this:
## Plugins
Load_Stdcall_Plugin("C:\video\AVSGen\templates\plugins\yadif.dll")
Loadplugin("C:\video\AVSGen\templates\plugins\avss.dll")
## Source
v = dss2("France 2 HD 2010-08-10 12-59-51.ts", fps=25)
a = DirectShowSource("France 2 HD 2010-08-10 12-59-51.ts", video=False)
AudioDub(v,a)
## Deinterlace
Yadif(order=1)
## Crop
## Resize
LanczosResize(1280,720)
## Denoise / Sharpen
## Trim
Dissolve(Trim(365,830), Trim(2546,3016), Trim(4731,5086) ++ trim(6919, 7029) ++ Trim(7177,7918), Trim(9782,10196), Trim(12541,12933) ++ trim(14805, 14893) ++ trim(15273, 15430) ++ trim(15579, 15667) ++ Trim(17544,18008), Trim(20230,20645), Trim(22354,22750), Trim(25603,26045) ++ trim(28306, 28375) ++ Trim(29063,29456), Trim(34185,34460) ++ trim(37010, 37152) ++ Trim(37454,37937), Trim(40469,40972), Trim(43660,44017), Trim(46434,46880) ++ trim(49899, 49995) ++ Trim(50151,50458), 16)
FadeIn(20).FadeOut(20)
If I use ffdshow, coreavc or ffms2 as decoder, I got some artefacts.
If I use divx, I don't have artefact but it crash x264 CLI.
:confused:
What should I replace this with?
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.