Public bug reported:

This is rather informational, since the bug occured on ubuntu 26.04, but
does not occur with 26.10 (run in a docker container). So my problem is
solved by using 26.10, just to keep you informed:


I had a strange bug in ffmpeg in Kubuntu 26.04, and observed the very
same problem with handbrake (which uses some of the same libraries).

I do have three video files, which I need to delete due to their size,
and that's why I can't keep them for testing:

-rwxrwxrwx 1 hadmut hadmut  96614306304 May 27  2024 SHGINF_S001_S001_T001.MOV*
-rwxrwxrwx 1 hadmut hadmut  28301365760 May 27  2024 SHGINF_S001_S001_T002.MOV*
-rwxrwxrwx 1 hadmut hadmut 196277743616 May 27  2024 SHGINF_S001_S001_T003.MOV*


All made on the same day with the same machine (Shogun Inferno Recorder) in the 
same session. 


Format:

% ffprobe SHGINF_S001_S001_T003.MOV
ffprobe version 8.0.1-3ubuntu2 Copyright (c) 2007-2025 the FFmpeg developers
  built with gcc 15 (Ubuntu 15.2.0-13ubuntu3)
  configuration: --prefix=/usr --extra-version=3ubuntu2 --toolchain=hardened 
--libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu 
--arch=amd64 --enable-gpl --disable-stripping --disable-pocketsphinx 
--disable-libcaca --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-libdvdnav 
--enable-libdvdread --enable-libjack --enable-libjxl --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-librsvg --enable-shared
  libavutil      60.  8.100 / 60.  8.100
  libavcodec     62. 11.100 / 62. 11.100
  libavformat    62.  3.100 / 62.  3.100
  libavdevice    62.  1.100 / 62.  1.100
  libavfilter    11.  4.100 / 11.  4.100
  libswscale      9.  1.100 /  9.  1.100
  libswresample   6.  1.100 /  6.  1.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x58c7d6028000] overread end of atom '[169]mak' by 2 
bytes
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x58c7d6028000] overread end of atom '[169]swr' by 3 
bytes
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'SHGINF_S001_S001_T003.MOV':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    creation_time   : 2024-05-27T20:39:05.000000Z
    make            : Atomos
    make-eng        : Atomos
    encoder         : ShogunInferno - 8.4 
    encoder-eng     : ShogunInferno - 8.4 
    timecode        : 00:00:00:00
  Duration: 02:42:02.50, start: 0.000000, bitrate: 161503 kb/s
  Stream #0:0[0x1](eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 2 
channels, s32 (24 bit), 2304 kb/s (default)
    Metadata:
      creation_time   : 2024-05-27T20:39:05.000000Z
      vendor_id       : [0][0][0][0]
  Stream #0:1[0x2](eng): Video: prores (LT) (apcs / 0x73637061), 
yuv422p10le(bt709, progressive), 1920x1080, 159191 kb/s, SAR 1:1 DAR 16:9, 50 
fps, 50 tbr, 5k tbn (default)
    Metadata:
      creation_time   : 2024-05-27T20:39:05.000000Z
      vendor_id       : appl
      encoder         : Apple ProRes 422 LT
  Stream #0:2[0x3](eng): Data: none (tmcd / 0x64636D74) (default)
    Metadata:
      creation_time   : 2024-05-27T20:39:05.000000Z
      timecode        : 00:00:00:00
Unsupported codec with id 0 for input stream 2



While the first and the second file can be converted normally (video & audio) 
both with ffmpeg and handbrake, both tools cannot read the audio of the third 
file. Even mpv can't play the audio of the third video, while, in contrast, vlc 
can play it. 


% ffmpeg -i SHGINF_S001_S001_T003.MOV -vn -c:a copy -write_tmcd 0 x.mp4

ffmpeg version 8.0.1-3ubuntu2 Copyright (c) 2000-2025 the FFmpeg developers
  built with gcc 15 (Ubuntu 15.2.0-13ubuntu3)
  configuration: --prefix=/usr --extra-version=3ubuntu2 --toolchain=hardened 
--libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu 
--arch=amd64 --enable-gpl --disable-stripping --disable-pocketsphinx 
--disable-libcaca --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-libdvdnav 
--enable-libdvdread --enable-libjack --enable-libjxl --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-librsvg --enable-shared
  libavutil      60.  8.100 / 60.  8.100
  libavcodec     62. 11.100 / 62. 11.100
  libavformat    62.  3.100 / 62.  3.100
  libavdevice    62.  1.100 / 62.  1.100
  libavfilter    11.  4.100 / 11.  4.100
  libswscale      9.  1.100 /  9.  1.100
  libswresample   6.  1.100 /  6.  1.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5756611f2ec0] overread end of atom '[169]mak' by 2 
bytes
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5756611f2ec0] overread end of atom '[169]swr' by 3 
bytes
[aist#0:0/pcm_s24le @ 0x5756611f8680] Guessed Channel Layout: stereo
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'SHGINF_S001_S001_T003.MOV':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    creation_time   : 2024-05-27T20:39:05.000000Z
    make            : Atomos
    make-eng        : Atomos
    encoder         : ShogunInferno - 8.4 
    encoder-eng     : ShogunInferno - 8.4 
    timecode        : 00:00:00:00
  Duration: 02:42:02.50, start: 0.000000, bitrate: 161503 kb/s
  Stream #0:0[0x1](eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 
stereo, s32 (24 bit), 2304 kb/s (default)
    Metadata:
      creation_time   : 2024-05-27T20:39:05.000000Z
      vendor_id       : [0][0][0][0]
  Stream #0:1[0x2](eng): Video: prores (LT) (apcs / 0x73637061), 
yuv422p10le(bt709, progressive), 1920x1080, 159191 kb/s, SAR 1:1 DAR 16:9, 50 
fps, 50 tbr, 5k tbn (default)
    Metadata:
      creation_time   : 2024-05-27T20:39:05.000000Z
      vendor_id       : appl
      encoder         : Apple ProRes 422 LT
  Stream #0:2[0x3](eng): Data: none (tmcd / 0x64636D74) (default)
    Metadata:
      creation_time   : 2024-05-27T20:39:05.000000Z
      timecode        : 00:00:00:00
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Output #0, mp4, to 'x.mp4':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    timecode        : 00:00:00:00
    make            : Atomos
    make-eng        : Atomos
    encoder         : Lavf62.3.100
  Stream #0:0(eng): Audio: pcm_s24le (ipcm / 0x6D637069), 48000 Hz, stereo, s32 
(24 bit), 2304 kb/s (default)
    Metadata:
      creation_time   : 2024-05-27T20:39:05.000000Z
      vendor_id       : [0][0][0][0]
Press [q] to stop, [?] for help
[out#0/mp4 @ 0x5756611f8c80] video:0KiB audio:0KiB subtitle:0KiB other 
streams:0KiB global headers:0KiB muxing overhead: unknown
[out#0/mp4 @ 0x5756611f8c80] Output file is empty, nothing was encoded
size=       0KiB time=N/A bitrate=N/A speed=N/A elapsed=0:00:00.01    


Not the error message Output file is empty, nothing was encoded

ffmpeg version 8.0.1-3ubuntu2


However, when doing the same in a docker container, run with 

podman run --rm -v /myworkingdir:/work -it ubuntu:26.10 bash

and inside apt install ffmpeg , and do the same command, things work
normally.

ffmpeg version 8.1.2-2ubuntu2


So, whatever the reason might be, the problem is fixed in 26.10.


If more people are affected by this, a backport might be an approach.

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: ffmpeg 7:8.0.1-3ubuntu2
ProcVersionSignature: Ubuntu 7.0.0-38.38-generic 7.0.14
Uname: Linux 7.0.0-38-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia zfs
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Thu Oct 29 16:17:47 2026
InstallationDate: Installed on 2026-05-25 (157 days ago)
InstallationMedia: Kubuntu 26.04 "Resolute Raccoon" - Release amd64 (20260423)
SourcePackage: ffmpeg
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: ffmpeg (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2172508

Title:
  Can't take audio from pcm_s24le

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ffmpeg/+bug/2172508/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to