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.

 
Targa Reading Broken In 1.10.2/1.10.3?
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
david.horman
Posted: Mar 29 2013, 01:18 PM


Member


Group: Members
Posts: 15
Member No.: 26332
Joined: 18-October 09



Hi all,

I moved up to 1.10.2 some time ago for a reason which currently escapes me, but just recently I opened an old 1920x1080 TARGA sequence which, while it works fine with 1.9.11, shows corruption with the beta versions:

http://img687.imageshack.us/img687/2374/brokenu.jpg

Some frames are fine - and in fact it seems that for any particular image sequence it's the same frames which get corrupted. In this case, it's frames 0, 1, 3, and the final frame. Another sequence had about 50% of frames showing corruption, but the number of lines in each frame that were corrupted was much less. The two sequences were generated differently (one a VirtualDub export which was edited in Photoshop, the other a Blender animation).

It looks to me like some scan lines are being vertically flipped to the wrong position.

David
 
     Top
Abrazo
Posted: Mar 30 2013, 09:58 PM


Advanced Member


Group: Members
Posts: 775
Member No.: 28995
Joined: 5-November 10



I just did a test with exporting one second of a Full HD videosequence to TARGA images (1920 x 1080 pixels) from within VirtualDub 1.9.11.
> Opening with version 1.9.11 : no problem.
> Opening with version 1.10.3 or later : corruption of a large number of lines in all 24 images.

I did repeat this test with exporting one second of a Full HD videosequence to TARGA images (1920 x 1080 pixels) from within VirtualDub 1.10.3.
> Opening with version 1.9.11 : no problem.
> Opening with version 1.10.3 or later : corruption of a large number of lines in all 24 images.

So, logically, the problem must be in the 'reading' process.

Looking into the change logs of VirtualDub (Help > Change log), there has been a modification/bugfix in version 1.10.2 (june 3, 2011):
> Fixed inversion when reading TARGA images (regression from 1.10.1)

Probably it started from then on ?

A question for Phaeron ...
 
     Top
Jam One
Posted: Mar 31 2013, 06:41 PM


Advanced Member


Group: Members
Posts: 580
Member No.: 25518
Joined: 8-May 09



1.10.4 test-6 - build 35451 32bit -- can't confirm any problems with TARGA here.
 
     Top
Abrazo
Posted: Mar 31 2013, 07:42 PM


Advanced Member


Group: Members
Posts: 775
Member No.: 28995
Joined: 5-November 10



It looks like there is only a problem when reading TARGA (RLE Compressed) images, and NOT with TARGA (Uncompressed) images.
The problem is still there in VirtualDub version 1.10.4 test-6 - build 35451.
Version 1.9.11 reads both types of TARGA images correctly and Exports only one type of TARGA images (for as far as I can see these are compressed).

 
     Top
phaeron
Posted: Apr 7 2013, 04:54 AM


Virtualdub Developer


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



Found it... try 1.10.4 test-7 (see pinned thread). There was an inversion issue in the code to handle RLE spans wrapping across scanlines (odd that someone is still writing these, considering they're disallowed in the 2.x spec).
 
    Top
Abrazo
Posted: Apr 7 2013, 08:11 AM


Advanced Member


Group: Members
Posts: 775
Member No.: 28995
Joined: 5-November 10



The problem is indeed resolved in VirtualDub 1.10.4 test-7.

Thank you phaeron.
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
5 replies since Mar 29 2013, 01:18 PM Track this topic | Email this topic | Print this topic

<< Back to Testing / Bug Reports