Opened 5 years ago

Last modified 5 years ago

#9250 new defect

output file audio crackles in QuickTime/iTunes but not VLC

Reported by: Dave Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Dave Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by Dave)

Summary of the bug:
No matter what I've tried (converted or copied audio) the resulting file has crackly audio when played in QuickTime or Music (iTunes)

I'm taking an MKV with h.264 and ACC and just moving it to an MOV.

I am on Big Sur 11.3.1 on an M1 Mac mini

I can provide examples.

How to reproduce:

% ffmpeg -i input -c:v copy -c:a copy
ffmpeg version 4.4
built with Apple clang version 12.0.5 (clang-1205.0.22.9)

Console output:
dave@Daves-M1-Mac-mini ~ % ffmpeg -i /Users/dave/Desktop/TEST.mkv -c:v copy -c:a copy -c:s mov_text -metadata:s:s:0 language=eng -tag:s:s:0? tx3g /Users/dave/Desktop/TEST.mp4
ffmpeg version 4.4 Copyright (c) 2000-2021 the FFmpeg developers

built with Apple clang version 12.0.5 (clang-1205.0.22.9)
configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/4.4_1 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100

Input #0, matroska,webm, from '/Users/dave/Desktop/TEST.mkv':

Metadata:

encoder : no_variable_data
creation_time : 1970-01-01T00:00:00.000000Z

Duration: 00:24:29.13, start: 0.000000, bitrate: 3203 kb/s
Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)

Metadata:

BPS : 3072128
BPS-eng : 3072128
DURATION : 00:24:29.053000000
DURATION-eng : 00:24:29.053000000
NUMBER_OF_FRAMES: 35222
NUMBER_OF_FRAMES-eng: 35222
NUMBER_OF_BYTES : 564139903
NUMBER_OF_BYTES-eng: 564139903
_STATISTICS_WRITING_APP: no_variable_data
_STATISTICS_WRITING_APP-eng: no_variable_data
_STATISTICS_WRITING_DATE_UTC: 1970-01-01 00:00:00
_STATISTICS_WRITING_DATE_UTC-eng: 1970-01-01 00:00:00
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

Stream #0:1(jpn): Audio: aac (LC), 44100 Hz, stereo, fltp (default)

Metadata:

BPS : 128000
BPS-eng : 128000
DURATION : 00:24:29.126000000
DURATION-eng : 00:24:29.126000000
NUMBER_OF_FRAMES: 63270
NUMBER_OF_FRAMES-eng: 63270
NUMBER_OF_BYTES : 23506024
NUMBER_OF_BYTES-eng: 23506024
_STATISTICS_WRITING_APP: no_variable_data
_STATISTICS_WRITING_APP-eng: no_variable_data
_STATISTICS_WRITING_DATE_UTC: 1970-01-01 00:00:00
_STATISTICS_WRITING_DATE_UTC-eng: 1970-01-01 00:00:00
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

Stream #0:2(eng): Subtitle: ass (default)

Metadata:

BPS : 161
BPS-eng : 161
DURATION : 00:24:14.570000000
DURATION-eng : 00:24:14.570000000
NUMBER_OF_FRAMES: 428
NUMBER_OF_FRAMES-eng: 428
NUMBER_OF_BYTES : 29410
NUMBER_OF_BYTES-eng: 29410
_STATISTICS_WRITING_APP: no_variable_data
_STATISTICS_WRITING_APP-eng: no_variable_data
_STATISTICS_WRITING_DATE_UTC: 1970-01-01 00:00:00
_STATISTICS_WRITING_DATE_UTC-eng: 1970-01-01 00:00:00
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

Stream #0:3: Attachment: ttf

Metadata:

filename : OpenSans-Semibold.ttf
mimetype : application/x-truetype-font

Output #0, mp4, to '/Users/dave/Desktop/TEST.mp4':

Metadata:

encoder : Lavf58.76.100

Stream #0:0: Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 23.98 tbr, 16k tbn, 1k tbc (default)

Metadata:

BPS : 3072128
BPS-eng : 3072128
DURATION : 00:24:29.053000000
DURATION-eng : 00:24:29.053000000
NUMBER_OF_FRAMES: 35222
NUMBER_OF_FRAMES-eng: 35222
NUMBER_OF_BYTES : 564139903
NUMBER_OF_BYTES-eng: 564139903
_STATISTICS_WRITING_APP: no_variable_data
_STATISTICS_WRITING_APP-eng: no_variable_data
_STATISTICS_WRITING_DATE_UTC: 1970-01-01 00:00:00
_STATISTICS_WRITING_DATE_UTC-eng: 1970-01-01 00:00:00
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

Stream #0:1(jpn): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp (default)

Metadata:

BPS : 128000
BPS-eng : 128000
DURATION : 00:24:29.126000000
DURATION-eng : 00:24:29.126000000
NUMBER_OF_FRAMES: 63270
NUMBER_OF_FRAMES-eng: 63270
NUMBER_OF_BYTES : 23506024
NUMBER_OF_BYTES-eng: 23506024
_STATISTICS_WRITING_APP: no_variable_data
_STATISTICS_WRITING_APP-eng: no_variable_data
_STATISTICS_WRITING_DATE_UTC: 1970-01-01 00:00:00
_STATISTICS_WRITING_DATE_UTC-eng: 1970-01-01 00:00:00
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

Stream #0:2(eng): Subtitle: mov_text (tx3g / 0x67337874) (default)

Metadata:

_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
BPS : 161
BPS-eng : 161
DURATION : 00:24:14.570000000
DURATION-eng : 00:24:14.570000000
NUMBER_OF_FRAMES: 428
NUMBER_OF_FRAMES-eng: 428
NUMBER_OF_BYTES : 29410
NUMBER_OF_BYTES-eng: 29410
_STATISTICS_WRITING_APP: no_variable_data
_STATISTICS_WRITING_APP-eng: no_variable_data
_STATISTICS_WRITING_DATE_UTC: 1970-01-01 00:00:00
_STATISTICS_WRITING_DATE_UTC-eng: 1970-01-01 00:00:00
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
encoder : Lavc58.134.100 mov_text

Stream mapping:

Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Stream #0:2 -> #0:2 (ass (ssa) -> mov_text (native))

Press [q] to stop, ? for help
frame=35222 fps=0.0 q=-1.0 Lsize= 575424kB time=00:24:29.10 bitrate=3208.7kbits/s speed=2.15e+03x
video:550918kB audio:22955kB subtitle:13kB other streams:0kB global headers:0kB muxing overhead: 0.267941%

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Change History (5)

comment:1 by Carl Eugen Hoyos, 5 years ago

Keywords: audio removed
Priority: importantnormal

Please test current FFmpeg git head and provide the command line you tested together with the complete, uncut console output to make this a valid ticket.

in reply to:  1 comment:2 by Dave, 5 years ago

I'm sorry I am new to this.
How does one test the current FFmpeg git head. Is my version out of date? I can't find clarification in my googling.

Replying to Carl Eugen Hoyos:

Please test current FFmpeg git head and provide the command line you tested together with the complete, uncut console output to make this a valid ticket.

comment:3 by Carl Eugen Hoyos, 5 years ago

I don't know where you downloaded the version you were testing but when reporting a ticket here, please always test the most recent version of FFmpeg, not a release.

in reply to:  3 comment:4 by Dave, 5 years ago

Ok.. I installed via Homebrew. Does that not get the latest version? I assumed that was the latest. How do I update to the latest?

Replying to Carl Eugen Hoyos:

I don't know where you downloaded the version you were testing but when reporting a ticket here, please always test the most recent version of FFmpeg, not a release.

comment:5 by Dave, 5 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.