#8467: Audio artefacts encoding AAC -------------------------------------+------------------------------------- Reporter: kmamal | Owner: Type: defect | Status: new Priority: normal | Component: | undetermined Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+-------------------------------------
Comment (by kmamal): The sample file is used by our installations team to test audio levels across speakers in a studio. It's should be a flat tone. Do you prefer attachments? I'll attach it now. Here's also the contents of ffmpeg-20200113-155239.log for the command line and console output: {{{ ffmpeg started on 2020-01-13 at 15:52:39 Report written to "ffmpeg-20200113-155239.log" Log level: 48 Command line: /home/kostis/ffmpeg_build/bin/ffmpeg -report -i in.mp4 -f hls -hls_flags single_file out.m3u8 -y ffmpeg version N-96334-g1a7f4a1 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 7 (Ubuntu 7.4.0-1ubuntu1~18.04.1) configuration: --prefix=/home/kostis/ffmpeg_build/out --pkg-config- flags=--static --extra-cflags=-I/home/kostis/ffmpeg_build/out/include --extra-ldflags=-L/home/kostis/ffmpeg_build/out/lib --extra- libs='-lpthread -lm' --bindir=/home/kostis/ffmpeg_build/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable- libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable- libx264 --enable-libx265 --enable-nonfree libavutil 56. 38.100 / 56. 38.100 libavcodec 58. 65.103 / 58. 65.103 libavformat 58. 35.102 / 58. 35.102 libavdevice 58. 9.103 / 58. 9.103 libavfilter 7. 71.100 / 7. 71.100 libswscale 5. 6.100 / 5. 6.100 libswresample 3. 6.100 / 3. 6.100 libpostproc 55. 6.100 / 55. 6.100 Splitting the commandline. Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'. Reading option '-i' ... matched as input url with argument 'in.mp4'. Reading option '-f' ... matched as option 'f' (force format) with argument 'hls'. Reading option '-hls_flags' ... matched as AVOption 'hls_flags' with argument 'single_file'. Reading option 'out.m3u8' ... matched as output url. Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'. Finished splitting the commandline. Parsing a group of options: global . Applying option report (generate a report) with argument 1. Applying option y (overwrite output files) with argument 1. Successfully parsed a group of options. Parsing a group of options: input url in.mp4. Successfully parsed a group of options. Opening an input file: in.mp4. [NULL @ 0x56209c726140] Opening 'in.mp4' for reading [file @ 0x56209c728340] Setting default whitelist 'file,crypto' [mov,mp4,m4a,3gp,3g2,mj2 @ 0x56209c726140] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x56209c726140] ISO: File Type Major Brand: isom [mov,mp4,m4a,3gp,3g2,mj2 @ 0x56209c726140] Unknown dref type 0x206c7275 size 12 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x56209c726140] Processing st: 0, edit list 0 - media time: 0, duration: 441353 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x56209c726140] Before avformat_find_stream_info() pos: 238009 bytes read:35244 seeks:1 nb_streams:1 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x56209c726140] All info found [mov,mp4,m4a,3gp,3g2,mj2 @ 0x56209c726140] After avformat_find_stream_info() pos: 50 bytes read:68012 seeks:2 frames:1 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'in.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2mp41 encoder : Lavf58.29.100 Duration: 00:00:10.01, start: 0.000000, bitrate: 190 kb/s Stream #0:0(und), 1, 1/44100: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 188 kb/s (default) Metadata: handler_name : SoundHandler Successfully opened the file. Parsing a group of options: output url out.m3u8. Applying option f (force format) with argument hls. Successfully parsed a group of options. Opening an output file: out.m3u8. Successfully opened the file. Stream mapping: Stream #0:0 -> #0:0 (aac (native) -> aac (native)) Press [q] to stop, [?] for help cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream) detected 8 logical cores [graph_0_in_0_0 @ 0x56209c7e5e40] Setting 'time_base' to value '1/44100' [graph_0_in_0_0 @ 0x56209c7e5e40] Setting 'sample_rate' to value '44100' [graph_0_in_0_0 @ 0x56209c7e5e40] Setting 'sample_fmt' to value 'fltp' [graph_0_in_0_0 @ 0x56209c7e5e40] Setting 'channel_layout' to value '0x3' [graph_0_in_0_0 @ 0x56209c7e5e40] tb:1/44100 samplefmt:fltp samplerate:44100 chlayout:0x3 [format_out_0_0 @ 0x56209c7e64c0] Setting 'sample_fmts' to value 'fltp' [format_out_0_0 @ 0x56209c7e64c0] Setting 'sample_rates' to value '96000|88200|64000|48000|44100|32000|24000|22050|16000|12000|11025|8000|7350' [AVFilterGraph @ 0x56209c755ac0] query_formats: 4 queried, 9 merged, 0 already done, 0 delayed [hls @ 0x56209c741180] Opening 'out.ts' for writing [file @ 0x56209c885b40] Setting default whitelist 'file,crypto' [mpegts @ 0x56209c7e73c0] frame size not set [mpegts @ 0x56209c7e73c0] service 1 using PCR in pid=256, pcr_period=93ms [mpegts @ 0x56209c7e73c0] muxrate VBR, sdt every 1073741822000 ms, pat/pmt every 1073741822000 ms Output #0, hls, to 'out.m3u8': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2mp41 encoder : Lavf58.35.102 Stream #0:0(und), 0, 1/90000: Audio: aac (LC), 44100 Hz, stereo, fltp, 128 kb/s (default) Metadata: handler_name : SoundHandler encoder : Lavc58.65.103 aac cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream) [hls @ 0x56209c741180] Opening 'out.m3u8.tmp' for writing [file @ 0x56209c8d4880] Setting default whitelist 'file,crypto' EXT-X-MEDIA-SEQUENCE:0 [AVIOContext @ 0x56209c8d2780] Statistics: 0 seeks, 1 writeouts [hls @ 0x56209c741180] Opening 'out.m3u8.tmp' for writing [file @ 0x56209c8da540] Setting default whitelist 'file,crypto' EXT-X-MEDIA-SEQUENCE:0 [AVIOContext @ 0x56209c8d4880] Statistics: 0 seeks, 1 writeouts [hls @ 0x56209c741180] Opening 'out.m3u8.tmp' for writing [file @ 0x56209c8da540] Setting default whitelist 'file,crypto' EXT-X-MEDIA-SEQUENCE:0 [AVIOContext @ 0x56209c8d4880] Statistics: 0 seeks, 1 writeouts [hls @ 0x56209c741180] Opening 'out.m3u8.tmp' for writing [file @ 0x56209c8da540] Setting default whitelist 'file,crypto' EXT-X-MEDIA-SEQUENCE:0 [AVIOContext @ 0x56209c8e5680] Statistics: 0 seeks, 1 writeouts [out_0_0 @ 0x56209c7e6e40] EOF on sink link out_0_0:default. No more output streams to write to, finishing. [hls @ 0x56209c741180] Opening 'out.m3u8.tmp' for writing [file @ 0x56209c8ede40] Setting default whitelist 'file,crypto' EXT-X-MEDIA-SEQUENCE:0 [AVIOContext @ 0x56209c8e5680] Statistics: 0 seeks, 1 writeouts [AVIOContext @ 0x56209c8c5c80] Statistics: 0 seeks, 6 writeouts [hls @ 0x56209c741180] Opening 'out.m3u8.tmp' for writing [file @ 0x56209c8da540] Setting default whitelist 'file,crypto' EXT-X-MEDIA-SEQUENCE:0 [AVIOContext @ 0x56209c8e5680] Statistics: 0 seeks, 1 writeouts size=N/A time=00:00:10.00 bitrate=N/A speed=61.8x video:0kB audio:159kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown Input file #0 (in.mp4): Input stream #0:0 (audio): 431 packets read (235489 bytes); 431 frames decoded (441344 samples); Total: 431 packets (235489 bytes) demuxed Output file #0 (out.m3u8): Output stream #0:0 (audio): 431 frames encoded (441344 samples); 432 packets muxed (162595 bytes); Total: 432 packets (162595 bytes) muxed 431 frames successfully decoded, 0 decoding errors [aac @ 0x56209c72f180] Qavg: 631.204 [AVIOContext @ 0x56209c730700] Statistics: 273209 bytes read, 2 seeks }}} -- Ticket URL: <https://trac.ffmpeg.org/ticket/8467#comment:2> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org https://ffmpeg.org/mailman/listinfo/ffmpeg-trac To unsubscribe, visit link above, or email ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".