I am using x264Vfw with directshow with vc++ to encode mp4 video , i need to
manage their settings programatically , but i didn't get any example code or
reference to set this...
can anybody have reference for this??
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You can write x264vfw settings directly to the Registry in
HKEY_CURRENT_USER\Software\GNU\x264.
I'm guessing that your project only requires a change of settings before the
actual encoding process, so this should be enough for you.
What I'd like to see personally is a way to affect the inner x264 codec during
runtime, such as some sort of interface for calling functions like
x264_invalidate_reference.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
x264vfw is Video for Windows (VfW) codec NOT DirectShow Filter so all
what it can do is limited by VfW interface. It can't do something not
specified in VfW API. For setting options it only have ICM_SETSTATE which
allow to set previously saved state by ICM_GETSTATE (both supported by
x264vfw). As was said brianshock you can change settings in windows registry
(note that 64-bit version use x264vfw64 node instead of x264) before openning
codec. If you want to reload settings from registry in already openned codec
you will need to send ICM_SETSTATE with wParam == NULL.
P.S. Standard DirectShow wrapper for VfW codecs even more limited than direct
use of VfW.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks @brianshock and @masternobody for your replies.... i need to set
bitrate , latency settings of vfw (which is provided by vfw UI Interface) ,
which i need to override. so can we do that in vc++ ?? or can just do in
Registry as suggested by @brianshock
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I am using x264Vfw with directshow with vc++ to encode mp4 video , i need to
manage their settings programatically , but i didn't get any example code or
reference to set this...
can anybody have reference for this??
You can write x264vfw settings directly to the Registry in
HKEY_CURRENT_USER\Software\GNU\x264.
I'm guessing that your project only requires a change of settings before the
actual encoding process, so this should be enough for you.
What I'd like to see personally is a way to affect the inner x264 codec during
runtime, such as some sort of interface for calling functions like
x264_invalidate_reference.
x264vfw is Video for Windows (VfW) codec NOT DirectShow Filter so all
what it can do is limited by VfW interface. It can't do something not
specified in VfW API. For setting options it only have ICM_SETSTATE which
allow to set previously saved state by ICM_GETSTATE (both supported by
x264vfw). As was said brianshock you can change settings in windows registry
(note that 64-bit version use x264vfw64 node instead of x264) before openning
codec. If you want to reload settings from registry in already openned codec
you will need to send ICM_SETSTATE with wParam == NULL.
P.S. Standard DirectShow wrapper for VfW codecs even more limited than direct
use of VfW.
Thanks @brianshock and @masternobody for your replies.... i need to set
bitrate , latency settings of vfw (which is provided by vfw UI Interface) ,
which i need to override. so can we do that in vc++ ?? or can just do in
Registry as suggested by @brianshock