• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting SOLVED: TVHeadend: jellyfin-ffmpeg exits with 253

     
    • 0 Vote(s) - 0 Average

    SOLVED: TVHeadend: jellyfin-ffmpeg exits with 253

    IngwiePhoenix
    Offline

    Junior Member

    Posts: 8
    Threads: 2
    Joined: 2023 Jul
    Reputation: 0
    #1
    2024-11-07, 10:43 AM
    Hello there!

    I successfuly installed Jellyfin on my Radxa Rock 5 ITX (RK3558Nerd-face and I use a small FriendlyElec Nano node to serve as a TVHeadend server with a DVB-S stick plugged in; it only has Ethernet, USB and Power, so it's perfect.

    However, when i try to open a TV stream in Jellyfin, it is reported that ffmpeg exited with code 253. So, I grabbed the exact command from the logs and ran it myself to see what the output looked like.

    On my instance, I do have some hardware accelerations enabled, so I bet this has something to do with it. But, my ffmpeg-fu is quite terrible.

    Here is the log:

    Code:
    root@0ce6505ce3a2:/# /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 3000000 -probesize 1G  -i "http://192.168.1.8:9981/stream/channelid/694893686?ticket=8bf29d848c58cfe3f83b3cdc79e688c67abe6f79" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 libsvtav1 -preset 10 -b:v 143626438 -bufsize 287252876 -profile:v:0 main -level 53 -svtav1-params:0 rc=1:tune=0:film-grain=0:enable-overlays=1:enable-tf=0 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,yadif=0:-1:0,format=yuv420p" -codec:a:0 libfdk_aac -ab 384000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename "7240ebd99b28f2ec8c2145ae92f8034c-1.mp4" -start_number 0 -hls_base_url "hls/7240ebd99b28f2ec8c2145ae92f8034c/" -hls_segment_filename "/cache/transcodes/7240ebd99b28f2ec8c2145ae92f8034c%d.mp4" -hls_playlist_type event -hls_list_size 0 -y "/cache/transcodes/7240ebd99b28f2ec8c2145ae92f8034c.m3u8"
    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=arm64 --cross-prefix=/usr/bin/aarch64-linux-gnu- --toolchain=hardened --enable-cross-compile --enable-rkmpp --enable-rkrga
      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
    [mpeg2video @ 0xaaaade02c410] Invalid frame dimensions 0x0.
    [mp3float @ 0xaaaade029060] Header missing
    [mpeg2video @ 0xaaaade02c410] Invalid frame dimensions 0x0.
        Last message repeated 4 times
    [mpegts @ 0xaaaade0206b0] Could not find codec parameters for stream 4 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
    Consider increasing the value for the 'analyzeduration' (3000000) and 'probesize' (1000000000) options
    Input #0, mpegts, from 'http://192.168.1.8:9981/stream/channelid/694893686?ticket=8bf29d848c58cfe3f83b3cdc79e688c67abe6f79':
      Duration: N/A, start: 93936.023967, bitrate: N/A
      Program 1
        Metadata:
          service_name    : RTL Television
          service_provider: RTL Deutschland
      Stream #0:1[0x68](deu): Audio: mp2 (mp3float) ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 192 kb/s
      Stream #0:2[0x69](deu): Subtitle: dvb_teletext (libzvbi_teletextdec) ([6][0][0][0] / 0x0006), 492x250
      Stream #0:3[0x6a](deu): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 384 kb/s
      Stream #0:4[0x6c]: Unknown: none ([5][0][0][0] / 0x0005)
      Stream #0:5[0x6e](deu): Subtitle: dvb_subtitle (dvbsub) ([6][0][0][0] / 0x0006) (hearing impaired)
      Stream #0:6[0xa3]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, bt470bg, top first), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn
          Side data:
            cpb: bitrate max/min/avg: 15000000/0/0 buffer size: 1835008 vbv_delay: N/A
      No Program
      Stream #0:0[0x12]: Data: epg
    Stream mapping:
      Stream #0:6 -> #0:0 (mpeg2video (native) -> av1 (libsvtav1))
      Stream #0:1 -> #0:1 (mp2 (native) -> aac (libfdk_aac))
    Press [q] to stop, [?] for help
    [mp2 @ 0xaaaade067720] Header missing
    [aist#0:1/mp2 @ 0xaaaade031350] [dec:mp2 @ 0xaaaade02fc90] Error submitting packet to decoder: Invalid data found when processing input
    Svt[info]: -------------------------------------------
    Svt[info]: SVT [version]:      SVT-AV1 Encoder Lib v2.2.1
    Svt[info]: SVT [build]  :      GCC 12.2.0      64 bit
    Svt[info]: LIB Build date: Oct 25 2024 18:12:00
    Svt[info]: -------------------------------------------
    Svt[error]: Instance 1: The target bit rate must be between [0, 100000] kbps
    [libsvtav1 @ 0xaaaade02c410] Error setting encoder parameters: bad parameter (0x80001005)
    [vost#0:0/libsvtav1 @ 0xaaaade041f70] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
    [vf#0:0 @ 0xaaaade020120] Error sending frames to consumers: Invalid argument
    [vf#0:0 @ 0xaaaade020120] Task finished with error code: -22 (Invalid argument)
    [vf#0:0 @ 0xaaaade020120] Terminating thread with return code -22 (Invalid argument)
    [vost#0:0/libsvtav1 @ 0xaaaade041f70] Could not open encoder before EOF
    [vost#0:0/libsvtav1 @ 0xaaaade041f70] Task finished with error code: -22 (Invalid argument)
    [vost#0:0/libsvtav1 @ 0xaaaade041f70] Terminating thread with return code -22 (Invalid argument)
    [out#0/hls @ 0xaaaade02ebf0] Nothing was written into output file, because at least one of its streams received no packets.
    frame=    0 fps=0.0 q=0.0 Lsize=      0KiB time=N/A bitrate=N/A speed=N/A
    Conversion failed!

    Do you spot anything obvious here? In my configuration, I enabled these transcoding formats enabled: H264, HEVC, AV1, HEVC 10bit.

    Thank you and kind regards,
    Ingwie
    Go to solution
    « Next Oldest | Next Newest »

    Users browsing this thread: 2 Guest(s)


    Messages In This Thread
    TVHeadend: jellyfin-ffmpeg exits with 253 - by IngwiePhoenix - 2024-11-07, 10:43 AM
    RE: TVHeadend: jellyfin-ffmpeg exits with 253 - by TheDreadPirate - 2024-11-07, 01:29 PM
    RE: TVHeadend: jellyfin-ffmpeg exits with 253 - by IngwiePhoenix - 2024-11-07, 05:15 PM
    RE: TVHeadend: jellyfin-ffmpeg exits with 253 - by TheDreadPirate - 2024-11-07, 05:21 PM
    RE: TVHeadend: jellyfin-ffmpeg exits with 253 - by IngwiePhoenix - 2024-11-07, 05:37 PM
    RE: TVHeadend: jellyfin-ffmpeg exits with 253 - by TheDreadPirate - 2024-11-07, 05:53 PM
    RE: TVHeadend: jellyfin-ffmpeg exits with 253 - by IngwiePhoenix - 2024-11-07, 06:09 PM
    RE: TVHeadend: jellyfin-ffmpeg exits with 253 - by TheDreadPirate - 2024-11-07, 06:14 PM
    RE: TVHeadend: jellyfin-ffmpeg exits with 253 - by IngwiePhoenix - 2024-11-07, 06:26 PM
    RE: TVHeadend: jellyfin-ffmpeg exits with 253 - by TheDreadPirate - 2024-11-07, 06:33 PM
    RE: TVHeadend: jellyfin-ffmpeg exits with 253 - by IngwiePhoenix - 2024-11-07, 06:51 PM
    RE: TVHeadend: jellyfin-ffmpeg exits with 253 - by TheDreadPirate - 2024-11-07, 07:10 PM
    RE: TVHeadend: jellyfin-ffmpeg exits with 253 - by IngwiePhoenix - 2024-11-07, 07:24 PM
    RE: TVHeadend: jellyfin-ffmpeg exits with 253 - by TheDreadPirate - 2024-11-07, 08:16 PM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode