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

0.18.4 firetv #4434

Open
3 tasks done
andymarden opened this issue Feb 2, 2025 · 6 comments
Open
3 tasks done

0.18.4 firetv #4434

andymarden opened this issue Feb 2, 2025 · 6 comments
Labels
bug Something isn't working playback Issue related to media playback

Comments

@andymarden
Copy link

This issue respects the following points:

  • This issue is not already reported on GitHub (I've searched it).
  • I agree to follow Jellyfin's Code of Conduct.
  • This report addresses only a single issue; If you encounter multiple issues, kindly create separate reports for each one.

Describe the bug

Every video does not play back and drops out. Starting happening yesterday. It seems impossible to tell when 0.18.4 would have been installed or available in the app store.b they helpfully tell you when the first version was released. Valuable.

What send to be happening is that the client is causing the server ffmpeg process to instant l immediately terminate. If I select vlc as the external player is fine. Discovered after hours trying to work out what was wrong with the server.

There server gets a stop command same second as ffmpeg starts.

Media info of the file

All of them

Client logs

I will come back and add these

FFmpeg logs

Same

Application version

0.18.4

Where did you install the app from?

Amazon Appstore

Device information

Fire TV Max

Android version

Fire OS 7.6.8.8

Jellyfin server version

10.10.3 -5

Other sources

No response

@andymarden andymarden added bug Something isn't working playback Issue related to media playback labels Feb 2, 2025
@The-Randalorian
Copy link
Contributor

0.18.4 is working on my Fire TV sticks. Can you please include the media info from one of the files? From my experience with fire TV sticks, they can be a bit picky about what they will play back.

@andymarden
Copy link
Author

Here is an ffmpeg log from the server. It seems to be requesting a .txt file as audio - which of course won't work. It could be related to subtitles I guess (although these are not enabled). The Vimu external player seems to work around this).

root@ubuntu-prod:/mnt/docker/jellyfin/config/log# cat FFmpeg.DirectStream-2025-02-03_06-13-14__dbd1e4a3.log
{"Protocol":0,"Id":"a29093a4472c83c377744a0327b7bb2e","Path":"/media/video/tv/Homeland/Homeland (2011) - S07E03 - Standoff (1080p BluRay x265 Silence).mkv","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mkv","Size":1551302151,"Name":"Homeland (2011) - S07E03 - Standoff (1080p BluRay x265 Silence)","IsRemote":false,"ETag":"88d3f326afac635168adca079a784d25","RunTimeTicks":30280940000,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"UseMostCompatibleTranscodingProfile":false,"RequiresOpening":false,"OpenToken":null,"RequiresClosing":false,"LiveStreamId":null,"BufferMs":null,"RequiresLooping":false,"SupportsProbing":true,"VideoType":0,"IsoType":null,"Video3DFormat":null,"MediaStreams":[{"Codec":"hevc","CodecTag":null,"Language":null,"ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Rotation":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":1,"VideoRangeType":1,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"LocalizedHearingImpaired":null,"DisplayTitle":"1080p HEVC SDR","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":null,"BitRate":4098425,"BitDepth":10,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":1080,"Width":1920,"AverageFrameRate":23.976025,"RealFrameRate":23.976025,"ReferenceFrameRate":23.976025,"Profile":"Main 10","Type":1,"AspectRatio":"16:9","Index":0,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p10le","Level":120,"IsAnamorphic":false},{"Codec":"aac","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Rotation":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":"Default","LocalizedForced":null,"LocalizedExternal":"External","LocalizedHearingImpaired":null,"DisplayTitle":"Eng - AAC - 5.1 - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":"5.1","BitRate":402010,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"ReferenceFrameRate":null,"Profile":"LC","Type":0,"AspectRatio":null,"Index":1,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"PGSSUB","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Rotation":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","LocalizedHearingImpaired":"Hearing Impaired","DisplayTitle":"Eng - PGSSUB","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"IsHearingImpaired":false,"Height":1080,"Width":1920,"AverageFrameRate":null,"RealFrameRate":null,"ReferenceFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":2,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":true,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"PGSSUB","CodecTag":null,"Language":"dan","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Rotation":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","LocalizedHearingImpaired":"Hearing Impaired","DisplayTitle":"Dan - PGSSUB","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"IsHearingImpaired":false,"Height":1080,"Width":1920,"AverageFrameRate":null,"RealFrameRate":null,"ReferenceFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":3,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":true,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null}],"MediaAttachments":[],"Formats":[],"Bitrate":4500435,"FallbackMaxStreamingBitrate":null,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":0,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null,"HasSegments":false}

/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -fflags +genpts  -i file:"/media/video/tv/Homeland/Homeland (2011) - S07E03 - Standoff (1080p BluRay x265 Silence).mkv" -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 txt -ac 6 -ab 768000 -y "/transcodes/4cd798d628b85f40ee816f92f1e21ea7.txt"


ffmpeg version 7.0.2-Jellyfin Copyright (c) 2000-2024 the FFmpeg developers
  built with gcc 12 (Debian 12.2.0-14)
  configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto=auto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libxml2 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libharfbuzz --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  libavutil      59.  8.100 / 59.  8.100
  libavcodec     61.  3.100 / 61.  3.100
  libavformat    61.  1.100 / 61.  1.100
  libavdevice    61.  1.100 / 61.  1.100
  libavfilter    10.  1.100 / 10.  1.100
  libswscale      8.  1.100 /  8.  1.100
  libswresample   5.  1.100 /  5.  1.100
  libpostproc    58.  1.100 / 58.  1.100
Input #0, matroska,webm, from 'file:/media/video/tv/Homeland/Homeland (2011) - S07E03 - Standoff (1080p BluRay x265 Silence).mkv':
  Metadata:
    title           : Homeland - S07E03 - Standoff
    encoder         : libebml v1.3.5 + libmatroska v1.4.8
    creation_time   : 2018-09-28T21:09:48.000000Z
    Writing frontend: StaxRip v1.7.0.6
  Duration: 00:50:28.09, start: 0.000000, bitrate: 4098 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 171.546000
      Metadata:
        title           : Chapter 1
    Chapter #0:1: start 171.546000, end 364.447000
      Metadata:
        title           : Chapter 2
    Chapter #0:2: start 364.447000, end 633.967000
      Metadata:
        title           : Chapter 3
    Chapter #0:3: start 633.967000, end 784.450000
      Metadata:
        title           : Chapter 4
    Chapter #0:4: start 784.450000, end 1078.619000
      Metadata:
        title           : Chapter 5
    Chapter #0:5: start 1078.619000, end 1372.496000
      Metadata:
        title           : Chapter 6
    Chapter #0:6: start 1372.496000, end 1621.495000
      Metadata:
        title           : Chapter 7
    Chapter #0:7: start 1621.495000, end 1914.412000
      Metadata:
        title           : Chapter 8
    Chapter #0:8: start 1914.412000, end 2048.129000
      Metadata:
        title           : Chapter 9
    Chapter #0:9: start 2048.129000, end 2445.068000
      Metadata:
        title           : Chapter 10
    Chapter #0:10: start 2445.068000, end 2650.398000
      Metadata:
        title           : Chapter 11
    Chapter #0:11: start 2650.398000, end 3028.094000
      Metadata:
        title           : Chapter 12
  Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv), 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn (default)
      Metadata:
        BPS             : 3651555
        BPS-eng         : 3651555
        DURATION        : 00:50:28.067000000
        DURATION-eng    : 00:50:28.067000000
        NUMBER_OF_FRAMES: 72601
        NUMBER_OF_FRAMES-eng: 72601
        NUMBER_OF_BYTES : 1382144307
        NUMBER_OF_BYTES-eng: 1382144307
        _STATISTICS_WRITING_APP: mkvmerge v20.0.0 ('I Am The Sun') 64-bit
        _STATISTICS_WRITING_APP-eng: mkvmerge v20.0.0 ('I Am The Sun') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2018-09-28 21:09:48
        _STATISTICS_WRITING_DATE_UTC-eng: 2018-09-28 21:09:48
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
        _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:1(eng): Audio: aac (LC), 48000 Hz, 5.1, fltp (default)
      Metadata:
        BPS             : 402010
        BPS-eng         : 402010
        DURATION        : 00:50:28.074000000
        DURATION-eng    : 00:50:28.074000000
        NUMBER_OF_FRAMES: 141941
        NUMBER_OF_FRAMES-eng: 141941
        NUMBER_OF_BYTES : 152164684
        NUMBER_OF_BYTES-eng: 152164684
        _STATISTICS_WRITING_APP: mkvmerge v20.0.0 ('I Am The Sun') 64-bit
        _STATISTICS_WRITING_APP-eng: mkvmerge v20.0.0 ('I Am The Sun') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2018-09-28 21:09:48
        _STATISTICS_WRITING_DATE_UTC-eng: 2018-09-28 21:09:48
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
        _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:2(eng): Subtitle: hdmv_pgs_subtitle (pgssub), 1920x1080
      Metadata:
        BPS             : 53973
        BPS-eng         : 53973
        DURATION        : 00:50:05.794000000
        DURATION-eng    : 00:50:05.794000000
        NUMBER_OF_FRAMES: 1800
        NUMBER_OF_FRAMES-eng: 1800
        NUMBER_OF_BYTES : 20279019
        NUMBER_OF_BYTES-eng: 20279019
        _STATISTICS_WRITING_APP: mkvmerge v20.0.0 ('I Am The Sun') 64-bit
        _STATISTICS_WRITING_APP-eng: mkvmerge v20.0.0 ('I Am The Sun') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2018-09-28 21:09:48
        _STATISTICS_WRITING_DATE_UTC-eng: 2018-09-28 21:09:48
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
        _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:3(dan): Subtitle: hdmv_pgs_subtitle (pgssub), 1920x1080
      Metadata:
        BPS             : 43903
        BPS-eng         : 43903
        DURATION        : 00:50:23.770000000
        DURATION-eng    : 00:50:23.770000000
        NUMBER_OF_FRAMES: 1450
        NUMBER_OF_FRAMES-eng: 1450
        NUMBER_OF_BYTES : 16594111
        NUMBER_OF_BYTES-eng: 16594111
        _STATISTICS_WRITING_APP: mkvmerge v20.0.0 ('I Am The Sun') 64-bit
        _STATISTICS_WRITING_APP-eng: mkvmerge v20.0.0 ('I Am The Sun') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2018-09-28 21:09:48
        _STATISTICS_WRITING_DATE_UTC-eng: 2018-09-28 21:09:48
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
        _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[AVFormatContext @ 0x556fde85dcc0] Unable to choose an output format for '/transcodes/4cd798d628b85f40ee816f92f1e21ea7.txt'; use a standard extension for the filename or specify the format manually.
[out#0 @ 0x556fde863d00] Error initializing the muxer for /transcodes/4cd798d628b85f40ee816f92f1e21ea7.txt: Invalid argument
Error opening output file /transcodes/4cd798d628b85f40ee816f92f1e21ea7.txt.
Error opening output files: Invalid argument

@andymarden
Copy link
Author

andymarden commented Feb 3, 2025

Yeah it's the command:

/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -fflags +genpts  -i file:"/media/video/tv/Homeland/Homeland (2011) - S07E03 - Standoff (1080p BluRay x265 Silence).mkv" -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 txt -ac 6 -ab 768000 -y "/transcodes/4cd798d628b85f40ee816f92f1e21ea7.txt"

It could be that there is an error in the media file that other players workaround (ignore the etream if it is an unrecognised type?) or that it is passing subtitle streams to ffmpeg mistakenly. Either way should be simple to address I would think.

Also - be nice if the player reported the issue on the screen - at the moment it just stalls with a black screen.

@firearc18
Copy link

I've experienced the same problem on my 3rd gen firestick. It won't play anything when selected (including mp3 files) and one library shows as completely empty. It happened with the 18.4 update, and i had no previous issues. It works fine on my other devices.

@The-Randalorian
Copy link
Contributor

Which "Fire TV Max" do you have? I assume you mean a "Fire TV Stick 4k Max", but there is a 1st and 2nd gen of that. If it's the first gen it might be fixed in newer devices (hence why I can't replicate it.)

@channeladam
Copy link

Might be related: #4258
My Firestick 4K Max was working perfectly with Jellyfin until late November 2024 when there was a Jellyfin update around then. It wasn't previously a 'picky' device until Jellyfin changed.

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

4 participants