[FFmpeg-user] help transcoding video

NDJORE BORIS ndjoreboris at gmail.com
Mon Jan 21 18:07:35 EET 2019


Hello Team,


I try to transcode videos based on the example :
doc/examples/transcoding.c
<https://ffmpeg.org/doxygen/trunk/doc_2examples_2transcoding_8c-example.html>

But while trying to open some video files (not all), I have the following
error:

[h264_vaapi @ 0xca3540] A hardware frames reference is required to
associate the encoding device.
Cannot open video encoder for stream #0

Those are my configure parameters :
 --prefix=<BINARY_DIR>
            --extra-cflags=-I<BINARY_DIR>/include
            --extra-ldflags=-L<BINARY_DIR>/lib
            --extra-libs=-lalgolib\ -lpthread
            --enable-gpl
            --enable-nonfree
            --enable-libfdk-aac
            --disable-doc
            --enable-pthreads
            --disable-programs
            --enable-shared
            --enable-static
            --enable-runtime-cpudetect

I need your help please
Regards


More information about the ffmpeg-user mailing list