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.

 
"use Video Stream Fcchandler In Codec Search"
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
ale5000
Posted: Feb 28 2011, 11:39 PM


Advanced Member


Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07



There is a new option in the latest test build of VirtualDub: "Use video stream fccHandler in codec search".

What is it doing?

--------------------
New VirtualDub forum
VirtualDub AIO (All-in-One installer for VirtualDub and plugins)
Codec Toolbox RS (A tool to read/change merit of codecs and many other things)
Input plugins for VirtualDub / ACM codecs / VFW codecs
 
     Top
dloneranger
Posted: Mar 1 2011, 05:38 AM


Moderator


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



An avi has two fourcc's associated with the video in it
One's the video fourcc, one's the codecs
This option lets you choose which is used for picking which codec to use for decoding

eg
xvid and ffdshow can both be set to use dx50 as their fourcc in their options

That'll give 3 different combinations of the codecs and the videos fourcc
divx -> divx dx50
xvid -> xvid dx50
ffdshow -> ffds dx50

When you decode the video, virtualdub has to choose a codec to use
If it uses the second codec (dx50) the same codec will be tried for all 3
If it uses the first it'll try to use the 3 different codecs

This can be handy if your codec settings for eg packed bitstreams is different in xvid and divx
Or if you prefer to encode with xvid, but decode with ffdshow

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
ale5000
Posted: Mar 1 2011, 10:42 PM


Advanced Member


Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07



If I have both x264vfw and ffdshow set for the AVC1 fourcc and it always choose ffdshow (with both the option enabled and disabled).

So what is the difference?

--------------------
New VirtualDub forum
VirtualDub AIO (All-in-One installer for VirtualDub and plugins)
Codec Toolbox RS (A tool to read/change merit of codecs and many other things)
Input plugins for VirtualDub / ACM codecs / VFW codecs
 
     Top
dloneranger
Posted: Mar 1 2011, 11:07 PM


Moderator


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



Dunno, you'd have to check the source code - it's the bool fccHandlerSearch in videosource.cpp
(My version uses some different code in that section)

It's not the same as force video handler, so I'd guess it just affects which one is searched for first

What are the two fourcc's in the source?

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
phaeron
Posted: Mar 5 2011, 10:02 PM


Virtualdub Developer


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



This setting only matters if you have the codecs that were originally used to encode the video. The reason I added this option was that previously the codec fourcc was included in the search, which meant that the codec that was used on your system sometimes depended on what was used to encode it, and two videos that used the same compression sometimes opened with different codecs for no apparent reason. The default is now to ignore the codec fourcc so that, for instance, all XVID encoded files open with the same codec.
 
    Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
4 replies since Feb 28 2011, 11:39 PM Track this topic | Email this topic | Print this topic

<< Back to General Discussion