jellyfin / jellyfin-androidtv

Android TV Client for Jellyfin
https://jellyfin.org
GNU General Public License v2.0
2.86k stars 489 forks source link

No video only blackscreen with audio playing #3817

Open TheCaging opened 3 months ago

TheCaging commented 3 months ago

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

VampiricAlien commented 3 months ago

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

ThomasPGH commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

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? https://github.com/jellyfin/jellyfin-androidtv/issues/3830

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

ThomasPGH commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

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

ThomasPGH commented 3 months ago

@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 commented 3 months ago

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 commented 3 months ago

Nah, it didn't fix it.

dtrexler commented 1 month ago

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 commented 4 days ago

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.