Jump to content

Image fragmenting when transcoding


Recommended Posts

Posted

Hi I stumbled upon this thread because I am having the same issue. VC-1 video hardware decoded with VAAPI produces some artifacts (pixelated) in some action scenes and if I disabled VC-1 hw decoding the video is smooth (hw encoding is turned on). If I moved QuickSync up in the Transcoding section to use it instead of VAAPI the transcoding does not work. Video will not play. I have DS-920+ with Celeron J4125 and QuickSync should work because I can select it in Emby:

image.png.23600dea21df56af8f6ab849641a5b1a.png

Is there any setting to fix this? I am running Emby server in a docker container with version 4.7.14.0. I have quite some VC-1 movies lying around and would like to use hw decoding for VC-1 video as well (less impact on CPU). I wondered if the hw implementation of VC-1 decoding will improve in the new Emby server version 4.8? Thanks!

Posted

Hi @LukeI have attached the server logs here. I turned on QuickSync ONLY for hw decoding of VC-1 video and it does not play. Spinning wheel only during playback with a blank screen.

 

hardware_detection-63835988774.txt ffmpeg-transcode-3b0a1ff0-15df-4fe0-bc6c-ac02339ccf71_1.txt ffmpeg-transcode-00458c40-ef01-460f-8926-06e09f984fab_1.txt ffmpeg-transcode-a65f8ae4-3137-4d27-800d-dd93890b96e3_1.txt embyserver (1).txt

Posted (edited)

And this one I have VAAPI hw decoding turned on and at around 11:46 there is artifact. Please see screenshot and the logs. Video is VC-1.

If you need more info pls let me know. thanks in advance!

 

20231119_111927.jpg

ffmpeg-transcode-a295802c-778a-45ce-b012-ba5478006fe8_1.txt ffmpeg-transcode-956ca751-cbee-4ac2-9e4e-995bd5ca501e_1.txt ffmpeg-transcode-9e18acf1-61fc-4c06-bc96-dce1df5203ba_1.txt ffmpeg-transcode-903f1260-41ef-4c6a-a57f-426f0dcd80f5_1.txt ffmpeg-transcode-353db7d1-ca45-4ea2-b575-cd28e115cee5_1.txt embyserver.txt

Edited by tattler
Posted

By the way, QuickSync does not work on X264 videos as well. VAAPI works though. 

Posted
On 11/19/2023 at 5:29 AM, tattler said:

By the way, QuickSync does not work on X264 videos as well. VAAPI works though. 

Hi there, why do you think quicksync doesn't work?

Posted
4 hours ago, Luke said:

Hi there, why do you think quicksync doesn't work?

Because I disabled VAAPI and only enabled QuickSync. Video doesn't play.

Posted

OK. For the latest intel hardware you may want to try the 4.8 beta server.

Posted (edited)
On 22/11/2023 at 19:20, Luke said:

OK. For the latest intel hardware you may want to try the 4.8 beta server.

Thanks @Luke. I don't have the latest Intel hardware, just a Synology DS-920+ NAS. 

I did an extensive test today with the combi VAAPI/QuickSync as encoders/decoders. Is it technically true I cannot mix the different drivers for both encoders and decoders? What I mean: choose VAAPI as X264 decoder and QuickSync as encoder. They do not play well together. After testing some movie files I have now settled on the following settings:

image.thumb.png.6f10d6475d004c0f637fdff5d98b15c2.png

Ignore MPEG2, I don't use it. I give QuickSync the highest priority and keep VAAPI checked for the fallback if QuickSync somehow fails to decode/encode.

With this transcoding setting, QuickSync works as expected and stable. If I mixmatch them it is unstable and Emby will fall back to sw transcoding, which is not what I want.

I am actually very curious how QuickSync would perform in the new beta. Since I run Emby as a container, I can easily do it by replacing the tag latest with beta. Still.... I don't know how stable it is at the moment. Maybe I just wait for the stable release..... if it doesn't take too long 😉 

 

 

Edited by tattler
Posted
Quote

Is it technically true I cannot mix the different drivers for both encoders and decoders?

Hi, you might be able to get away with it in certain scenarios but I wouldn't say that we recommend it.

  • Like 1

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