[FFmpeg-devel] Encoding with QSV at an API level.
theonlylawislove at gmail.com
Wed Oct 21 21:42:17 CEST 2015
I just realized that I was also getting an error on the stdout.
[h264_qsv @ 000000c7e6d8e680] Specified pixel format yuv420p is
invalid or not supported
On Wed, Oct 21, 2015 at 3:13 PM, Paul Knopf <theonlylawislove at gmail.com>
> Hey guys,
> Is there an example somewhere, using the "h264_qsv" encoder at an API
> Let's say I have an application that encodes and muxes a file to mp4,
> using libx264. Is it possible to just switch encoders? Will other things
> have to change, like pixel formats?
> I switched the encoders just like this.
> // old (libx264)
> //AVCodec* codec = avcodec_find_encoder(AV_CODEC_ID_H264);
> // new (Intel Quick Sync)
> AVCodec* codec = avcodec_find_encoder_by_name("h264_qsv");
> However, when calling avcodec_encode_video2,I get an access violation.
> Am I doing this wrong?
> I posted by question on StackOverflow as well for better visibility.
More information about the ffmpeg-devel