jellyfin-archive / jellyfin-android-original

Android Client for Jellyfin
https://jellyfin.org
GNU General Public License v2.0
271 stars 65 forks source link

App won't play streams that use VAAPI. #182

Closed Lightning2X closed 5 years ago

Lightning2X commented 5 years ago

I recently enabled vaapi on my server and it works great in firefox (both on my desktop and mobile phone), but for some reason the app keeps saying no compatible streams. The problem occurs no matter what format of the input file is or what quality I select inside the app. As you can see inside the log file it appears to not even transcode at all: log.txt

Here is the log if I transcode it with the same parameters except I specify a random output file with -y. As you can see it runs just fine: manual_transcode.txt

according to the jellyfin logs themselves ffmpeg immediately quits with code 1. (Or code 0 in other cases) snippet.txt

Note that if I turn VAAPI off it runs fine inside the android app.

Lightning2X commented 5 years ago

Through more testing, I have found out it is not the issue of the app, rather to do with the HEVC codec. For anyone experiencing the same issue, I'd recommend re encoding your files over to H264, everything works flawlessly for me again!