Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No video only blackscreen with audio playing #3817

Closed
TheCaging opened this issue Jul 29, 2024 · 22 comments
Closed

No video only blackscreen with audio playing #3817

TheCaging opened this issue Jul 29, 2024 · 22 comments
Labels
bug Something isn't working playback Issue related to media playback

Comments

@TheCaging
Copy link

Describe the bug

Been using jellyfin for awhile but recently its become entirely unusable. Couple days ago I uploaded a few movies to my server and went to my AndroidTV to see if they were scanned in. Then I tried playing one and all I get is a black screen with only the Audio. I know the files are good as they playback fine through the browser on my computer and android app on my phone but on my AndroidTV it gives the above behavior. This behavior extends to all video content through the AndroidTV app even stuff that worked before the bug appeared. I've tried rebooting multiple times, I've deleted the app and reinstalled, I've even deleted the server and started from scratch and it still does the same thing. I know In the log file there are issues with the trickplay but I was having this issue even with the trickplay disabled.

Logs

https://pastebin.com/VUS6EtHA

Application version

0.16.11

Where did you install the app from?

None

Device information

Sony x90L 4k SmartTV

Android version

Android 10

Jellyfin server version

10.9.6

@TheCaging TheCaging added the bug Something isn't working label Jul 29, 2024
@nielsvanvelzen nielsvanvelzen added the playback Issue related to media playback label Jul 31, 2024
@VampiricAlien
Copy link

Can you post your video details that you find under media info on Jellyfin web or ffprobe?

@ThomasPGH
Copy link

ThomasPGH commented Aug 10, 2024

I now got one film with the same issue. Audio plays fine but there's no video. Only a black screen. The video plays fine inside a browser and the iPhone client. I haven't tried the Android client but the Android TV client only shows a black screen while the audio plays and the film advances normally.

What looks different to me is that when you click on Media Info the video track is not the first track at the top.

Screenshot 2024-08-10 144649
Screenshot 2024-08-10 144749

@ThomasPGH
Copy link

On an Android tablet, the video plays when Web Player is selected but a black screen is displayed when set to Integrated Player. The audio plays in both cases.

@zkhcohen
Copy link
Contributor

On an Android tablet, the video plays when Web Player is selected but a black screen is displayed when set to Integrated Player. The audio plays in both cases.

Does this issue appear to be related? #3830

Were these files modified with FFMPEG 6 or mkvtoolnix v85.0.0?

@ThomasPGH
Copy link

Does this issue appear to be related? #3830

I don't know. The film actually plays but no video shows up.

Were these files modified with FFMPEG 6 or mkvtoolnix v85.0.0?

The file has in fact been modified with mkvtoolnix but v86.

@zkhcohen
Copy link
Contributor

The file has in fact been modified with mkvtoolnix but v86.

Can you try remuxing it in FFMPEG and see if it suddenly works?

ffmpeg -i input.mkv -c copy output.mkv

@ThomasPGH
Copy link

ThomasPGH commented Aug 10, 2024

Were these files modified with FFMPEG 6 or mkvtoolnix v85.0.0?

The file has in fact been modified with mkvtoolnix but v86.

To exclude mkvtoolnix I just restored the untouched (at least by me) version and the result is the same: audio but no video.

@ThomasPGH
Copy link

Can you try remuxing it in FFMPEG and see if it suddenly works?

ffmpeg -i input.mkv -c copy output.mkv

Just started. It'll take a few minutes to complete.

@TheCaging
Copy link
Author

Well I've been fiddling with it for a while. I accidently popped the breaker that the server was being powered with, after that it had a hard reboot and the issue went away.

@ThomasPGH
Copy link

Can you try remuxing it in FFMPEG and see if it suddenly works?
ffmpeg -i input.mkv -c copy output.mkv

Just started. It'll take a few minutes to complete.

This'll take ages to complete, not just a few minutes ;)

@zkhcohen
Copy link
Contributor

Can you try remuxing it in FFMPEG and see if it suddenly works?
ffmpeg -i input.mkv -c copy output.mkv

Just started. It'll take a few minutes to complete.

This'll take ages to complete, not just a few minutes ;)

If it's properly remuxing, I'm surprised it's taking so long. Afterwards can you confirm that it didn't actually transcode the media, please?

I remuxed a 2GB file in about a minute on a notebook i7.

@ThomasPGH
Copy link

Can you try remuxing it in FFMPEG and see if it suddenly works?
ffmpeg -i input.mkv -c copy output.mkv

Just started. It'll take a few minutes to complete.

This'll take ages to complete, not just a few minutes ;)

If it's properly remuxing, I'm surprised it's taking so long. Afterwards can you confirm that it didn't actually transcode the media, please?

I remuxed a 2GB file in about a minute on a notebook i7.

I had accidentally specified two output files.

@ThomasPGH
Copy link

The output version is about 12 GiB smaller than the original but the issue persists. Audio plays but no video. The output version only has one audio track, which is the one the input version had as default.

The web player happily plays both versions with video and audio while the Android TV version only plays both with missing video.

@ThomasPGH
Copy link

Well I've been fiddling with it for a while. I accidently popped the breaker that the server was being powered with, after that it had a hard reboot and the issue went away.

I thought I could give this a go too. I shut down the machine, switched it off, and back on again. It did not fix it.

Note that I only got one film with this issue. Others play with video and audio.

@VampiricAlien
Copy link

@ThomasPGH Does your Tv/device support HEVC level 153? does it also support DV?

@ThomasPGH
Copy link

@ThomasPGH Does your Tv/device support HEVC level 153? does it also support DV?

I don't know but considering it works with the web player even on Android (not Android TV) this is probably not relevant.

@VampiricAlien
Copy link

probably not relevant.

You may find it's very relevant as I have the same issue but with 4K AV1 DoVi.

Anyway 0.17.2 fixes HEVC allowed in transcode profile when not supported,. This might fix your problem.

@ThomasPGH
Copy link

Nah, it didn't fix it.

@dtrexler
Copy link
Contributor

The video being DV profile 7 can cause issues from what I've seen, had the same issue with some movies on an incompatible device. Converting to something like DV profile 8 may be a band-aid solution if you want a quick fix.

@suncokret12
Copy link

suncokret12 commented Nov 9, 2024

I have the same problem; however, if I go into the options and choose the external player option, then play the movie with VLC, it works just fine, but it doesn't work with the native player. My TV supports Dolby and HDR10. It's annoying because I don't have the option to adjust the bitrate in a VLC player. I just switched from the Plex free version to Jellyfin, and I'm disappointed; everything worked fine on Plex.

@Dnkhatri
Copy link

Kodi seems to have fixed the problem it works by completely removing the metadata from the bitstream prior to decoding
xbmc/xbmc#24584

I hope something similar can be added to the android tv player app.

@nielsvanvelzen
Copy link
Member

Closing as duplicate of #2700

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working playback Issue related to media playback
Projects
None yet
Development

No branches or pull requests

8 participants