June 24, 20251 yr Hi folks. I did a python script to burn the subtitles in .srt into the video files. However, I need the FFmpeg installed on Unraid, to be used by command line.It used to be available on "nerdpack" and "nerdtools", which are not available anymore. What's the {best, simplest} way to do it?Thanks in advance.Eduardo
June 24, 20251 yr Community Expert Solution 1 hour ago, EDalcin said:What's the {best, simplest} way to do it?In a docker container
June 24, 20251 yr The trick would be either getting a container with with both python and ffmpeg installed.
June 24, 20251 yr Community Expert 11 minutes ago, primeval_god said:The trick would be either getting a container with with both python and ffmpeg installed.Plex already has both, as do most media related containers
June 24, 20251 yr 8 hours ago, EDalcin said:What's the {best, simplest} way to do it?i am using the docker way like described for my personal encodings.in terms you simple remux your srt files into your containers using ffmpeg/// edit, may dependencies missing, rather take the docker way1/ get as sample un-get https://github.com/ich777/un-get2/ install ffmpegroot@AlsServerII:~# un-get search ffmpegPlease wait, performing search...Found the following package(s) for your search 'ffmpeg' in repositories:ffmpegthumbs-23.08.5ffmpeg-7.1.1ffmpegthumbnailer-2.2.3root@AlsServerII:~#
July 11, 2025Jul 11 On 6/25/2025 at 2:09 AM, alturismo said:1/ get as sample un-get https://github.com/ich777/un-get2/ install ffmpegroot@AlsServerII:~# un-get search ffmpegPlease wait, performing search...Found the following package(s) for your search 'ffmpeg' in repositories:ffmpegthumbs-23.08.5ffmpeg-7.1.1ffmpegthumbnailer-2.2.3root@AlsServerII:~#I tried that, and for some reason un-get thinks it' already installed, but it's not. a "find / -type f -name 'ffmpeg' 2>/dev/null" found nothing. I guess I need to find a docker with it in there and easy to use
July 11, 2025Jul 11 19 minutes ago, dalben said:I guess I need to find a docker with it in there and easy to usejdownloader2 includes ffprobe and ffmpeg:/tmp # ls -l /usr/bin/ff*-rwxr-xr-x 1 root root 301208 Jun 7 2024 /usr/bin/ffmpeg-rwxr-xr-x 1 root root 162872 Jun 7 2024 /usr/bin/ffprobeI use it from within a python script (use your own container name and input value):[...]jdownloader2_container = "JDownloader2"[...]ffprobe = f"docker exec {jdownloader2_container} /usr/bin/ffprobe"[...]command = f'{ffprobe} -v panic -hide_banner -of default=noprint_wrappers=0 -print_format flat -show_format "{input}" | grep creation_time'r = os.popen(command).read()print(r)[...] Edited July 11, 2025Jul 11 by hawihoney
July 18, 2025Jul 18 I ended up, using the LSIO/ffmpeg container. Standalone ffmpeg that only starts up when you call it.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.