SOLVED: direct play problem with mp4 and certain codecs on android native player - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting) +--- Thread: SOLVED: direct play problem with mp4 and certain codecs on android native player (/t-solved-direct-play-problem-with-mp4-and-certain-codecs-on-android-native-player) |
direct play problem with mp4 and certain codecs on android native player - David Müller - 2024-08-10 Hi, I have strange problem with mp4 files on android (native player): If I have AV1 and Opus as codecs, then it transcodes both audio and video. If I have a file with h264 and Opus, then it transcodes only the audio. It says as reason that the audio codec is not supported in both cases. But it plays audio opus files with directly. It's also direct playing just fine if I use MKV or WebM. Also no problems when using Web Player, Firefox for Android or Findroid. Edit: Also no problem with mp4 files with AV1 and AAC. RE: direct play problem with mp4 and certain codecs on android native player - TheDreadPirate - 2024-08-11 What version of Jellyfin are you running? RE: direct play problem with mp4 and certain codecs on android native player - David Müller - 2024-08-11 10.9.9 for server. 2.6.2 for android client. RE: direct play problem with mp4 and certain codecs on android native player - TheDreadPirate - 2024-08-11 Can you share your full jellyfin and ffmpeg logs via pastebin? RE: direct play problem with mp4 and certain codecs on android native player - David Müller - 2024-08-11 Jellyfin: https://pastebin.com/0ZX1QU1G FFMPEG: https://pastebin.com/9EuJFY5S RE: direct play problem with mp4 and certain codecs on android native player - TheDreadPirate - 2024-08-11 This might be an issue with the device profile the jellyfin app produces. I confirmed that OPUS direct plays in webm and MKV, but transcodes when the same audio is in MP4. RE: direct play problem with mp4 and certain codecs on android native player - TheDreadPirate - 2024-08-11 Yes. The profile builder is not including opus as a direct play codec. https://github.com/jellyfin/jellyfin-android/blob/release-2.6.z/app/src/main/java/org/jellyfin/mobile/player/deviceprofile/DeviceProfileBuilder.kt#L251 RE: direct play problem with mp4 and certain codecs on android native player - TheDreadPirate - 2024-08-11 I submitted this PR to add OPUS to the Android apps direct play profile. https://github.com/jellyfin/jellyfin-android/pull/1463 RE: direct play problem with mp4 and certain codecs on android native player - David Müller - 2024-08-11 Thanks! For now I made a custom build and it works just fine (both with AV1 and H264). I just wonder why it direct streamed the video with h264 but fully transcoded with AV1. |