Jump to content

VAAPI (intel Quicksync) mit Intel i3-4170 / XEON E3-1246 Ubuntu LXC


looking111

Recommended Posts

looking111

I am currently testing 2 of my Intel processors here with Intel QuickSync. On the manufacturer side the feature is supported and also VAAPI is supported in Linux. 

https://www.intel.com/content/www/us/en/products/sku/77490/intel-core-i34170-processor-3m-cache-3-70-ghz/specifications.html

https://www.intel.de/content/www/de/de/products/sku/80916/intel-xeon-processor-e31246-v3-8m-cache-3-50-ghz/specifications.html

I have installed all drivers and also the kernel modules are loaded. Nevertheless, the graphics chip is not found in Emby.  Emby runs on Proxmox in a container. Graphics passed through. I don't have another server to test it natively unfortunately. Therefore a basic question: "Should Emby be able to work with these graphics chips at all?

Link to comment
Share on other sites

looking111

Ok, now you have me. I am temporarily rebuilding the server and installing a fresh Emby for testing. Now I really want to know!

Link to comment
Share on other sites

looking111

No i tested it nativly. VAAPI works out of the box :) Intel QuickSync not. But i should. System is an default Ubuntu 20.04 Drivers are installed and working. VAINFO looks good. BTW: vainfo works also on proxmox, but not over ssh, only directy on tty. On Ubuntu the same. I've attached the log from playing. Maybe someone can see more then i. 

 

embylog.txt

Link to comment
Share on other sites

Happy2Play

If I am reading the log correctly HWA tries but fails do to no Emby Premiere validation.

Link to comment
Share on other sites

looking111
13 minutes ago, Happy2Play said:

If I am reading the log correctly HWA tries but fails do to no Emby Premiere validation.

Strange. Should be ok. But maybe it is the ssl-deepinspection. I will check this. 

Link to comment
Share on other sites

Happy2Play

But per the linked topic above quicksync will not work on Haswell processors.

 

Link to comment
Share on other sites

Happy2Play
30 minutes ago, Luke said:

What errors?

I didn't see any either but you can see it tries with qsv then stops and goes to software.  But a actual ffmpeg log should show this better.

Spoiler

    Line 13: 2021-09-16 23:08:09.806 Info App: ProcessRun 'StreamTranscode 095b7b' Execute: /opt/emby-server/bin/ffmpeg -loglevel +timing -y -print_graphs_file "/var/lib/emby/logs/ffmpeg-transcode-095b7b02-b6db-49c1-9c56-a40569caaaef_1graph.txt" -copyts -start_at_zero -qsv_device /dev/dri/renderD128 -f mpegts -c:v:0 h264_qsv -hwaccel:v:0 qsv -i "/Videos/Alien_–_Das_unheimliche_Wesen_aus_einer_fremden_Welt.ts" -filter_complex "[0:0]vpp_qsv@f1=deinterlace=advanced[f1_out0]" -map [f1_out0] -map 0:1 -sn -c:v:0 h264_qsv -b:v:0 6267710 -g:v:0 75 -maxrate:v:0 6267710 -bufsize:v:0 12535420 -sc_threshold:v:0 0 -level:v:0 40 -keyint_min:v:0 75 -profile:v:0 high -c:a:0 libmp3lame -ab:a:0 192000 -ac:a:0 2 -metadata:s:a:0 language=ger -filter:a:0 "volume=2" -disposition:a:0 default -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -map_chapters -1 -segment_format mpegts -segment_list "/var/lib/emby/transcoding-temp/A09760.m3u8" -segment_list_type m3u8 -segment_time 3 -segment_start_number 0 -individual_header_trailer 0 -write_header_trailer 0 -segment_write_temp 1 "/var/lib/emby/transcoding-temp/A09760_%d.ts"


    Line 19: 2021-09-16 23:08:15.806 Info App: ProcessRun 'StreamTranscode 095b7b' Process exited with code 1


    Line 20: 2021-09-16 23:08:15.870 Info App: ProcessRun 'StreamTranscode 095b7b' Execute: /opt/emby-server/bin/ffmpeg -loglevel +timing -y -print_graphs_file "/var/lib/emby/logs/ffmpeg-transcode-095b7b02-b6db-49c1-9c56-a40569caaaef_1graph.txt" -copyts -start_at_zero -f mpegts -c:v:0 h264 -i "/Videos/Alien_–_Das_unheimliche_Wesen_aus_einer_fremden_Welt.ts" -filter_complex "[0:0]yadif@f1=mode=send_frame:parity=auto:deint=all[f1_out0]" -map [f1_out0] -map 0:1 -sn -c:v:0 libx264 -g:v:0 75 -maxrate:v:0 6267710 -bufsize:v:0 12535420 -sc_threshold:v:0 0 -keyint_min:v:0 75 -pix_fmt:v:0 yuv420p -preset:v:0 veryfast -profile:v:0 high -level:v:0 4.0 -x264opts:v:0 "subme=0:me_range=4:rc_lookahead=10:partitions=none" -crf:v:0 23 -c:a:0 libmp3lame -ab:a:0 192000 -ac:a:0 2 -metadata:s:a:0 language=ger -filter:a:0 "volume=2" -disposition:a:0 default -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -map_chapters -1 -segment_format mpegts -segment_list "/var/lib/emby/transcoding-temp/A09760.m3u8" -segment_list_type m3u8 -segment_time 3 -segment_start_number 0 -individual_header_trailer 0 -write_header_trailer 0 -segment_write_temp 1 "/var/lib/emby/transcoding-temp/A09760_%d.ts"
 

 

Link to comment
Share on other sites

looking111

Since I am not yet so familiar with the subject... what would be more efficient? VAAPI with the i3 CPU or 10 cores from an AMD EPYC 7282 with software transcode?

Link to comment
Share on other sites

Those are pretty old CPUs that are going to lack functionality. Have you thought about getting a 10th+ generation CPU?

A modern Celeron is going to be more efficient and flexible for use in Emby and be able to handle tone mapping.

Link to comment
Share on other sites

  • 2 weeks later...
looking111

Apart now from the subject.... wasn't there once an option where you could set a mounted network drive/path under a library? Where then videos are streamed directly. Or am I wrong now. Could not find this option at least. 

Link to comment
Share on other sites

1 hour ago, looking111 said:

Apart now from the subject.... wasn't there once an option where you could set a mounted network drive/path under a library? Where then videos are streamed directly. Or am I wrong now. Could not find this option at least. 

https://support.emby.media/support/solutions/articles/44001159320-optional-network-paths

Link to comment
Share on other sites

looking111

Very thanks. I have now tested this. Does not work yet. Are there still certain requirements for this to work? The user has direct access to the share. Have also tested this in Windows Explorer. I played the video with Edge. Does it have to do with that? 

I play here an normaly MKV from original bluray or DVD.

Quote

By allowing Emby apps direct access to media folders on the server

I suppose that this does not mean the web browser?

Edited by looking111
Link to comment
Share on other sites

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...