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

weixuan wang batmanwwx at gmail.com
Tue Jul 23 03:29:12 CEST 2013


hi:

thanks for your review and the test for my patch!

Several wmv3 and vc1 files were decoded fine, but not any h264.
Could you please point me out which h264 files can be decoded by h264_dxva2
(or just give a sample)?
I have tried a lot of files but only get:
[h264_dxva2 @ 0066CA00] Unsupported file
*the DXVA hard decoder can not support all of the h264 files, so some files
you test will be faild to be decoded. i will modify the error message about
the "Unsupported file" and make it show more details about why the file can
not be supported?*
**
Several vc1 files crash the application. Here is 2-second example:
ffmpeg -ss 0.5 -vcodec vc1_dxva2 -i
http://sview.cifro-city.ru/trash/vc1.wmv-t 1 -f image2 imagefile.jpg

*i can not download this file to test your example, so i used my video file
to test it.*
*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?*


2013/7/23 Kirill Gavrilov <gavr.mail at gmail.com>

> Hello,
>
> sorry, I have no expertize to review the patch. But I have tried it in real
> life.
>
> Several wmv3 and vc1 files were decoded fine, but not any h264.
> Could you please point me out which h264 files can be decoded by h264_dxva2
> (or just give a sample)?
> I have tried a lot of files but only get:
> [h264_dxva2 @ 0066CA00] Unsupported file
>
> Several vc1 files crash the application. Here is 2-second example:
> ffmpeg -ss 0.5 -vcodec vc1_dxva2 -i
> http://sview.cifro-city.ru/trash/vc1.wmv-t 1 -f image2 imagefile.jpg
>
> Best regards,
> Kirill Gavrilov
> <kirill at sview.ru>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>


More information about the ffmpeg-devel mailing list