VFW decoder question Hi!
I am trying to use the vfw decoder of x264 in a video streaming application.
I have been successfully using codecs like xvid, divx, and dicas h264 with my code, but the x264 decoder fails.
I want to decribe shortly what my application does:
It first sends the messages
ICM_DECOMPRESS_GET_FORMAT
and
ICM_DECOMPRESS_BEGIN
to setup the codec ( using calls to ICSendMessage )
and then starts decompressing with
ICDecompress
whenever a new frame is received.
I keep getting -1 as return for the first ICM_DECOMPRESS_GET_FORMAT
message, whatever output formats I try.
In your release note you stated that vfw decoding is supported.
Could you post a simple example ( in pseudo code ) showing the steps that are necessary to initialize the decoder before you can execute a ICDecompress ?
Which output formats are supported by your codec. And which parts of the vfw interface are implemented?
Best regards,
Stefan
DeathTheSheep- 04-13-2007
The VfW decoder is actually separate from the VfW encoder. The decoder registers itself as the ffdshow VfW decoder and must be initialized separately as well, through the ffdshow api/commandset.
Forumer™ is Voted #1 Free Forum Hosting provider
Build your own community today with the largest message board hosting company.