Repository navigation
[BUG] FFMPEG Needs upgrading #158
Copy link
Copy link
Closed as not planned
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Please see morpheus65535/bazarr#3078 (comment)
FFMPEG looks like it needs updating to include all the codecs
Right now i am getting
Could not open codec for input stream 1```
### Expected Behavior
Except FFMPEG has the latest codecs
### Steps To Reproduce
1. Run image
2.Look at logs, see ffmpeg errors
### Environment
```markdown
- OS:
- How docker service was installed:
CPU architecture
x86-64
Docker creation
using development tag with
-p 6767:6767 -e PGID=1000 -e PUID=1000 -v /etc/localtime:/etc/localtime:ro -e TZ="Australia/Sydney" -v /data:/data -v /config/bazarr:/configContainer logs
From inside the container
root@ad52460e36a3:/# ffprobe -print_format json -show_format -show_streams -sexagesimal "/data/TV Shows/xxxxx.mkv"
ffprobe version 6.1.2 Copyright (c) 2007-2024 the FFmpeg developers
built with gcc 14.2.0 (Alpine 14.2.0)
configuration: --prefix=/usr --disable-librtmp --disable-lzma --disable-static --disable-stripping --enable-avfilter --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-libmp3lame --enable-libopenmpt --enable-libopus --enable-libplacebo --enable-libpulse --enable-librav1e --enable-librist --enable-libsoxr --enable-libsrt --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-lto=auto --enable-lv2 --enable-openssl --enable-pic --enable-postproc --enable-pthreads --enable-shared --enable-vaapi --enable-vdpau --enable-version3 --enable-vulkan --optflags=-O3 --enable-libjxl --enable-libsvtav1 --enable-libvpl
libavutil 58. 29.100 / 58. 29.100
libavcodec 60. 31.102 / 60. 31.102
libavformat 60. 16.100 / 60. 16.100
libavdevice 60. 3.100 / 60. 3.100
libavfilter 9. 12.100 / 9. 12.100
libswscale 7. 5.100 / 7. 5.100
libswresample 4. 12.100 / 4. 12.100
libpostproc 57. 3.100 / 57. 3.100
{
[aac @ 0x7170e0e1d880] Audio object type 42 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[matroska,webm @ 0x7170e55be600] Failed to open codec in avformat_find_stream_info
[aac @ 0x7170e0e1d880] Audio object type 42 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[matroska,webm @ 0x7170e55be600] Could not find codec parameters for stream 1 (Audio: aac, 48000 Hz, 0 channels, fltp): unspecified number of channels
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, matroska,webm, from '/data/TV Shows/xxxxx.mkv':
Metadata:
encoder : libebml v1.4.5 + libmatroska v1.7.1
creation_time : 2025-08-21T13:05:10.000000Z
Duration: 00:44:07.85, start: 0.000000, bitrate: 5177 kb/s
Chapters:
Chapter #0:0: start 0.000000, end 2628.450000
Metadata:
title : Part 01
Chapter #0:1: start 2628.450000, end 2647.851000
Metadata:
title : Credits
Stream #0:0: Video: h264 (Main), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn (default)
Metadata:
BPS : 4980945
DURATION : 00:44:07.840000000
NUMBER_OF_FRAMES: 66196
NUMBER_OF_BYTES : 1648593407
_STATISTICS_WRITING_APP: mkvmerge v94.0 ('Initiate') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2025-08-21 13:05:10
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:1(eng): Audio: aac, 48000 Hz, 2 channels, fltp (default)
Metadata:
BPS : 194144
DURATION : 00:44:07.851000000
NUMBER_OF_FRAMES: 124118
NUMBER_OF_BYTES : 64258119
_STATISTICS_WRITING_APP: mkvmerge v94.0 ('Initiate') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2025-08-21 13:05:10
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:2(eng): Subtitle: subrip (hearing impaired)
Metadata:
BPS : 121
DURATION : 00:43:49.480000000
NUMBER_OF_FRAMES: 1035
NUMBER_OF_BYTES : 40032
_STATISTICS_WRITING_APP: mkvmerge v94.0 ('Initiate') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2025-08-21 13:05:10
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[aac @ 0x7170e0c608c0] Audio object type 42 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
Could not open codec for input stream 1
From Bazarr
+-------------------------------------------------------+
| Please report any bug or feature request at |
| https://github.com/ratoaq2/knowit/issues. |
+-------------------------------------------------------+
2025-12-06 21:07:56,361 - root (787714adab30) : ERROR (video_analyzer:303) - BAZARR ffprobe cannot analyze this video file /data/TV Shows/xxxxx.mkv. Could it be corrupted? +-------------------------------------------------------+
| KnowIt 0.5.3 |
+-------------------------------------------------------+
| pymediainfo |
| 6.1.0 |
| libmediainfo.so.0 |
| v25.3 |
| |
| /usr/bin/ffprobe |
| v6.1.2 |
| |
| |
| enzyme |
| 0.5.2 |
+-------------------------------------------------------+
| provider: ffmpeg |
| ffmpeg: /usr/bin/ffprobe |
| profile: default |
+-------------------------------------------------------+
Traceback (most recent call last):
File "/app/bazarr/bin/bazarr/../libs/knowit/api.py", line 59, in know
result = provider.describe(video_path, context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/bazarr/bin/bazarr/../libs/knowit/providers/ffmpeg.py", line 222, in describe
data = self.executor.extract_info(video_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/bazarr/bin/bazarr/../libs/knowit/providers/ffmpeg.py", line 80, in extract_info
json_dump = self._execute(filename)
^^^^^^^^^^^^^^^^^^^^^^^
File "/app/bazarr/bin/bazarr/../libs/knowit/providers/ffmpeg.py", line 114, in _execute
return check_output([self.location, '-v', 'quiet', '-print_format', 'json',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/subprocess.py", line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/ffprobe', '-v', 'quiet', '-print_format', 'json', '-show_format', '-show_streams', '-sexagesimal', '/data/TV Shows/xxxxxxxxx.mkv']' returned non-zero exit status 1.
From FFMPEG ON HOST OS with latest version (working on the same file)
data@plex:~$ ffprobe -print_format json -show_format -show_streams -sexagesimal "/data/TV Shows/xxxxx.mkv"
ffprobe version 7.1.1-1ubuntu1.3 Copyright (c) 2007-2025 the FFmpeg developers
built with gcc 14 (Ubuntu 14.2.0-19ubuntu2)
configuration: --prefix=/usr --extra-version=1ubuntu1.3 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --disable-libmfx --disable-omx --enable-gnutls --enable-libaom --enable-libass --enable-libbs2b --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libharfbuzz --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-openal --enable-opencl --enable-opengl --disable-sndio --enable-libvpl --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-ladspa --enable-libbluray --enable-libcaca --enable-libdvdnav --enable-libdvdread --enable-libjack --enable-libpulse --enable-librabbitmq --enable-librist --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libx264 --enable-libzmq --enable-libzvbi --enable-lv2 --enable-sdl2 --enable-libplacebo --enable-librav1e --enable-pocketsphinx --enable-librsvg --enable-libjxl --enable-shared
libavutil 59. 39.100 / 59. 39.100
libavcodec 61. 19.101 / 61. 19.101
libavformat 61. 7.100 / 61. 7.100
libavdevice 61. 3.100 / 61. 3.100
libavfilter 10. 4.100 / 10. 4.100
libswscale 8. 3.100 / 8. 3.100
libswresample 5. 3.100 / 5. 3.100
libpostproc 58. 3.100 / 58. 3.100
{
Input #0, matroska,webm, from '/data/TV Shows/xxxxx.mkv':
Metadata:
encoder : libebml v1.4.5 + libmatroska v1.7.1
creation_time : 2025-08-21T13:05:11.000000Z
Duration: 00:45:02.85, start: 0.000000, bitrate: 5178 kb/s
Chapters:
Chapter #0:0: start 0.000000, end 2685.450000
Metadata:
title : Part 01
Chapter #0:1: start 2685.450000, end 2702.848000
Metadata:
title : Credits
Stream #0:0: Video: h264 (Main), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn (default)
Metadata:
BPS : 4982349
DURATION : 00:45:02.840000000
NUMBER_OF_FRAMES: 67571
NUMBER_OF_BYTES : 1683311604
_STATISTICS_WRITING_APP: mkvmerge v94.0 ('Initiate') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2025-08-21 13:05:11
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:1(eng): Audio: aac (xHE-AAC), 48000 Hz, stereo, fltp (default)
Metadata:
BPS : 193931
DURATION : 00:45:02.848000000
NUMBER_OF_FRAMES: 126696
NUMBER_OF_BYTES : 65520867
_STATISTICS_WRITING_APP: mkvmerge v94.0 ('Initiate') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2025-08-21 13:05:11
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:2(eng): Subtitle: subrip (srt) (hearing impaired)
Metadata:
BPS : 125
DURATION : 00:44:35.160000000
NUMBER_OF_FRAMES: 1064
NUMBER_OF_BYTES : 41804
_STATISTICS_WRITING_APP: mkvmerge v94.0 ('Initiate') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2025-08-21 13:05:11
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
"streams": [
{
"index": 0,
"codec_name": "h264",
"codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
"profile": "Main",
"codec_type": "video",
"codec_tag_string": "[0][0][0][0]",
"codec_tag": "0x0000",
"width": 1920,
"height": 1080,
"coded_width": 1920,
"coded_height": 1080,
"closed_captions": 0,
"film_grain": 0,
"has_b_frames": 1,
"sample_aspect_ratio": "1:1",
"display_aspect_ratio": "16:9",
"pix_fmt": "yuv420p",
"level": 40,
"chroma_location": "left",
"field_order": "progressive",
"refs": 1,
"is_avc": "true",
"nal_length_size": "4",
"r_frame_rate": "25/1",
"avg_frame_rate": "25/1",
"time_base": "1/1000",
"start_pts": 0,
"start_time": "0:00:00.000000",
"bits_per_raw_sample": "8",
"extradata_size": 53,
"disposition": {
"default": 1,
"dub": 0,
"original": 0,
"comment": 0,
"lyrics": 0,
"karaoke": 0,
"forced": 0,
"hearing_impaired": 0,
"visual_impaired": 0,
"clean_effects": 0,
"attached_pic": 0,
"timed_thumbnails": 0,
"non_diegetic": 0,
"captions": 0,
"descriptions": 0,
"metadata": 0,
"dependent": 0,
"still_image": 0,
"multilayer": 0
},
"tags": {
"BPS": "4982349",
"DURATION": "00:45:02.840000000",
"NUMBER_OF_FRAMES": "67571",
"NUMBER_OF_BYTES": "1683311604",
"_STATISTICS_WRITING_APP": "mkvmerge v94.0 ('Initiate') 64-bit",
"_STATISTICS_WRITING_DATE_UTC": "2025-08-21 13:05:11",
"_STATISTICS_TAGS": "BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES"
}
},
{
"index": 1,
"codec_name": "aac",
"codec_long_name": "AAC (Advanced Audio Coding)",
"profile": "xHE-AAC",
"codec_type": "audio",
"codec_tag_string": "[0][0][0][0]",
"codec_tag": "0x0000",
"sample_fmt": "fltp",
"sample_rate": "48000",
"channels": 2,
"channel_layout": "stereo",
"bits_per_sample": 0,
"initial_padding": 0,
"r_frame_rate": "0/0",
"avg_frame_rate": "0/0",
"time_base": "1/1000",
"start_pts": 0,
"start_time": "0:00:00.000000",
"extradata_size": 77,
"disposition": {
"default": 1,
"dub": 0,
"original": 0,
"comment": 0,
"lyrics": 0,
"karaoke": 0,
"forced": 0,
"hearing_impaired": 0,
"visual_impaired": 0,
"clean_effects": 0,
"attached_pic": 0,
"timed_thumbnails": 0,
"non_diegetic": 0,
"captions": 0,
"descriptions": 0,
"metadata": 0,
"dependent": 0,
"still_image": 0,
"multilayer": 0
},
"tags": {
"language": "eng",
"BPS": "193931",
"DURATION": "00:45:02.848000000",
"NUMBER_OF_FRAMES": "126696",
"NUMBER_OF_BYTES": "65520867",
"_STATISTICS_WRITING_APP": "mkvmerge v94.0 ('Initiate') 64-bit",
"_STATISTICS_WRITING_DATE_UTC": "2025-08-21 13:05:11",
"_STATISTICS_TAGS": "BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES"
}
},
{
"index": 2,
"codec_name": "subrip",
"codec_long_name": "SubRip subtitle",
"codec_type": "subtitle",
"codec_tag_string": "[0][0][0][0]",
"codec_tag": "0x0000",
"r_frame_rate": "0/0",
"avg_frame_rate": "0/0",
"time_base": "1/1000",
"start_pts": 0,
"start_time": "0:00:00.000000",
"duration_ts": 2702848,
"duration": "0:45:02.848000",
"disposition": {
"default": 0,
"dub": 0,
"original": 0,
"comment": 0,
"lyrics": 0,
"karaoke": 0,
"forced": 0,
"hearing_impaired": 1,
"visual_impaired": 0,
"clean_effects": 0,
"attached_pic": 0,
"timed_thumbnails": 0,
"non_diegetic": 0,
"captions": 0,
"descriptions": 0,
"metadata": 0,
"dependent": 0,
"still_image": 0,
"multilayer": 0
},
"tags": {
"language": "eng",
"BPS": "125",
"DURATION": "00:44:35.160000000",
"NUMBER_OF_FRAMES": "1064",
"NUMBER_OF_BYTES": "41804",
"_STATISTICS_WRITING_APP": "mkvmerge v94.0 ('Initiate') 64-bit",
"_STATISTICS_WRITING_DATE_UTC": "2025-08-21 13:05:11",
"_STATISTICS_TAGS": "BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES"
}
}
],
"format": {
"filename": "/data/TV Shows/xxxxx.mkv",
"nb_streams": 3,
"nb_programs": 0,
"nb_stream_groups": 0,
"format_name": "matroska,webm",
"format_long_name": "Matroska / WebM",
"start_time": "0:00:00.000000",
"duration": "0:45:02.848000",
"size": "1749748646",
"bit_rate": "5178977",
"probe_score": 100,
"tags": {
"encoder": "libebml v1.4.5 + libmatroska v1.7.1",
"creation_time": "2025-08-21T13:05:11.000000Z"
}
}
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Type
Projects
- StatusShow more project fieldsDone
Activity
github-actions commentedon Dec 7, 2025
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
LinuxServer-CI commentedon Jan 6, 2026
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.
LinuxServer-CI commentedon Apr 7, 2026
This issue is locked due to inactivity