#10185 closed enhancement (fixed)

ISO/IEC 23003-5:2020 not implemented

Reported by: Aido Owned by: quinkblack
Priority: normal Component: ffmpeg
Version: unspecified Keywords: ISO/IEC 23003-5:2020
Cc: derrod Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by Aido)

Summary of the bug:

ISO/IEC 23003-5:2020 (uncompressed audio in MPEG-4 file format) does not seem to be implemented.

How to reproduce:

% ffmpeg -i input.mov -c copy output.mp4
ffmpeg version 2023-02-09-git-159b028df5-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libvpl --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
  libavutil      57. 44.100 / 57. 44.100
  libavcodec     59. 63.100 / 59. 63.100
  libavformat    59. 38.100 / 59. 38.100
  libavdevice    59.  8.101 / 59.  8.101
  libavfilter     8. 56.100 /  8. 56.100
  libswscale      6.  8.112 /  6.  8.112
  libswresample   4.  9.100 /  4.  9.100
  libpostproc    56.  7.100 / 56.  7.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 512
    compatible_brands: qt
    encoder         : Lavf59.38.100
  Duration: 00:00:49.00, start: 0.000000, bitrate: 10675 kb/s
  Stream #0:0[0x1](eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuvj420p(pc, smpte170m/bt709/bt709, progressive), 640x480, 9963 kb/s, 30 fps, 30 tbr, 12k tbn (default)
    Metadata:
      handler_name    : VideoHandler
      vendor_id       : FFMP
  Stream #0:1[0x2](eng): Audio: pcm_s16le (sowt / 0x74776F73), 44100 Hz, mono, s16, 705 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
      vendor_id       : [0][0][0][0]
[mp4 @ 0000013986737d80] Could not find tag for codec pcm_s16le in stream #1, codec not currently supported in container
[out#0/mp4 @ 0000013986683b40] Could not write header (incorrect codec parameters ?): Invalid argument
[aost#0:1/copy @ 0000013986731940] Error initializing output stream:
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
    Last message repeated 1 times

Change History (7)

comment:1 by Aido, 21 months ago

Description: modified (diff)

comment:2 by Aido, 21 months ago

Description: modified (diff)

comment:3 by Balling, 21 months ago

Yep. Only mkv allows storing pcm properly.

in reply to:  3 comment:4 by Aido, 21 months ago

Replying to Balling:

Yep. Only mkv allows storing pcm properly.

With ISO/IEC 23003-5:2020 PCM is allowed in mp4 also.

comment:5 by quinkblack, 21 months ago

Owner: set to quinkblack
Status: newopen

I'm working on this.

comment:6 by derrod, 21 months ago

Cc: derrod added

comment:7 by quinkblack, 18 months ago

Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.