Jump to content

"Error reinitializing filters" error when transcoding on Fire Stick


Touz604
 Share

Recommended Posts

Touz604

Hello, I've been trying to play some files recently on my Fire Stick 4K and it seems that the server doesn't want to start transcoding for this specific device. I'm getting the following error in the transcode log:

20:45:42.640 Impossible to convert between the formats supported by the filter 'hwupload@f4' and the filter 'auto_scale_0'
20:45:42.640 Error reinitializing filters!
20:45:42.640 Failed to inject frame into filter network: Function not implemented
20:45:42.640 Error while processing the decoded data for stream #0:4
20:45:42.650 Conversion failed!

When transcoding on other devices (iOS, Android Phone, etc), for the same video, the transcoding is working.

I've attached the transcode log and emby server logs here: https://filerun.ineffable.xyz/wl/?id=hq1q8JE7LHZQa1AHzHU1SHpMDEPEkwgK

I'm not able to provide a Fire Stick 4K log at this time. Does someone knows why transcoding isn't working anymore for this device? It's been working fine for the past few months.

Thanks!

Link to comment
Share on other sites

Hi there, can you please attach the emby server and ffmpeg log files to this forum posting? Thanks !

Link to comment
Share on other sites

Touz604
1 minute ago, Luke said:

Hi, how did you install Emby Server?

Linuxserver docker container on unraid.

Link to comment
Share on other sites

Touz604
11 hours ago, Luke said:

Can you try our official docker container and let us know how that compares?

https://emby.media/docker-server.html

Thanks !

It seems to return the same error (see attached logs).

I noticed the same issue on other devices than the Fire Stick now. If I disable HW transcoding with Intl iGPU the issue seems to go away...

emby transcode log official.txt emby server log official.txt

Link to comment
Share on other sites

Touz604

I was able to make it work with the official Emby Docker image. I just forgot to add the device to the container command.

The issue I was having was with the LinuxServer container, and others seems to have the same problem here:

Thank you for your help :)

Link to comment
Share on other sites

Touz604

well it seems I was mistaken. The issue isn't fixed. I was confusing 2 different issues that I was experiencing when trying to switch from the Linuxserver container to the official one.

When hardware transcoding via the iGPU is enabled, the transcoding works for maybe 2 minutes, then the stream freezes and the Emby app on the client needs to be closed.

Any idea what those error lines mean? (the same as the ones in the 1st post)

21:47:31.583 Impossible to convert between the formats supported by the filter 'hwupload@f4' and the filter 'auto_scale_0'
21:47:31.583 Error reinitializing filters!
21:47:31.583 Failed to inject frame into filter network: Function not implemented
21:47:31.583 Error while processing the decoded data for stream #0:11
21:47:31.585 Conversion failed!

 

Link to comment
Share on other sites

15 hours ago, Touz604 said:

well it seems I was mistaken. The issue isn't fixed. I was confusing 2 different issues that I was experiencing when trying to switch from the Linuxserver container to the official one.

When hardware transcoding via the iGPU is enabled, the transcoding works for maybe 2 minutes, then the stream freezes and the Emby app on the client needs to be closed.

Any idea what those error lines mean? (the same as the ones in the 1st post)

21:47:31.583 Impossible to convert between the formats supported by the filter 'hwupload@f4' and the filter 'auto_scale_0'
21:47:31.583 Error reinitializing filters!
21:47:31.583 Failed to inject frame into filter network: Function not implemented
21:47:31.583 Error while processing the decoded data for stream #0:11
21:47:31.585 Conversion failed!

 

Hi there, please attach the complete emby server and ffmpeg log files from when this happened. Thanks.

Link to comment
Share on other sites

Touz604

Well, I did some testing, and I downgraded to 4.6.7.0. I then upgraded to 4.7.0.60 and this is where is issues started happening.

I will stay with 4.6.7.0 for now.

The issue might be related to the 1st point in the post: https://emby.media/community/index.php?/topic/110319-major-issues-after-upgrade-to-latest-beta/

I hope this, with the logs in the 1st post, can help you troubleshoot the issue.

Link to comment
Share on other sites

  • 2 weeks later...

Hi, please try 4.8.0.8+ once available for your platform and let us know how that compares. Thanks.

Link to comment
Share on other sites

On 15/08/2022 at 14:39, Luke said:

Hi, please try 4.8.0.8+ once available for your platform and let us know how that compares. Thanks.

It's still isn't working properly, but the error changed when it's failing to transcode with HW, BUT this time it falls back properly to software transcoding.

Again, rolling back to 4.6.7.0 and HW transcoding is working fine.

 

Thanks!

ffmpeg-transcode-67388151-ebeb-4fe1-ac0e-f9a3bc4cc716_1.txt embyserver_4.8.0.8.log

Link to comment
Share on other sites

  • 2 weeks later...

Hi,

does it work when you don't select any subtitles for display? (on 4.8.0.8)

Please also try the following: (on 4.8.0.8)

  • Install the Diagnostics Plugin from the catalog
  • Restart
  • Got to Diagnostic Options
  • Clear the check boxes for disabled HW overlay and subtitle filtering
  • retry

Thanks

Link to comment
Share on other sites

On 8/23/2022 at 3:28 AM, Touz604 said:

Again, rolling back to 4.6.7.0 and HW transcoding is working fine.

Could you please post log from this "working fine" case as well?
Thanks

Link to comment
Share on other sites

  • 2 weeks later...
On 9/3/2022 at 8:01 PM, softworkz said:

does it work when you don't select any subtitles for display? (on 4.8.0.8)

Yes it does! But when I enable subtitles, HW transcoding fails and falls back to software transcoding.

 @softworkz

On 9/3/2022 at 8:01 PM, softworkz said:

 

On 9/3/2022 at 8:01 PM, softworkz said:

Please also try the following: (on 4.8.0.8)

  • Install the Diagnostics Plugin from the catalog
  • Restart
  • Got to Diagnostic Options
  • Clear the check boxes for disabled HW overlay and subtitle filtering
  • retry

HW transcoding works when disabling HW overlay and subtitle filtering and not using any subtitles, but when enabling the subtitles I get this popup:

Playback Error
No compatible streams are currently available. Please try again later or contact your system administrator for details.

 

 

Please see attached logs for the "working" part on 4.6.7.0.

 

Thanks!

embyserver_working.txt ffmpeg-transcode-9db1464d-c127-4fce-82e8-6b6cae5ee13d_1_working.txt

Link to comment
Share on other sites

  • 2 weeks later...

Just as a follow-up, it's still not working on 4.8.0.9. It still falls back to software transcoding with this error:

15:25:58.004 [AVHWDeviceContext @ 0x70f4c0] No VA display found for device dev1.
15:25:58.004 Device creation failed: -22.
15:25:58.004 [h264 @ 0x781040] No device available for decoder: device type vaapi needed for codec h264.

embyserver.txt ffmpeg-transcode-5a858691-f286-48dd-a253-d4320e334d0a_1.txt

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
 Share

×
×
  • Create New...