Jump to content

file playback error for 480P only


Recommended Posts

myblackhatch
Posted

Just noticed that my 480p mpeg2videos files are getting a playback error No compatible streams are currently available. Please try again later or contact your system administrator for details.

I recently swapped out a nvidia p2000 card for a intel arc a380 which is the only change to the server I have done recently.

The setup is a docker image on unraid.

anything other than that mpeg2video plays just fine and the video card seems to be working fine with transcoding. I have attached the logs below.

ffmpeg-transcode-1edf63ae-e00f-4048-bcf0-7ecab6f1fc5d_1.txt embyserver(1).txt

visproduction
Posted (edited)

Line 164 in ffmpeg-transcode

There are 6358 occurences of "Error while decoding stream" at around 6 times / second.

Audio AAC LC at 192 kbs has been mentioned to be a problem before.  192 kbs with LC has playback issues.  I avoid this combination completely.  I have not done extensive testing.  I would guess that if you reencode just the audio using HE-AAC up to 640 kbps instead of LC your media will start to work correctly.  AVIDemux or ffmpeg can do this offline.  I know, it would be nice to solve this differently.  I think the audio codec combination is a known problem.

https://forum.blackmagicdesign.com/viewtopic.php?f=21&t=122011
https://duckduckgo.com/?q=AAC+audio+LC+192+kbs+error+codec+playback&ia=web

Edited by visproduction
Happy2Play
Posted

Yes it would appear the video stream can not be decoded.

Error while decoding stream #0:0: Operation not permitted

I guess one question would be do you get the same results if switch the decoder order?

>>>>>>  Hardware Decoders for mpeg2video
        [X] VAAPI DG2 Arc A380 [1] - MPEG-2
        [X] QuickSync DG2 Arc A380 [1] - MPEG-2

Devs may need to see a server startup log showing hardware detection and the hardware-detection log.

  • Like 1
myblackhatch
Posted
7 hours ago, Neminem said:

All so what unRaid version are you using ?

Prober Arc support is in beta testing for 7.0.0

Version 7.0.0-beta.3 2024-10-04 | Unraid Docs

Im on Beta.3 .  Like you pointed out I upgraded before adding in the new card to make sure I had whatever support them have already figured out.

 

8 hours ago, Happy2Play said:

Yes it would appear the video stream can not be decoded.

Error while decoding stream #0:0: Operation not permitted

I guess one question would be do you get the same results if switch the decoder order?

>>>>>>  Hardware Decoders for mpeg2video
        [X] VAAPI DG2 Arc A380 [1] - MPEG-2
        [X] QuickSync DG2 Arc A380 [1] - MPEG-2

Devs may need to see a server startup log showing hardware detection and the hardware-detection log.

I attached the hardware log below. How would I go about switching the decode order?

 

9 hours ago, visproduction said:

Line 164 in ffmpeg-transcode

There are 6358 occurences of "Error while decoding stream" at around 6 times / second.

Audio AAC LC at 192 kbs has been mentioned to be a problem before.  192 kbs with LC has playback issues.  I avoid this combination completely.  I have not done extensive testing.  I would guess that if you reencode just the audio using HE-AAC up to 640 kbps instead of LC your media will start to work correctly.  AVIDemux or ffmpeg can do this offline.  I know, it would be nice to solve this differently.  I think the audio codec combination is a known problem.

https://forum.blackmagicdesign.com/viewtopic.php?f=21&t=122011
https://duckduckgo.com/?q=AAC+audio+LC+192+kbs+error+codec+playback&ia=web

Ok, ill start looking into that more. I don't know much about audio encodings so ill have to do some reading on that. I am currently thinking its hardware related because I have never had an issue with it until I switched out the gpu for this intel unit. I was going to switch it back to the p2000 just to give that a try and see if that does anything. I have a bunch of files so, downloading, recording, and uploading again would be a long time project that I would rather avoid. I do however want to keep my intel 380 so even if it does fit it I would have to start looking at work arounds first.

hardware_detection-63863769427.txt

Happy2Play
Posted
12 hours ago, myblackhatch said:

How would I go about switching the decode order?

On the Transcoding page change from Yes to Advanced and drag and drop the order or uncheck one.

image.png.0aa3eed8492853943e051015e9ebb016.png

No idea is server log will show anything else but devs will have to comment on error.

                "Error": {
                    "Number": -1,
                    "Message": "Operation not permitted"
                }

 

  • Like 1
myblackhatch
Posted
2 hours ago, Happy2Play said:

On the Transcoding page change from Yes to Advanced and drag and drop the order or uncheck one.

 

No idea is server log will show anything else but devs will have to comment on error.

 

Thank you for the help.

Unchecking intel quicksync made it work. I was kind of wondering why the system would need to transcode those small 480P files to begin with? Is there a downside to unchecking the quicksync?

Happy2Play
Posted
18 minutes ago, myblackhatch said:

Unchecking intel quicksync made it work.

Not sure I follow as it was failing with VAAPI per your logs.

>>>>>>  Selected Codecs
Decoder VAAPI DG2 Arc A380 [1] - MPEG-2
        Adapter #1: 'DG2 Arc A380 [1]' Id:22181 (Driver: Intel iHD driver for Intel(R) Gen Graphics - 23.1.4 (12e141dc2), Vendor: Intel Corporation)
        Max Bitrate: 78 Mbit/s - Frame Sizes: max 2048x2048
        Color Formats: NV12 - Bit Depths: 8
        Profiles: Simple Profile (High Level), Main Profile (High Level)

But if it is working should not be a problem.

myblackhatch
Posted
5 minutes ago, Happy2Play said:

Not sure I follow as it was failing with VAAPI per your logs.

>>>>>>  Selected Codecs
Decoder VAAPI DG2 Arc A380 [1] - MPEG-2
        Adapter #1: 'DG2 Arc A380 [1]' Id:22181 (Driver: Intel iHD driver for Intel(R) Gen Graphics - 23.1.4 (12e141dc2), Vendor: Intel Corporation)
        Max Bitrate: 78 Mbit/s - Frame Sizes: max 2048x2048
        Color Formats: NV12 - Bit Depths: 8
        Profiles: Simple Profile (High Level), Main Profile (High Level)

But if it is working should not be a problem.

Sorry, your correct. It was VAPPI that I unchecked. quicksync is the one I left checked.

  • Like 1
Happy2Play
Posted (edited)

I am not a Linux user so don't know the advantages of VAAPI vs Intel QuickSync but would think things work best went decoder and encoder are matched vs mismatched.  But devs would have to get into the technical aspect of the overall issue as you had it set to Yes were Emby auto selected the order that created the issue.

Edited by Happy2Play
Neminem
Posted (edited)

I my experience with linux ( unRaid ) VAAPI is my goto, if there is issues.

I almost always works, but a an performance cost, that is better that issues.

Lets call it an all-in-one driver for gfx.

Edited by Neminem

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