• 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 ffmpeg error 137 on transcoding startup

     
    • 0 Vote(s) - 0 Average

    ffmpeg error 137 on transcoding startup

    KuzonFire
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2025 Nov
    Reputation: 0
    #1
    2025-11-03, 01:38 AM (This post was last modified: 2025-11-03, 01:46 AM by KuzonFire. Edited 2 times in total.)
    New user here, I'm setting up Jellyfin on a RK3588 chip and am having issues enabling video transcoding. Included is my docker compose and docker logs. 



    services:
      jellyfin_1:
        image: jellyfin/jellyfin
        container_name: jellyfin_1
        network_mode: host
        ports:
          - 8096:8096/tcp
          - 7359:7359/udp
        volumes:
          - /srv/[DISK]/data/jellyfin/library:/config
          - /srv/[DISK]/data/jellyfin/cache:/cache
          - type: bind
            source: /srv/{DISK]/data/media
            target: /data/media
        restart: 'unless-stopped'
        security_opt:
          - apparmor:unconfined
          - seccomp:unconfined
        devices:
          - /dev/mpp_service:/dev/mpp_service
          - /dev/rga:/dev/rga
          - /dev/mali0:/dev/mali0
          - /dev/rkvtunnel:/dev/rkvtunnel
          - /dev/dma_heap:/dev/dma_heap


    MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -f matroska -init_hw_device rkmpp=rk -hwaccel rkmpp -hwaccel_output_format drm_prime -noautorotate -afbc rga -i file:"/data/media/movies/Dr. Strangelove or - How I Learned to Stop Worrying and Love the Bomb (1964)/Dr.Strangelove.Or.How.I.Learned.to.Stop.Worrying.and.Love.the.Bomb.1964.2160p.BluRay.REMUX.HEVC.DTS-HD.MA.5.1-FGT.mkv" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_rkmpp -b:v 58893603 -maxrate 58893603 -bufsize 117787206 -profile:v:0 high -level 51 -g:v:0 72 -keyint_min:v:0 72 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,vpp_rkrga=format=nv12:afbc=1" -codec:a:0 libfdk_aac -ac 2 -ab 256000 -af "volume=2" -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 "3e3ca0fdc074c187ba96698c55736b27-1.mp4" -start_number 0 -hls_segment_filename "/cache/transcodes/3e3ca0fdc074c187ba96698c55736b27%d.mp4" -hls_playlist_type vod -hls_list_size 0 -hls_segment_options movflags=+frag_discont -y "/cache/transcodes/3e3ca0fdc074c187ba96698c55736b27.m3u8"
    jellyfin_1  | [01:14:12] [ERR] [36] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 187


    Currently I have all codec's selected except for AV1. had followed the guide here, https://jellyfin.org/docs/general/post-i...n/rockchip. AI keeps telling me the issue is with tone mapping but according to that guide, it shouldn't be an issue. 

    Any help on this would be awesome!
    KuzonFire
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2025 Nov
    Reputation: 0
    #2
    6 hours ago
    Fixed the issue, forgot transcoding is for the client so if the client doesn't support any codec then Jellyfin is going to default to no transcoding.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • 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