Opened 7 months ago

Last modified 5 months ago

#10720 new defect

ALAC_AT (AudioToolbox) broken in recent versions.

Reported by: Atarikid Owned by:
Priority: important Component: undetermined
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

alac_at (hardware accelerated encoding with AudioToolBox) is not working anymore.

/Users/dossin/ffmpeg -probesize 50M -analyzeduration 100M -i /Users/dossin/Desktop/test.mp4 -map 0:0 -map 0:1 -c:a alac_at -c:v copy /Users/dossin/Movies/test3.mov

ffmpeg version N-112877-g6d19611251- Copyright (c) 2000-2023 the FFmpeg developers

built with Apple clang version 14.0.0 (clang-1400.0.29.102)
configuration: --prefix=/Volumes/ffmpeg_arm64/out --pkg-config-flags=--static --enable-gray --enable-libxml2 --enable-gpl --enable-libfreetype --enable-fontconfig --enable-libharfbuzz --enable-libbluray --enable-libsnappy --enable-libsrt --enable-libvmaf --enable-libass --enable-libklvanc --enable-libzimg --enable-libzvbi --enable-libaom --enable-libdav1d --enable-libopenh264 --enable-libopenjpeg --enable-librav1e --enable-libsvtav1 --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libtheora
libavutil 58. 32.100 / 58. 32.100
libavcodec 60. 35.100 / 60. 35.100
libavformat 60. 18.100 / 60. 18.100
libavdevice 60. 4.100 / 60. 4.100
libavfilter 9. 14.100 / 9. 14.100
libswscale 7. 6.100 / 7. 6.100
libswresample 4. 13.100 / 4. 13.100
libpostproc 57. 4.100 / 57. 4.100

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/dossin/Desktop/test.mp4':

Metadata:

major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 1970-01-01T00:00:00.000000Z
title : Star Wars The Force Awakens Trailer-2015.mp4
artist : Avidemux
encoder : Lavf52.61.0

Duration: 00:02:20.13, start: 0.000000, bitrate: 1806 kb/s
Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 1609 kb/s, 24 fps, 24 tbr, 24k tbn (default)

Metadata:

creation_time : 1970-01-01T00:00:00.000000Z
handler_name : VideoHandler
vendor_id : [0][0][0][0]

Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 192 kb/s (default)

Metadata:

creation_time : 1970-01-01T00:00:00.000000Z
handler_name : SoundHandler
vendor_id : [0][0][0][0]

Stream mapping:

Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (aac (native) -> alac (alac_at))

Press [q] to stop, ? for help
Assertion ost->sq_idx_encode >= 0 failed at fftools/ffmpeg_enc.c:327
bash: line 1: 30518 Abort trap: 6

Change History (4)

comment:1 by Atarikid, 7 months ago

FWW works fine with FFmpeg 6.0

comment:2 by jeromec, 7 months ago

Works fine with FFmpeg 5.0.1
Broken with FFmpeg 5.1
Works fine with FFmpeg 6.0
Broken again with FFmpeg 6.1

comment:3 by Warrex, 5 months ago

Does not work in 6.1.1. or N-113521-gcc774cd962 either. I am also getting that "Assertion ost->sq_idx_encode >= 0" error.

Note: See TracTickets for help on using tickets.