Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Huffyuv Avi Lossless Quirks, resulting video have weird quirks in it
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
trodas
  Posted: Mar 3 2013, 07:27 PM


Advanced Member


Group: Members
Posts: 88
Member No.: 22291
Joined: 22-October 07



Using Virtual Dub 1.10.3 and the Huffyuv 2.1.1 from there:
http://neuron2.net/www.math.berkeley.edu/b...rg/huffyuv.html

I encoded a small video. For provisional files are IMHO wise to use a loseless compression. So I choosen the Huffyuv one. The resulting video have a strange video quirks, however. 20MB sample, work safe, no audio by purposed:
http://www.sendspace.com/file/jpc4fi
http://ulozto.cz/xHn9tSu/curious-similarities2a-avi

Anyone having or can reproduce the same problem? Input video is some FLV from YewTube... use any you see fit. No idea, if this is bug in the Huffyuv or Virtual Dub. But I remeber I used this compression and ir worked well, IIRC. Leaved it at this settings:

user posted image

Only happens for me? The video is a multiple by 4 in size, 224x252 ...

--------------------
"It is dangerous to be right in matters on which the established authorities are wrong." - Voltaire
...just keep folding, just keep folding... :) my config - my caps
 
         Top
dloneranger
Posted: Mar 3 2013, 07:40 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



I stopped using Huffy ages ago as there were problems with it - not least, the many different not quite compatible with each other decoders

Now I normally use Lagarith for lossless encoding
http://lags.leetcode.net/codec.html


--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
rjisinspired
Posted: Mar 5 2013, 06:15 AM


Advanced Member


Group: Members
Posts: 1256
Member No.: 20008
Joined: 12-October 06



I haven't used Huffyuv in while. I heard of a huffyuv that used YV12 and wanted to experiment with it because of hearing that a version existed but I wasn't successful in finding it at the time.

I second Lagarith as a good codec. One of my favorites.

One other codec I have been playing with that works good also is UT Codec:
http://www.videohelp.com/tools/Ut-Video-Codec-Suite

 
       Top
-vdub-
Posted: Mar 6 2013, 01:12 AM


Advanced Member


Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10



HuffYUV and largarith sometimes one can do what the other cannot. Largartith is newer and meant to be better is not always so. HuffYUV files will work with many software's that Largarith won't.

Some more other avi lossless video encoders (not all) listed at wiki http://en.wikipedia.org/wiki/List_of_codecs
 
    Top
dloneranger
Posted: Mar 6 2013, 01:20 AM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



Unfortunately there are so many different versions of huffy out there that not all of them are 100% compatible with each other

Here's a frame from the OP's original links - they show as corrupted with ffdshow and virtualdub's internal decoder
user posted image

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
-vdub-
Posted: Mar 6 2013, 02:58 AM


Advanced Member


Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10



I use HuffYUV v2.1.1 maybe try another setting that is lossless such as Predict Median (best) - Predict Gradient (best) or Predict Gradient - Predict gradient (best) any better ?
 
    Top
phaeron
Posted: Mar 9 2013, 07:18 PM


Virtualdub Developer


Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02



I don't think this is a compatibility problem, as all decoders I have produce the same result. It's also not a prediction mode problem because the pre-prediction data is actually shifted, which indicates an error in the VLC encoded stream.

If you're overclocking, I'd suggest temporarily dialing that back down, and you might want to run a memory test too just in case.
 
    Top
-vdub-
Posted: Mar 10 2013, 02:06 PM


Advanced Member


Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10



After trying phaeron suggestions above and still have the same problem.

A link to the original file could help then we could test the video using HuffYUV and Largarith.
 
    Top
trodas
Posted: Mar 18 2013, 11:07 AM


Advanced Member


Group: Members
Posts: 88
Member No.: 22291
Joined: 22-October 07



Unfortunately, Phaeron is right. There are some issues with my old timer computer, that I was not able to figure out sad.gif Yet. So, no futher testing till the machine is rock stable.
In fact, it is. Prime 95 show no errore, but there are HDD errors. Yet things get even worser, a perfectly fine 320G Seagate disk that used to run with this machine do not now, same the 500G WD HDD and I end up with 80G HDD and still I seems to catch some errors there and elsewhere...

VIA KT266A HDD settings seems to be tricky. Using VIA drivers for IDE = total KO. Using M$ = things "seems to work", emphasis on the "seems"... sad.gif
Desperately tryting to get my main machine to work, yet no luck. Only one heatsink that fit the NB is still not available, and the one that block PCIEx slot is used, yet the machine refuse to work the PCI graphic card... so, still struggling.

--------------------
"It is dangerous to be right in matters on which the established authorities are wrong." - Voltaire
...just keep folding, just keep folding... :) my config - my caps
 
         Top
dloneranger
Posted: Mar 18 2013, 02:17 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



VIA KT266A.... jeez, that's a blast from the past. 11 years old... in pc years that's like, what, 199 ???

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
-vdub-
Posted: Mar 19 2013, 03:56 AM


Advanced Member


Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10



Today XP-SP3 drivers should now be better than any old motherboard drivers
 
    Top
phaeron
Posted: Mar 24 2013, 08:36 PM


Virtualdub Developer


Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02



Before you try anything expensive, try swapping out the cable. They can go bad and increase the error rate. You may be getting better success with the MS driver because it is falling back to slower IDE transfer speeds due to detected errors.
 
    Top
Dstruct
Posted: Mar 24 2013, 10:07 PM


Advanced Member


Group: Members
Posts: 257
Member No.: 24005
Joined: 8-August 08



VIA IDE drivers always sucked!
 
    Top
-vdub-
Posted: Mar 24 2013, 10:47 PM


Advanced Member


Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10



1. Agree check, replace the cables if haven't done so already, more than likely this could easily be the problem.

Other after checking the hdd cables, There is also a known problem of the hdd slowing when using windows 2000, XP and 2003. Need a few hdd errors for it to get really bad. For the windows os to step in and take control.

This will be mainly with bad sectors on the hdd causing this, you can check hdd bad sectors by running MHDD. Run MHDD from dos after selecting the hdd do a full drive scan with active logging to text, to show how many bad sectors and where on the hdd they are located (if any). If have many bad sectors you could swap out affected hdd for a good one, or use other options. Bad sectors can only be remapped and sometimes not, they cannot be repaired. They can be partitioned around with leaving say 100mb either side for good measure.

Also maybe this is the problem http://support.microsoft.com/kb/817472
You can check if this the problem, by reading the whole web page to understand after decide check by looking at the registry values using the informations included on the same kb web page. This would need to be checked and applied for all hdd controllers motherboard any pci hdd controllers with hdd used or to be used on them if this is the problem. If use m$ fix check the registry values again for all controllers with hdd on them to be sure. Restart pc and test if any of the above has corrected the problem
 
    Top
phaeron
Posted: Apr 7 2013, 01:06 AM


Virtualdub Developer


Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02



The IDE driver ratcheting down would be the opposite of this problem. It can cause your HDD to be slower than necessary, but that would also reduce errors.
 
    Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
14 replies since Mar 3 2013, 07:27 PM Track this topic | Email this topic | Print this topic

<< Back to Testing / Bug Reports