jellyfin / jellyfin-androidtv

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

Impossible to play a movie with English audio track #1206

Closed Diak closed 2 years ago

Diak commented 2 years ago

Hi,

I have problems with many files (an example below) because when i start the playback i see the audio language selected is English but in reality it's French audio track playing and when i try to change it it's still French (when i select again English or when i select French and then I select English). It's impossible for me to play the movie with the Englis audio track finally... The problem occured only with NVidia Shield and Android TV. It works fine with Web UI and any browser.

Media Info of the file

MyFilm-1080p
Conteneur mkv
Chemin/data/Films/MyFilm/MyFilm-1080p.mkv
Taille 11922 MB

Audio
Title Fre - Dolby Digital+ - 6 ch - Default
Langue fre
Codec EAC3
Chaînes 6 ch
Débit 640 kbps
Débit échantillon 48000 Hz
Défaut Yes

Sous-titre
Title Forced - Fre - Par défaut - Forcé
Langue fre
Codec SUBRIP
Défaut Yes
Forcé Yes
Externe No

Sous-titre
Title French
Langue fre
Codec SUBRIP
Défaut No
Forcé No
Externe No

Vidéo
Title 1080p H264 SDR
Codec H264
AVC No
Profil High
Niveau 40
Résolution 1920x1080
Ratio d'aspect original 16:9
Entrelacé No
Images par seconde 23.976025
Débit 14191 kbps
Profondeur en Bit 8 bit
Plage vidéo SDR
Espace couleur bt709
Transfert couleur bt709
Couleurs primaires bt709
Format de pixel yuv420p
Images de référence 1
NAL 0

Audio
Title English - Dolby Digital+ - 6 ch
Langue eng
Codec EAC3
Chaînes 6 ch
Débit 640 kbps
Débit échantillon 48000 Hz
Défaut No

Logs

[2021-10-14 21:57:49.405 +02:00] [INF] [23] Jellyfin.Api.Controllers.MediaInfoController: GetPostedPlaybackInfo profile: DeviceProfile { Name: "AndroidTV-libVLC", Id: null, Identification: null, FriendlyName: null, Manufacturer: null, ManufacturerUrl: null, ModelName: null, ModelDescription: null, ModelNumber: null, ModelUrl: null, SerialNumber: null, EnableAlbumArtInDidl: False, EnableSingleAlbumArtLimit: False, EnableSingleSubtitleLimit: False, SupportedMediaTypes: "Audio,Photo,Video", UserId: null, AlbumArtPn: null, MaxAlbumArtWidth: 0, MaxAlbumArtHeight: 0, MaxIconWidth: null, MaxIconHeight: null, MaxStreamingBitrate: 20000000, MaxStaticBitrate: 100000000, MusicStreamingTranscodingBitrate: 128000, MaxStaticMusicBitrate: null, SonyAggregationFlags: null, ProtocolInfo: null, TimelineOffsetSeconds: 0, RequiresPlainVideoItems: False, RequiresPlainFolders: False, EnableMSMediaReceiverRegistrar: False, IgnoreTranscodeByteRangeRequests: False, XmlRootAttributes: [], DirectPlayProfiles: [DirectPlayProfile { Container: "m4v,3gp,ts,mpegts,mov,xvid,vob,mkv,wmv,asf,ogm,ogv,m2v,avi,mpg,mpeg,mp4,webm,wtv", AudioCodec: "aac,mp3,mp2,ac3,wma,wmav2,dca,dts,pcm,PCM_S16LE,PCM_S24LE,opus,flac,truehd", VideoCodec: null, Type: Video }, DirectPlayProfile { Container: "flac,aac,mp3,mpa,wav,wma,mp2,ogg,oga,webma,ape", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "jpg,jpeg,png,gif,webp", AudioCodec: null, VideoCodec: null, Type: Photo }], TranscodingProfiles: [TranscodingProfile { Container: "mkv", Type: Video, VideoCodec: "h264", AudioCodec: "aac,mp3", Protocol: null, EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: True, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: null, MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "mp3", Type: Audio, VideoCodec: null, AudioCodec: "mp3", Protocol: null, EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: null, MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }], ContainerProfiles: [ContainerProfile { Type: Video, Conditions: [ProfileCondition { Condition: NotEquals, Property: VideoCodecTag, Value: "xvid", IsRequired: False }], Container: "avi" }], CodecProfiles: [CodecProfile { Type: Video, Conditions: [ProfileCondition { Condition: NotEquals, Property: VideoProfile, Value: "none", IsRequired: False }], ApplyConditions: [], Codec: "hevc", Container: null }, CodecProfile { Type: Video, Conditions: [ProfileCondition { Condition: EqualsAny, Property: VideoProfile, Value: "high|main|baseline|constrained baseline", IsRequired: False }, ProfileCondition { Condition: LessThanEqual, Property: VideoLevel, Value: "51", IsRequired: False }], ApplyConditions: [], Codec: "h264", Container: null }, CodecProfile { Type: VideoAudio, Conditions: [ProfileCondition { Condition: LessThanEqual, Property: AudioChannels, Value: "8", IsRequired: False }], ApplyConditions: [], Codec: null, Container: null }], ResponseProfiles: [], SubtitleProfiles: [SubtitleProfile { Format: "srt", Method: External, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "srt", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "subrip", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "ass", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "ssa", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "pgs", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "pgssub", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "dvdsub", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "vtt", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "sub", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "smi", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "idx", Method: Embed, DidlMode: null, Language: null, Container: null }] }
[2021-10-14 21:57:49.407 +02:00] [INF] [23] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "Me". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2021-10-14 21:57:49.407 +02:00] [INF] [23] Jellyfin.Api.Helpers.MediaInfoHelper: Profile: "AndroidTV-libVLC", Path: "/data/Films/MyFilm/MyFilm-1080p.mkv", isEligibleForDirectPlay: True, isEligibleForDirectStream: True
[2021-10-14 21:57:49.407 +02:00] [INF] [23] Jellyfin.Api.Helpers.MediaInfoHelper: Profile: "AndroidTV-libVLC", No video direct play profiles found for "/data/Films/MyFilm/MyFilm-1080p.mkv" with codec "h264"
[2021-10-14 21:57:49.412 +02:00] [INF] [23] Jellyfin.Api.Helpers.MediaInfoHelper: Profile: "AndroidTV-libVLC", Path: "/data/Films/MyFilm/MyFilm-1080p.mkv", isEligibleForDirectPlay: True, isEligibleForDirectStream: True
[2021-10-14 21:57:49.412 +02:00] [INF] [23] Jellyfin.Api.Helpers.MediaInfoHelper: Profile: "AndroidTV-libVLC", No video direct play profiles found for "/data/Films/MyFilm/MyFilm-1080p.mkv" with codec "h264"
[2021-10-14 21:57:49.413 +02:00] [INF] [23] Jellyfin.Api.Helpers.MediaInfoHelper: Profile: "AndroidTV-libVLC", Path: "/data/Films/MyFilm/MyFilm-1080p.mkv", isEligibleForDirectPlay: True, isEligibleForDirectStream: True
[2021-10-14 21:57:49.413 +02:00] [INF] [23] Jellyfin.Api.Helpers.MediaInfoHelper: Profile: "AndroidTV-libVLC", No video direct play profiles found for "/data/Films/MyFilm/MyFilm-1080p.mkv" with codec "h264"
[2021-10-14 21:57:49.504 +02:00] [INF] [23] Jellyfin.Api.Controllers.MediaInfoController: GetPostedPlaybackInfo profile: DeviceProfile { Name: "AndroidTV-ExoPlayer", Id: null, Identification: null, FriendlyName: null, Manufacturer: null, ManufacturerUrl: null, ModelName: null, ModelDescription: null, ModelNumber: null, ModelUrl: null, SerialNumber: null, EnableAlbumArtInDidl: False, EnableSingleAlbumArtLimit: False, EnableSingleSubtitleLimit: False, SupportedMediaTypes: "Audio,Photo,Video", UserId: null, AlbumArtPn: null, MaxAlbumArtWidth: 0, MaxAlbumArtHeight: 0, MaxIconWidth: null, MaxIconHeight: null, MaxStreamingBitrate: 20000000, MaxStaticBitrate: 100000000, MusicStreamingTranscodingBitrate: 128000, MaxStaticMusicBitrate: null, SonyAggregationFlags: null, ProtocolInfo: null, TimelineOffsetSeconds: 0, RequiresPlainVideoItems: False, RequiresPlainFolders: False, EnableMSMediaReceiverRegistrar: False, IgnoreTranscodeByteRangeRequests: False, XmlRootAttributes: [], DirectPlayProfiles: [DirectPlayProfile { Container: "m4v,mov,xvid,vob,mkv,wmv,asf,ogm,ogv,mp4,webm", AudioCodec: "aac,ac3,eac3,aac_latm,mp3,mp2,dca,dts", VideoCodec: "h264,hevc,vp8,vp9,mpeg,mpeg2video", Type: Video }, DirectPlayProfile { Container: "aac,mp3,mpa,flac,wav,wma,mp2,ogg,oga,webma,ape,opus", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "jpg,jpeg,png,gif,webp", AudioCodec: null, VideoCodec: null, Type: Photo }], TranscodingProfiles: [TranscodingProfile { Container: "mkv", Type: Video, VideoCodec: "h264", AudioCodec: "ac3,aac,mp3", Protocol: null, EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: True, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: null, MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "mp3", Type: Audio, VideoCodec: null, AudioCodec: "mp3", Protocol: null, EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: null, MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }], ContainerProfiles: [], CodecProfiles: [CodecProfile { Type: Video, Conditions: [ProfileCondition { Condition: EqualsAny, Property: VideoProfile, Value: "high|main|baseline|constrained baseline", IsRequired: False }, ProfileCondition { Condition: LessThanEqual, Property: VideoLevel, Value: "51", IsRequired: False }], ApplyConditions: [], Codec: "h264", Container: null }, CodecProfile { Type: Video, Conditions: [ProfileCondition { Condition: LessThanEqual, Property: RefFrames, Value: "12", IsRequired: False }], ApplyConditions: [ProfileCondition { Condition: GreaterThanEqual, Property: Width, Value: "1200", IsRequired: False }], Codec: "h264", Container: null }, CodecProfile { Type: Video, Conditions: [ProfileCondition { Condition: LessThanEqual, Property: RefFrames, Value: "4", IsRequired: False }], ApplyConditions: [ProfileCondition { Condition: GreaterThanEqual, Property: Width, Value: "1900", IsRequired: False }], Codec: "h264", Container: null }, CodecProfile { Type: Video, Conditions: [ProfileCondition { Condition: NotEquals, Property: VideoProfile, Value: "none", IsRequired: False }], ApplyConditions: [], Codec: "hevc", Container: null }, CodecProfile { Type: VideoAudio, Conditions: [ProfileCondition { Condition: LessThanEqual, Property: AudioChannels, Value: "6", IsRequired: False }], ApplyConditions: [], Codec: null, Container: null }], ResponseProfiles: [], SubtitleProfiles: [SubtitleProfile { Format: "srt", Method: External, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "srt", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "subrip", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "ass", Method: Encode, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "ssa", Method: Encode, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "pgs", Method: Encode, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "pgssub", Method: Encode, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "dvdsub", Method: Encode, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "vtt", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "sub", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "idx", Method: Embed, DidlMode: null, Language: null, Container: null }] }
[2021-10-14 21:57:49.506 +02:00] [INF] [23] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "Me". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2021-10-14 21:57:49.506 +02:00] [INF] [23] Jellyfin.Api.Helpers.MediaInfoHelper: Profile: "AndroidTV-ExoPlayer", Path: "/data/Films/MyFilm/MyFilm-1080p.mkv", isEligibleForDirectPlay: True, isEligibleForDirectStream: True
[2021-10-14 21:57:49.506 +02:00] [INF] [23] Jellyfin.Api.Helpers.MediaInfoHelper: Profile: "AndroidTV-ExoPlayer", Path: "/data/Films/MyFilm/MyFilm-1080p.mkv", isEligibleForDirectPlay: True, isEligibleForDirectStream: True
[2021-10-14 21:57:49.506 +02:00] [INF] [23] Jellyfin.Api.Helpers.MediaInfoHelper: Profile: "AndroidTV-ExoPlayer", Path: "/data/Films/MyFilm/MyFilm-1080p.mkv", isEligibleForDirectPlay: True, isEligibleForDirectStream: True
[2021-10-14 21:57:50.209 +02:00] [WRN] [23] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://myjellyfin.com/Sessions/Playing" to "XX.XX.XX.XX" in 0:00:00.6391835 with Status Code 204

FFmpeg Logs

/videos/58faa70c-bb0e-fc67-7b0b-134950b2caf3/stream.mkv

{"Protocol":0,"Id":"58faa70cbb0efc677b0b134950b2caf3","Path":"/data/Films/MyFilm/MyFilm-1080p.mkv","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mkv,webm","Size":12501157888,"Name":"MyFilm-1080p","IsRemote":false,"ETag":"7770c2c7508f44afe793c6499e6244cb","RunTimeTicks":70471041024,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"OpenToken":null,"RequiresClosing":false,"LiveStreamId":null,"BufferMs":null,"RequiresLooping":false,"SupportsProbing":true,"VideoType":0,"IsoType":null,"Video3DFormat":null,"MediaStreams":[{"Codec":"eac3","CodecTag":null,"Language":"fre","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":"1/48000","Title":null,"VideoRange":null,"localizedUndefined":null,"localizedDefault":null,"localizedForced":null,"DisplayTitle":"Fre - Dolby Digital\u002B - 6 ch - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":640000,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":true,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":0,"AspectRatio":null,"Index":0,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"subrip","CodecTag":null,"Language":"fre","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":"0/1","Title":"Forced","VideoRange":null,"localizedUndefined":"Non d\u00E9fini","localizedDefault":"Par d\u00E9faut","localizedForced":"Forc\u00E9","DisplayTitle":"Forced - Fre - Par d\u00E9faut - Forc\u00E9","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":true,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":1,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"subrip","CodecTag":null,"Language":"fre","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":"0/1","Title":"French","VideoRange":null,"localizedUndefined":"Non d\u00E9fini","localizedDefault":"Par d\u00E9faut","localizedForced":"Forc\u00E9","DisplayTitle":"French","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":2,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"h264","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":"bt709","ColorTransfer":"bt709","ColorPrimaries":"bt709","Comment":null,"TimeBase":"1/1000","CodecTimeBase":"1001/48000","Title":null,"VideoRange":"SDR","localizedUndefined":null,"localizedDefault":null,"localizedForced":null,"DisplayTitle":"1080p H264 SDR","NalLengthSize":"0","IsInterlaced":false,"IsAVC":false,"ChannelLayout":null,"BitRate":14191540,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"Height":1080,"Width":1920,"AverageFrameRate":23.976025,"RealFrameRate":23.976025,"Profile":"High","Type":1,"AspectRatio":"16:9","Index":3,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p","Level":40,"IsAnamorphic":null},{"Codec":"eac3","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":"1/48000","Title":null,"VideoRange":null,"localizedUndefined":null,"localizedDefault":null,"localizedForced":null,"DisplayTitle":"English - Dolby Digital\u002B - 6 ch","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":640000,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":6,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":0,"AspectRatio":null,"Index":4,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null}],"MediaAttachments":[],"Formats":[],"Bitrate":15471540,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":null,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}

/usr/lib/jellyfin-ffmpeg/ffmpeg -ss 00:03:29.887 -f matroska,webm -i file:"/data/Films/MyFilm/MyFilm-1080p.mkv" -map 0:3 -map 0:0 -map 0:1 -codec:v:0 libx264 -force_key_frames "expr:gte(t,n_forced*5)" -vf "scale=trunc(min(max(iw\,ih*dar)\,min(1920\,1080*dar))/2)*2:trunc(min(max(iw/dar\,ih)\,min(1920/dar\,1080))/2)*2" -copyts -avoid_negative_ts disabled -start_at_zero -pix_fmt yuv420p -preset superfast -crf 23 -maxrate 14191540 -bufsize 28383080 -profile:v:0 high -level 41 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -vsync -1 -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 ac3 -ac 6 -ab 640000 -codec:s:0 copy -disposition:s:0 default -y "/config/data/transcodes/df7ff31d835ab3e7e14aa2e1aab014ec.mkv"

ffmpeg version 4.3.1-Jellyfin Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.3.0-17ubuntu1~20.04)
  configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-shared --disable-libxcb --disable-sdl2 --disable-xlib --enable-gpl --enable-version3 --enable-static --enable-libfontconfig --enable-fontconfig --enable-gmp --enable-gnutls --enable-libass --enable-libbluray --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --arch=amd64 --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-vdpau --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvenc --enable-nvdec --enable-ffnvcodec
  libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
Guessed Channel Layout for Input Stream #0.0 : 5.1
Guessed Channel Layout for Input Stream #0.4 : 5.1
Input #0, matroska,webm, from 'file:/data/Films/MyFilm/MyFilm-1080p.mkv':
  Metadata:
    encoder         : libebml v1.4.2 + libmatroska v1.6.4
    creation_time   : 2021-10-07T14:00:50.000000Z
  Duration: 01:57:27.10, start: 0.000000, bitrate: 14191 kb/s
    Stream #0:0(fre): Audio: eac3, 48000 Hz, 5.1, fltp (default) (forced)
    Metadata:
      BPS             : 640000
      DURATION        : 01:57:27.104000000
      NUMBER_OF_FRAMES: 220222
      NUMBER_OF_BYTES : 563768320
      _STATISTICS_WRITING_APP: mkvmerge v61.0.0 ('So') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-07 14:00:50
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:1(fre): Subtitle: subrip (default) (forced)
    Metadata:
      title           : Forced
      BPS             : 3
      DURATION        : 01:53:28.016000000
      NUMBER_OF_FRAMES: 85
      NUMBER_OF_BYTES : 2672
      _STATISTICS_WRITING_APP: mkvmerge v61.0.0 ('So') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-07 14:00:50
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:2(fre): Subtitle: subrip
    Metadata:
      title           : French
      BPS             : 47
      DURATION        : 01:54:54.436000000
      NUMBER_OF_FRAMES: 1149
      NUMBER_OF_BYTES : 41174
      _STATISTICS_WRITING_APP: mkvmerge v61.0.0 ('So') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-07 14:00:50
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:3(eng): Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Metadata:
      BPS             : 12909236
      DURATION        : 01:57:27.040000000
      NUMBER_OF_FRAMES: 168960
      NUMBER_OF_BYTES : 11371488431
      _STATISTICS_WRITING_APP: mkvmerge v61.0.0 ('So') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-07 14:00:50
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:4(eng): Audio: eac3, 48000 Hz, 5.1, fltp
    Metadata:
      BPS             : 640000
      DURATION        : 01:57:27.072000000
      NUMBER_OF_FRAMES: 220221
      NUMBER_OF_BYTES : 563765760
      _STATISTICS_WRITING_APP: mkvmerge v61.0.0 ('So') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-07 14:00:50
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream mapping:
  Stream #0:3 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:0 -> #0:1 (eac3 (native) -> ac3 (native))
  Stream #0:1 -> #0:2 (copy)
Press [q] to stop, [?] for help
[libx264 @ 0x5584fa277540] using SAR=1/1
[libx264 @ 0x5584fa277540] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x5584fa277540] profile Main, level 4.1
[libx264 @ 0x5584fa277540] 264 - core 155 r2917 0a84d98 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x1:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=4 chroma_me=0 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=0 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=14191 vbv_bufsize=28383 crf_max=0.0 nal_hrd=none filler=0 ip_ratio=1.40 pb_ratio=1.30 aq=1:1.00
Output #0, matroska, to '/config/data/transcodes/df7ff31d835ab3e7e14aa2e1aab014ec.mkv':
  Metadata:
    encoder         : Lavf58.45.100
    Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 23.98 fps, 1k tbn, 23.98 tbc (default)
    Metadata:
      encoder         : Lavc58.91.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 14191000/0/0 buffer size: 28383000 vbv_delay: N/A
    Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1, fltp, 640 kb/s (default) (forced)
    Metadata:
      encoder         : Lavc58.91.100 ac3
    Stream #0:2: Subtitle: subrip (default)
frame=    0 fps=0.0 q=0.0 size=       1kB time=00:00:00.00 bitrate=N/A speed=   0x    
frame=    0 fps=0.0 q=0.0 size=       1kB time=00:00:00.00 bitrate=N/A speed=   0x    
frame=   22 fps= 15 q=26.0 size=       1kB time=00:03:31.19 bitrate=   0.0kbits/s speed= 139x    
frame=   50 fps= 24 q=25.0 size=       1kB time=00:03:32.18 bitrate=   0.0kbits/s speed= 104x    
frame=   71 fps= 28 q=26.0 size=       1kB time=00:03:33.11 bitrate=   0.0kbits/s speed=83.5x    
frame=   86 fps= 28 q=25.0 size=       1kB time=00:03:33.72 bitrate=   0.0kbits/s speed=  70x    
frame=  110 fps= 31 q=25.0 size=       1kB time=00:03:34.68 bitrate=   0.0kbits/s speed=60.3x    
frame=  135 fps= 33 q=26.0 size=       1kB time=00:03:35.89 bitrate=   0.0kbits/s speed=  53x    
frame=  164 fps= 36 q=26.0 size=       1kB time=00:03:37.11 bitrate=   0.0kbits/s speed=47.4x    
frame=  192 fps= 38 q=26.0 size=       1kB time=00:03:38.20 bitrate=   0.0kbits/s speed=42.7x    
frame=  217 fps= 39 q=23.0 size=       1kB time=00:03:39.45 bitrate=   0.0kbits/s speed=39.1x    
frame=  245 fps= 40 q=24.0 size=       1kB time=00:03:40.53 bitrate=   0.0kbits/s speed=  36x    
frame=  265 fps= 40 q=24.0 size=       1kB time=00:03:41.30 bitrate=   0.0kbits/s speed=33.3x    
frame=  295 fps= 41 q=26.0 size=       1kB time=00:03:42.71 bitrate=   0.0kbits/s speed=31.1x    
frame=  319 fps= 42 q=26.0 size=    5120kB time=00:03:43.67 bitrate= 187.5kbits/s speed=29.2x    
frame=  345 fps= 42 q=24.0 size=    5120kB time=00:03:44.53 bitrate= 186.8kbits/s speed=27.4x    
frame=  372 fps= 43 q=26.0 size=    7680kB time=00:03:45.62 bitrate= 278.8kbits/s speed=  26x    
frame=  397 fps= 43 q=24.0 size=    7680kB time=00:03:47.09 bitrate= 277.0kbits/s speed=24.7x    
frame=  424 fps= 44 q=26.0 size=    7680kB time=00:03:48.09 bitrate= 275.8kbits/s speed=23.5x    
frame=  451 fps= 44 q=26.0 size=   12800kB time=00:03:49.08 bitrate= 457.7kbits/s speed=22.5x    
frame=  477 fps= 44 q=24.0 size=   14848kB time=00:03:50.26 bitrate= 528.2kbits/s speed=21.5x    
frame=  503 fps= 45 q=26.0 size=   14848kB time=00:03:51.25 bitrate= 526.0kbits/s speed=20.6x    
frame=  530 fps= 45 q=25.0 size=   14848kB time=00:03:52.28 bitrate= 523.7kbits/s speed=19.8x    
frame=  559 fps= 45 q=26.0 size=   19968kB time=00:03:53.75 bitrate= 699.8kbits/s speed=  19x    
frame=  589 fps= 46 q=24.0 size=   19968kB time=00:03:54.74 bitrate= 696.8kbits/s speed=18.3x    
frame=  613 fps= 46 q=24.0 size=   22528kB time=00:03:55.86 bitrate= 782.4kbits/s speed=17.7x    
frame=  636 fps= 45 q=-1.0 Lsize=   40551kB time=00:03:57.01 bitrate=1401.5kbits/s speed=16.9x    
video:38419kB audio:2120kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.029515%
[libx264 @ 0x5584fa277540] frame I:6     Avg QP:19.15  size:181469
[libx264 @ 0x5584fa277540] frame P:159   Avg QP:21.65  size: 97867
[libx264 @ 0x5584fa277540] frame B:471   Avg QP:23.54  size: 48175
[libx264 @ 0x5584fa277540] consecutive B-frames:  0.9%  0.0%  2.8% 96.2%
[libx264 @ 0x5584fa277540] mb I  I16..4: 29.5%  0.0% 70.5%
[libx264 @ 0x5584fa277540] mb P  I16..4: 23.8%  0.0%  0.0%  P16..4: 65.1%  0.0%  0.0%  0.0%  0.0%    skip:11.2%
[libx264 @ 0x5584fa277540] mb B  I16..4:  6.5%  0.0%  0.0%  B16..8: 32.6%  0.0%  0.0%  direct:29.5%  skip:31.3%  L0:32.1% L1:38.9% BI:29.0%
[libx264 @ 0x5584fa277540] coded y,uvDC,uvAC intra: 79.2% 85.4% 56.2% inter: 36.4% 34.8% 5.4%
[libx264 @ 0x5584fa277540] i16 v,h,dc,p: 18% 14% 47% 20%
[libx264 @ 0x5584fa277540] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 18% 15%  9%  7%  7%  6%  7%  7%
[libx264 @ 0x5584fa277540] i8c dc,h,v,p: 43% 21% 22% 13%
[libx264 @ 0x5584fa277540] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x5584fa277540] kb/s:11864.33

Stats for Nerds Screenshots N/A

Server System (please complete the following information):

Client System (please complete the following information):

Diak commented 2 years ago

Any news about my problem ?

Diak commented 2 years ago

I've finally created a bug issue : https://github.com/jellyfin/jellyfin-androidtv/issues/1249 I let thos one opened just in case but if you want to close it you can since i don't think this one will be treated.

Diak commented 2 years ago

Any news ? At least to tell me if you reproduce the issue and if you plan to fix it ?

Diak commented 2 years ago

I tried at my friend's installation connected to my server so with the same server version et same client version. And they don't have the issue with a movie i have a problem at my place. So it may be not a bug but a problem with installation. When i'll come back home i'll try to delete cache and even to uninstall and reinstall it to see if the problem persists.

Diak commented 2 years ago

No change at my place so the issue persists and is still very annoying...

Diak commented 2 years ago

And this week-end I came back to my friends' place and they have exactly the same issue than me with this configuration of video. So it's definitely a problem with the player since it works greats with Kodi.

Diak commented 2 years ago

Ok i've found i think when the problem occures : it's when i select "Direct" in "audio output" parameter. When i select "Compatible" i can change audio track but i don't have Dolby Surround detecte by my AV. I hope that now the problem is more accurate you'll be able to take action.

jellyfin-bot commented 2 years ago

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.

If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.

This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.

Diak commented 2 years ago

This problem has never been solved but i bypass this issue by using VLC instead of included player.