[Libav-user] directshow resolution
novak.attila at itvprojekt.hu
Tue Oct 8 13:51:20 CEST 2013
On 8 October 2013 13:01, Novák, Attila <novak.attila at itvprojekt.hu> wrote:
> I have a Leadtek capture card that provides DirectShow output. I managed to record video in multiple resolutions using the command line ffmpeg tool by providing the "-s widthXheight" option. Unfortunately I could not replicate the results from code: it always captures with the default 320x200 resolution. I tried calling av_opt_set_image_size() & av_opt_set() with the "image_size" option on the input format context struct before & after opening the codec, but it didn't work.
> I couldn't find any documentation whatsoever on this feature. Does anyone know how this supposed to work?
> (I'm on WinXP with Visual Studio 2010, the card is a Leadtek WinFast VC100)
> Thank you in advance,
And of course in the meantime I found a similar question in the archives. D'oh.
If anyone else is interested:
More information about the Libav-user