- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
There is some problem with nginx rtmp module calling ffmpeg. Nginx can't running ffmpeg with h264_qsv correctly
The test environment is show as follow:
OS - Centos 7.2
Intel MSDK Studio is installed
ffmpeg/x264/fdk-aac are installed
nginx/nginx rtmp module are installed
https://github.com/arut/nginx-rtmp-module/wiki/Exec-wrapper-in-bash
nginx server will call nginx rtmp module, which will call one transcoding script as the above url link describes, which will call ffmpeg.
My transcoding script is shown as follows:
#!/bin/bash
export LD_LIBRARY_PATH=/usr/local/lib:/opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64
export LIBVA_DRIVERS_PATH=/opt/intel/mediasdk/lib64
export LIBVA_DRIVER_NAME=iHD
on_die ()
{
# kill all children
pkill -KILL -P $$
}
trap 'on_die' TERM
useX264=0
appSrc=$1
nameSrc=$2
appDst=$3
nameDst=$4
if [ "$useX264" -ne 0 ];then
/usr/local/bin/ffmpeg -nostdin -i rtmp://localhost:1935/"$appSrc"/"$nameSrc" -vcodec libx264 -acodec libfdk_aac -vf "scale=640:480" -f flv rtmp://localhost:1935/"$appDst"/"$nameDst" > /tmp/ffmpeg_process.log 2>&1 &
else
/usr/local/bin/ffmpeg -vcodec h264_qsv -nostdin -i rtmp://localhost:1935/"$appSrc"/"$nameSrc" -vcodec h264_qsv -acodec libfdk_aac -vf "scale=640:480" -f flv rtmp://localhost:1935/"$appDst"/"$nameDst" > /tmp/ffmpeg_process.log 2>&1 &
fi
wait
If x264 is used, then the transcoding script can run ffmpeg without error. If h264_qsv is used, ffmpeg will report error as shown below:
ffmpeg version n3.2.2-51-gdbda4f7 Copyright (c) 2000-2016 the FFmpeg developers
built with icc (ICC) 14.0.2 20140120
configuration: --cc=/opt/intel/bin/icc --enable-version3 --enable-asm --enable-yasm --enable-avfilter --enable-libvidstab --disable-static --enable-shared --enable-libx264 --enable-gpl --prefix=/usr/local/ --extra-cflags='-I/usr/local/include -I/opt/intel/opencl/include' --extra-ldflags='-L/usr/local/lib -L/opt/intel/opencl' --enable-libfdk_aac --enable-nonfree --enable-libass --enable-libfreetype --extra-libs=-lfreetype --enable-opencl --enable-libmfx --enable-memalign-hack --enable-librtmp
libavutil 55. 34.100 / 55. 34.100
libavcodec 57. 64.101 / 57. 64.101
libavformat 57. 56.100 / 57. 56.100
libavdevice 57. 1.100 / 57. 1.100
libavfilter 6. 65.100 / 6. 65.100
libswscale 4. 2.100 / 4. 2.100
libswresample 2. 3.100 / 2. 3.100
libpostproc 54. 1.100 / 54. 1.100
Metadata:
Server NGINX RTMP (github.com/arut/nginx-rtmp-module)
width 1920.00
height 1080.00
displayWidth 1920.00
displayHeight 1080.00
duration 0.00
framerate 25.00
fps 25.00
videodatarate 4000.00
videocodecid 0.00
audiodatarate 160.00
audiocodecid 0.00
[live_flv @ 0xc0e680] audio stream discovered after head already parsed
[live_flv @ 0xc0e680] video stream discovered after head already parsed
Input #0, live_flv, from 'rtmp://localhost:1935/live1/abc':
Metadata:
Server : NGINX RTMP (github.com/arut/nginx-rtmp-module)
displayWidth : 1920
displayHeight : 1080
fps : 25
profile :
level :
Duration: 00:00:00.00, start: 40.890000, bitrate: N/A
Stream #0:0: Audio: aac (LC), 44100 Hz, stereo, fltp
Stream #0:1: Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn, 50 tbc
Stream mapping:
Stream #0:1 -> #0:0 (h264 (h264_qsv) -> h264 (h264_qsv))
Stream #0:0 -> #0:1 (aac (native) -> aac (libfdk_aac))
[AVHWDeviceContext @ 0xce2000] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xce9dc0] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xc7d460] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xcda880] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xcc26e0] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xc88ac0] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xcfa460] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xcaf8c0] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xc95fe0] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xca9b80] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xc74ca0] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xcb5c60] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xcccdc0] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xd006a0] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xc41c40] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xc5fc60] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xd0c740] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xcbc2a0] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xce9dc0] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xcd7920] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xd277e0] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xc77ce0] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xcecd40] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xcd3ae0] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xd0c740] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xcccdc0] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xc84940] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xc95fe0] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xcfa460] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xcaf8c0] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xc7d460] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xc814c0] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xc66fa0] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xcd3ae0] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xcecd40] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xc77ce0] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xc46a40] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xc5fc60] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xca9b80] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xcb5c60] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xc6ebe0] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xcefe60] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xcccdc0] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xcda880] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xca86a0] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xcc26e0] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xcbc2a0] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xd277e0] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xcd3ae0] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xc7d460] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xc7d460] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xc7d460] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xc7d460] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xc7d460] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xce9dc0] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xcefe60] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xcefe60] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xcefe60] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xcefe60] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xcefe60] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xd0c740] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xc43260] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xc43260] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xc43260] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xc43260] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xc43260] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xcc26e0] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xcda880] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xcda880] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xcda880] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xcda880] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xcda880] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xcd1b40] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xc7d460] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xc7d460] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xc7d460] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xc7d460] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xc7d460] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xc5fc60] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xd006a0] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xd006a0] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xd006a0] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xd006a0] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xd006a0] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xce2000] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xc77ce0] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xc77ce0] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xc77ce0] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xc77ce0] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xc77ce0] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xc66fa0] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xc40de0] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xc40de0] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xc40de0] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xc40de0] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xc40de0] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xc41c40] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xcb5c60] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xcb5c60] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xcb5c60] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xcb5c60] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xcb5c60] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xcefe60] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xc6b8c0] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xc6b8c0] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xc6b8c0] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xc6b8c0] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xc6b8c0] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xc43260] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xd277e0] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xd277e0] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xd277e0] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xd277e0] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xd277e0] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xc814c0] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xcda880] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xcda880] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xcda880] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xcda880] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xcda880] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xcaf8c0] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xcaf8c0] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xcaf8c0] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xcaf8c0] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xcaf8c0] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xcaf8c0] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xc46a40] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xc46a40] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xc46a40] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xc46a40] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xc46a40] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xc46a40] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xcbf200] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xcbf200] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xcbf200] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xcbf200] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xcbf200] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xcbf200] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xc88ac0] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xc88ac0] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xc88ac0] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xc88ac0] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xc88ac0] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xc88ac0] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xcda880] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xcda880] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xcda880] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xcda880] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xcda880] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xcda880] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xcaf8c0] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xcaf8c0] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xcaf8c0] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xcaf8c0] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xcaf8c0] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xcaf8c0] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xc6ebe0] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xc6ebe0] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xc6ebe0] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xc6ebe0] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xc6ebe0] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xc6ebe0] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xce2000] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xce2000] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xce2000] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xce2000] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xce2000] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xce2000] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xc66fa0] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xc66fa0] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xc66fa0] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xc66fa0] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xc66fa0] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xc66fa0] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xcecd40] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xcecd40] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xcecd40] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xcecd40] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xcecd40] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xcecd40] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xc5fc60] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xc5fc60] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xc5fc60] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xc5fc60] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xc5fc60] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xc5fc60] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xcccdc0] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xcccdc0] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xcccdc0] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xcccdc0] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xcccdc0] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xcccdc0] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xc84940] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xc84940] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xc84940] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xc84940] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xc84940] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xc84940] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xc66fa0] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xc66fa0] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xc66fa0] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xc66fa0] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xc66fa0] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xc66fa0] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xcecd40] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xcecd40] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xcecd40] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xcecd40] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xcecd40] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xcecd40] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xce9dc0] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xce9dc0] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xce9dc0] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xce9dc0] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xce9dc0] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xce9dc0] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xce2000] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xce2000] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xce2000] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xce2000] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xce2000] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xce2000] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xc814c0] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xc814c0] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xc814c0] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xc814c0] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xc814c0] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xc814c0] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xc66fa0] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xc66fa0] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xc66fa0] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xc66fa0] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xc66fa0] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xc66fa0] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xcecd40] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xcecd40] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xcecd40] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xcecd40] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xcecd40] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xcecd40] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xc77ce0] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xc77ce0] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xc77ce0] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xc77ce0] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xc77ce0] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xc77ce0] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xc7d460] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xcbc2a0] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xcb5c60] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xc84940] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xc814c0] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xc95fe0] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xc6b8c0] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xcecd40] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xcccdc0] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xc88ac0] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xcbf200] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xc77ce0] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xc7d460] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xd277e0] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xcd3ae0] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xca86a0] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xc43260] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xc77ce0] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xc40de0] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xcb5c60] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xc77ce0] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xc43260] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xca86a0] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xcd3ae0] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xd277e0] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xc77ce0] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xc7d460] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xc88ac0] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xcccdc0] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xd006a0] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xc88ac0] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xc6b8c0] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xcd1b40] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xc66fa0] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xca9b80] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xcc26e0] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
[AVHWDeviceContext @ 0xc40de0] No VA display found for device: /dev/dri/renderD128.
[AVHWDeviceContext @ 0xd277e0] No VA display found for device: /dev/dri/renderD129.
[AVHWDeviceContext @ 0xcd3ae0] No VA display found for device: /dev/dri/renderD130.
[AVHWDeviceContext @ 0xe8bec0] No VA display found for device: /dev/dri/card0.
[AVHWDeviceContext @ 0xc95fe0] No VA display found for device: /dev/dri/card1.
[AVHWDeviceContext @ 0xc6b8c0] No VA display found for device: /dev/dri/card2.
Failed to create a QSV device
[h264_qsv @ 0xf05660] Error initializing an MFX session
Error while decoding stream #0:1: Function not implemented
Too many packets buffered for output stream 0:1.
[libfdk_aac @ 0xee8440] 2 frames left in the queue on closing
Conversion failed!
I have set important environment variables, i.e. LD_LIBRARY_PATH, LIBVA_DRIVERS_PATH and LIBVA_DRIVER_NAME. why does nginx not run ffmpeg correctly?
However, If I install msdk according to Minimum Install in the document of 'media_server_studio_getting_started_guide.pdf', there is no problem when nginx runs ffmpeg with h264_qsv.
Why nginx can't run correctly ffmpeg with h264_qsv, when MSDK studio is fully installed?
Thanks!
Look forward to reply and help!
Regards
Andrew
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi There,
As your MSDK samples and ffmpeg run in command line is right.
so please check your nginx setting.
Thanks,
Zachary
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page