Jump to content

Debian 9 VAAPI transcoding Help


Go to solution Solved by Luke,

Recommended Posts

Posted

Hi,
i would like to activate the vaapi hwacc support on my system, but ffmpeg will be start without vaapi options.

What am I doing wrong.

Thanks for your support.

System Info

Intel® Core i5-7500 CPU

 

Debian 9.4

vainfo (package from buster (testing) repo)
error: can't connect to X server!
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_0
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.1 (libva 2.1.0)
vainfo: Driver version: Intel i965 driver for Intel® Kaby Lake - 2.0.0
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Simple            : VAEntrypointEncSlice
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointEncSliceLP
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointEncSliceLP
      VAProfileH264MultiviewHigh      : VAEntrypointVLD
      VAProfileH264MultiviewHigh      : VAEntrypointEncSlice
      VAProfileH264StereoHigh         : VAEntrypointVLD
      VAProfileH264StereoHigh         : VAEntrypointEncSlice
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointEncPicture
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointEncSlice
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointEncSlice

installed deb package from github

logfile
/opt/emby-server/bin/ffmpeg -noaccurate_seek -i file:"/mnt/movie/serien/Suits/s04/Suits.S04E01.mkv" -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -bsf:v h264_mp4toannexb -copyts -vsync -1 -codec:a:0 aac -strict experimental -ac 2 -ab 192000  -f segment -max_delay 5000000 -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 -start_at_zero -segment_time 6  -individual_header_trailer 0 -break_non_keyframes 1 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 0 -segment_list "/var/lib/emby/transcoding-temp/e3dd8e415881b6ab39ac1bf963d9e7a0.m3u8" -y "/var/lib/emby/transcoding-temp/e3dd8e415881b6ab39ac1bf963d9e7a0%d.ts"
 

Posted

Hi, there's no transcoding in this log. It is stream copying the original video as-is, therefore no gpu transcoding is needed.

Posted

Oh sorry, my mistake

Please see this log from a transcoding pvr record of ip tv stream.

This should be a trascode or do I have a mistake again?

Thanks for youre help.

 

/opt/emby-server/bin/ffmpeg -async 1 -vsync -1 -fflags +igndts -analyzeduration 5000000 -i "rtp://@239.35.20.21:10000" -t 00:08:46.457 -codec:v:0 libx264 -force_key_frames "expr:gte(t,n_forced*5)"  -vf "yadif=0:-1:0" -pix_fmt yuv420p -preset superfast -crf 23 -b:v 25000000 -maxrate 25000000 -bufsize (25000000*2) -vsync -1 -profile:v high -level 41 -fflags +genpts -map_metadata -1 -threads 0 -codec:a:0 aac -strict experimental -ab 320000 -sn -y "/srv/emby/rec/The Middle/Season 3/The Middle S03E05 Der Test.mkv"
 

Posted

Please attach the complete ffmpeg log. thanks.

  • Solution
Posted

Ok, we don't currently use it with the recording transcoding feature, but if you try to play media that requires transcoding then it will be used. thanks.

  • Like 1
Posted

Thanks for your fast reply and the great project emby

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...