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.

 
fourcc reversed when saving processing settings?, was Sgal........sgal?!
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
experimentalanimations
  Posted: Sep 14 2010, 05:18 AM


Newbie


Group: Members
Posts: 3
Member No.: 28505
Joined: 14-September 10



Im trying to export stuff out of vdub using lagarith, but after i do the file isnt recognized by any program (adobe, vdub, avisynth info() ) as being lagarith encoded. I saved the processing settings and looked at it, and the compressor hex is "sgaL". Ive seen this before in after effects, it will flip from time to time, no idea what might be causing it. Using vdub 1.9.10, Lagarith 1320, win7 x64.
 
     Top
stephanV
Posted: Sep 14 2010, 07:04 AM


Spam killer ;)


Group: Moderators
Posts: 4348
Member No.: 8917
Joined: 18-February 04



I can't reproduce the issue, so you have to be more precise with what you are doing.

--------------------
useful links:
VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ
 
    Top
experimentalanimations
Posted: Sep 14 2010, 07:53 PM


Newbie


Group: Members
Posts: 3
Member No.: 28505
Joined: 14-September 10



I opened up vdub, set the compressor to lagarith, saved processing settings, opened that file open in notepad and converted the "compressor settings" hex code to find it says "sgaL".
 
     Top
dloneranger
Posted: Sep 14 2010, 08:10 PM


Moderator


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



Doublecheck it with virtualdubs hex editor
Screenshot would be nice if it's still reversed

Just for checking

You are using the 32bit version of virtualdub yes?
How are your lagarith settings?
Is 'Always suggest rgb for output' ticked?

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
stephanV
Posted: Sep 14 2010, 08:56 PM


Spam killer ;)


Group: Moderators
Posts: 4348
Member No.: 8917
Joined: 18-February 04



Confirmed. Also happens to other compressors

I'm not sure if this is intended behavior which has to with endianess, but if the fourcc is wrong in the resulting file it's probably a bug.

I'm going to move this topic to the bug test forum and give it a more descriptive title.

--------------------
useful links:
VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ
 
    Top
dloneranger
Posted: Sep 14 2010, 09:01 PM


Moderator


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



I can't reproduce it at all?
win7 x64, either with virtualdub 32/64, or any codecs



--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
stephanV
Posted: Sep 14 2010, 09:06 PM


Spam killer ;)


Group: Moderators
Posts: 4348
Member No.: 8917
Joined: 18-February 04



QUOTE (dloneranger @ Sep 14 2010, 11:01 PM)
I can't reproduce it at all?
win7 x64, either with virtualdub 32/64, or any codecs

I can reproduce the reversed fourcc in the processing settings, but I can't reproduce the resulting files not working. It seems VirtualDub reverses the fourcc back again when loading the processing settings.

I guess this could be a problem if you are not aware of this and feed the fourcc as hex. Perhaps this is what originally happened to experimentalanimations.

--------------------
useful links:
VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ
 
    Top
dloneranger
Posted: Sep 14 2010, 09:13 PM


Moderator


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



Do you mean, like?
VirtualDub.video.SetCompression(0x7367616c,0,10000,0);

That's always been reversed, it's just a consequence of intels chips being low-endian

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
stephanV
Posted: Sep 14 2010, 09:15 PM


Spam killer ;)


Group: Moderators
Posts: 4348
Member No.: 8917
Joined: 18-February 04



That's what I mean. I never really used VirtualDub's scripting language so I really don't know.

--------------------
useful links:
VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ
 
    Top
experimentalanimations
Posted: Sep 16 2010, 01:20 AM


Newbie


Group: Members
Posts: 3
Member No.: 28505
Joined: 14-September 10



Im on win7x64, using 32bit vdub, i have multihreading enabled, and yuy2 (for this content) which is why i dont have "always suggest RGB" or anything else ticked. Im not using a script, i just am exporting out of vdub as normal. Ive seen this before with some straight RGB material i converted into Lag, in AE or premiere it will sometimes show as Lags, sometimes as sgaL. I never bothered to figure out why as it never gave me any trouble, but im wondering now if the crappy performance of lag might be attributed to the codec not reading it correctly.
 
     Top
dloneranger
Posted: Sep 16 2010, 02:33 AM


Moderator


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



I wondered if the always suggest rgb might get premiere to behave, as it's for troublesome apps

The backwards/forwards is normal, it just depends on if you're reading it as text or as numbers
Intel chips write and read their numbers backwards, so if you have the numbers and translate them into characters, you'll have the letters backwards


If you examine one of these avi's with a hex editor (like virtualdubs own) you should see it displayed as 'Lags'


If the fourcc was actually backwards you'd get a cannot locate a decompressor error
The letters of a fourcc are practically irrelevant, they just pick numbers that translate into an easy to read code for convenience

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
10 replies since Sep 14 2010, 05:18 AM Track this topic | Email this topic | Print this topic

<< Back to Testing / Bug Reports