help transcoding video

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

help transcoding video

NDJORE BORIS
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
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".