Jellyfin Forum
FFmpeg exited with code 1 - 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: FFmpeg exited with code 1 (/t-ffmpeg-exited-with-code-1)



FFmpeg exited with code 1 - Trance Kat - 2023-07-08

Hello all.

I recently purchased an HP EliteDesk 800 G3 i5-7500 for the iGPU (my main server is dual Xeon) to use with Jellyfin.

When I attempt to play a file that requires transcoding, I get an error from Jellyfin:
Playback Error
The client isn't compatible with the media and the server isn't sending a compatible media format.

The error in the logs(https://pastebin.com/YCXicTb9):
Code:
[16:52:39] [ERR] [26] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 1

[16:52:39] [ERR] [26] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL GET /videos/b3fae46f-4530-ca85-782a-d859fc30fc9a/hls1/main/0.ts. 


The file is an HEVC with AAC audio.  The client is a wimpy chromebook.  The file does play directly.  I'm at a loss as to what I can do to fix this.  I am grateful to any help.  Thank you in advance!

The environment:
Code:
tino:~# cat /etc/os-release
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.18.2
PRETTY_NAME="Alpine Linux v3.18"

tino:~# lspci
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04)

tino:~# lscpu
  Model name:            Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz

tino:~# docker -v
Docker version 23.0.6, build ef23cbc4315ae76c744e02d687c09548ede461bd
tino:~# docker compose version
Docker Compose version v2.17.3

docker-compose.yml content
Code:
######################
  jellyfin:
    image: linuxserver/jellyfin:latest
    container_name: jellyfin
    environment:
      - TZ=${TZ}
      - PUID=${PUID}
      - PGID=${PGID}
      - UMASK=022 #optional
      - DOCKER_MODS=linuxserver/mods:jellyfin-opencl-intel
    volumes:
      - ${APPSCONFIGDIR}/jellyfin/transcodes:/config/data/transcodes
      - ${APPSCONFIGDIR}/jellyfin:/config
      - ${MEDIADIR}/:/data
      - /opt/vc/lib:/opt/vc/lib #optional
    ports:
      - 8096:8096
      - 8920:8920 #optional
    restart: always
    devices:
      - /dev/dri/renderD128:/dev/dri/renderD128  #optional



RE: FFmpeg exited with code 1 - thornbill - 2023-07-09

Ffmpeg output is logged separately. If you can share the ffmpeg log it should include details as to why it exited.