Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5138

Troubleshooting • Re: Raspberry Pi 5 Crashes When Running FFmpeg for Jellyfin Streaming

$
0
0
You should be using this:

Code:

~# /usr/share/jellyfin-ffmpeg/ffmpeg -versionffmpeg version 7.0.2-Jellyfin Copyright (c) 2000-2024 the FFmpeg developersbuilt 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-rkrgalibavutil      59.  8.100 / 59.  8.100libavcodec     61.  3.100 / 61.  3.100libavformat    61.  1.100 / 61.  1.100libavdevice    61.  1.100 / 61.  1.100libavfilter    10.  1.100 / 10.  1.100libswscale      8.  1.100 /  8.  1.100libswresample   5.  1.100 /  5.  1.100libpostproc    58.  1.100 / 58.  1.100

I tried this with my movie file but I got an error :

Code:

root@home:/usr/share/jellyfin-ffmpeg # ls -alth /mnt/ssd/Movies/Smile-2022/total 1.1Gdrwxr-xr-x 2 root root 4.0K Nov 28 19:37 .-rw-r--r-- 1 root root 513K Nov 27 14:30 output.mp4drwxrwxrwx 4 root root 4.0K Nov 25 00:18 ..-rw-r--r-- 1 root root 1.1G Nov 23 00:50 Smile.mp4root@home:/usr/share/jellyfin-ffmpeg # /usr/share/jellyfin-ffmpeg/ffmpeg -threads 2 -i /mnt/ssd/Movies/Smile-2022/Smile-2022.mp4 -c:v libx264 -preset medium -crf 23 -c:a aac -b:a 128k -movflags +faststart ~/Smile-2022-converted.mp4 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[in#0 @ 0x5555ae3ad040] Error opening input: No such file or directoryError opening input file /mnt/ssd/Movies/Smile-2022/Smile-2022.mp4.Error opening input files: No such file or directoryroot@home:/usr/share/jellyfin-ffmpeg # 

Statistics: Posted by cvarad96 — Thu Nov 28, 2024 2:11 pm



Viewing all articles
Browse latest Browse all 5138

Trending Articles