Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
28th November 2007, 03:21 | #662 | Link |
Guest
Join Date: Jan 2002
Posts: 21,901
|
It turned out to be a serious bug in libavcodec. When it deblocks, it tries to deblock the top and left edges of the picture, even though there are no macroblocks above the top edge or to the left of the top edge! It's a wonder it doesn't crash more often. I fixed it in my brute force way but will check it with the author of libavcodec's H.264 decoder (Michael Niedermayer) to be sure I haven't missed anything. You can find the patched libavcodec.dll in the alpha 12 zip, which I have updated:
http://neuron2.net/dgavcdec/dgavcdec100a12.zip Please let me know how this works for you. |
28th November 2007, 10:31 | #663 | Link |
Registered User
Join Date: Apr 2007
Location: Lithuania
Posts: 120
|
sorry but i cant check if its ok now, with this new libavcodec.dll DGAVCIndex crashes then i try to open video (like was with alpha 6). if i open previously created *.dga in virtualdub at the bottom it says: Avisynth read error: CAVIStreamSynth: Sys "" then move one frame forward and virtualdub crashes.
|
28th November 2007, 16:00 | #665 | Link |
Registered User
Join Date: Apr 2007
Location: Lithuania
Posts: 120
|
unfortunately it still crashes. but if i use avs: AVCSource("bits0001.dga",deblock=false) it no more crashes. and easiest way to make it crash its to load avs in megui>tools>avisynth script creator and in filters tab Analyse, it will crash after few seconds. if i add to avs deblock=false it analyze till the end
|
28th November 2007, 16:14 | #666 | Link |
Guest
Join Date: Jan 2002
Posts: 21,901
|
I took the deblock fix version back and I have the broken one there still now, because with my fixed one you say that one crashes too. So you are not testing with a good one yet. What processor do you have? This DLL requires SSE2.
|
28th November 2007, 16:25 | #667 | Link |
Registered User
Join Date: Apr 2007
Location: Lithuania
Posts: 120
|
im testing with: libavcodec.dll MD5 is 4DD30386330BBFD5D98D0127967B2466
my processor: AMD Athlon XP 1700+, it supporting only MMX, 3DNow! and SSE Last edited by canTsTop; 28th November 2007 at 16:36. |
29th November 2007, 02:47 | #669 | Link | |
Registered User
Join Date: Jul 2003
Posts: 31
|
Quote:
Dark Shikari seems to think it's a decoding issue. Using alpha 12 (first version - original dll). Last edited by g0blez; 29th November 2007 at 04:31. |
|
29th November 2007, 05:41 | #670 | Link |
Guest
Join Date: Jan 2002
Posts: 21,901
|
I need the stream, but see below and retest with a clsid build.
The libavcodec.dll situation has become clarified. First, it turns out that the clsid builds are not made with Visual Studio, but with MINGW/MSYS/gcc. There are currently two problems with building with Visual Studio. The first is easy to fix. The project had SSE2 enabled, which would cause crashes for anybody with a processor without SSE2. OK, so just turn off SSE2. The more serious problem is that the Visual Studio build does not have the asm optimizations, and the corresponding C code is buggy, e.g., it causes blocking for some streams, and possibly other problems. So, currently the Visual Studio builds of libavcodec.dll are unusable, and I won't be making any more releases of those until I get the second problem resolved. Additionally, all the builds have a bug in deblocking for interlaced streams, which can cause crashes when navigating. Michael Niedermayer has sent me the proper fix and I have tested it. He will commit it for the main line. I will build a new libavcodec.dll with that fix using MINGW/MSYS/gcc for the next alpha release. In the meantime use a libavcodec.dll from a recent clsid build. All the mysteries are now, I think, resolved and we can bring the situation to a good point soon. |
30th November 2007, 01:15 | #672 | Link |
Guest
Join Date: Jan 2002
Posts: 21,901
|
Good libavcodec.dll now ready
@Mtz
Thank you. Your kind words are appreciated. @all I have made a good libavcodec.dll that: 1. Does not require SSE2. 2. Contains the optimized assembler (which means decoding is faster). 3. Fixes the deblocking bug. You can get it out of the alpha 12 zip. Feedback will be appreciated. http://neuron2.net/dgavcdec/dgavcdec100a12.zip |
30th November 2007, 10:45 | #673 | Link |
Registered User
Join Date: Apr 2007
Location: Lithuania
Posts: 120
|
thank you neuron2 for all your hard work, like Mtz wrote: Things like this make us happy
this build of libavcodec.dll dont't crash on my pc on sample i uploaded previously everything works good i have other video which still crashes (in virtualdub or megui), i made a sample, but in sample it no longer crashes in virtualdub, but still crashes in megui then analyzing video (load avs in megui>tools>avisynth script creator and in filters tab Analyse). but if i add in avs deblock=false it no longer crashes this is sample http://rapidshare.com/files/73281324/222.264.html maybe you can look at it |
30th November 2007, 17:09 | #675 | Link |
FishmanMod Android Dev
Join Date: Apr 2004
Location: Somewhere else, maybe Arizona Bay
Posts: 1,143
|
I'm getting an error trying to load a script with HC with dgavcdec100a12. If I go back to dgavcdec100a11 it loads fine.
The same script load fine with both 11 and 12 with QuEnc Code:
loadplugin("DGAVCDecode.dll") AVCSource("file.dga") LanczosResize(720,458) AddBorders(0, 11, 0, 11) ConvertToYV12()
__________________
"Cinderella story, out of nowhere, former greenskeeper, now about to become the Masters champion. It looks like a mirac- it's in the hole!" |
30th November 2007, 21:21 | #677 | Link |
FishmanMod Android Dev
Join Date: Apr 2004
Location: Somewhere else, maybe Arizona Bay
Posts: 1,143
|
Thx neuron2.
Odd, if I have any other ver around I get the error... and they are in diff folders. As soon as I zip or rar up the others ver... it works fine.
__________________
"Cinderella story, out of nowhere, former greenskeeper, now about to become the Masters champion. It looks like a mirac- it's in the hole!" |
1st December 2007, 16:21 | #678 | Link | ||
Registered User
Join Date: Jan 2005
Posts: 110
|
Quote:
At the end of first pass, MeGUI throws some errors : Quote:
I'm not sure to be able to give you a sample neuron2, I know it's the only way for you to help me. But can you give me some clues ? Thank you. |
||
2nd December 2007, 05:09 | #679 | Link |
Registered User
Join Date: Jul 2003
Posts: 31
|
New dll generates additional errors after a single x264 pass:
encoded 206365 frames, 2.55 fps, 6902.02 kb/s Compiler did not align stack variables. Libavcodec has been miscompiled and may be very slow or crash. This is not a bug in libavcodec, but in the compiler. You may try recompiling using gcc >= 4.2. Do not report crashes to FFmpeg developers. [h264 @ 6FCFD810]reference picture missing during reorder [h264 @ 6FCFD810]error while decoding MB 18 59, bytestream (td) [h264 @ 6FCFD810]left block unavailable for requested intra4x4 mode -1 at 0 46 [h264 @ 6FCFD810]error while decoding MB 0 46, bytestream (td) [h264 @ 6FCFD810]left block unavailable for requested intra4x4 mode -1 at 0 38 [h264 @ 6FCFD810]error while decoding MB 0 38, bytestream (td) [h264 @ 6FCFD810]reference picture missing during reorder [h264 @ 6FCFD810]left block unavailable for requested intra mode at 0 10 [h264 @ 6FCFD810]error while decoding MB 0 10, bytestream (td) [h264 @ 6FCFD810]reference picture missing during reorder |
|
|