[FFmpeg-devel] [PATCH] lavc/dxva2: add ffmpeg calling dxva2 APIs

Timothy Gu timothygu99 at gmail.com
Tue Jul 23 04:30:33 CEST 2013


On Jul 22, 2013 6:29 PM, "weixuan wang" <batmanwwx at gmail.com> wrote:

> *my command is:*
> * ffmpeg -ss 0.5 -vcodec vc1_dxva2 -i test_vc1.wmv -t 1 -f image2
> imagefile.jpg
> but the ffmpeg throw a error message:*
> *[image2 @ 0338fa60] Could not get frame filename number 2 from pattern
> 'imagefil
> e.jpg' (either set updatefirst or use a pattern like %03d within the
> filename pa
> ttern)
> av_interleaved_write_frame(): Invalid argument*

> *is my command right?*

No. Change imagefile.jpg to imagefile%03d.jpg or something like that.

Timothy


More information about the ffmpeg-devel mailing list