[FFmpeg-trac] #7282(undetermined:new): ffmpeg generates improper HE-AACv2 fMP4 files
FFmpeg
trac at avcodec.org
Mon Jul 16 11:23:32 EEST 2018
#7282: ffmpeg generates improper HE-AACv2 fMP4 files
-------------------------------------+-------------------------------------
Reporter: ronak2121 | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: git-master | undetermined
Keywords: | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by stevenliu):
I cannot sure if i make a error sample:
but the input audio file duration is 00:01:49.60,
the duration of output after use mediafilesegmenter is 00:01:59.50
Is that correct?
{{{
localhost:xxx StevenLiu$ ffmpeg -i test_audio.mp4
ffmpeg version N-83894-g4e3cc4b Copyright (c) 2000-2017 the FFmpeg
developers
built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
configuration: --enable-libass --enable-opengl --enable-libx264
--enable-libmp3lame --enable-gpl --enable-nonfree --prefix=/usr/local
--enable-libopencv --enable-libtesseract --enable-libspeex --enable-
libfreetype --enable-libfontconfig --enable-libfdk-aac --enable-
videotoolbox
libavutil 55. 48.100 / 55. 48.100
libavcodec 57. 83.100 / 57. 83.100
libavformat 57. 66.104 / 57. 66.104
libavdevice 57. 3.100 / 57. 3.100
libavfilter 6. 76.100 / 6. 76.100
libswscale 4. 3.101 / 4. 3.101
libswresample 2. 4.100 / 2. 4.100
libpostproc 54. 2.100 / 54. 2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test_audio.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2mp41
encoder : Lavf57.66.104
Duration: 00:01:49.60, start: 0.000000, bitrate: 31 kb/s
Stream #0:0(und): Audio: aac (HE-AACv2) (mp4a / 0x6134706D), 44100 Hz,
stereo, fltp, 30 kb/s (default)
Metadata:
handler_name : SoundHandler
At least one output file must be specified
localhost:xxx StevenLiu$ mediafilesegmenter -a -s -r -B test2 -i
test2.m3u8 -t 10 test_audio.mp4
Jul 16 2018 16:21:08.168: ISO fragmented mode, forcing segments to start
with I-Frame
Jul 16 2018 16:21:08.169: Processing file
/Users/StevenLiu/multimedia/ffmpeg/xxx/test_audio.mp4
Jul 16 2018 16:21:08.202: Wrote 0 to 616 to test2.mp4
Jul 16 2018 16:21:08.206: Wrote 616 to 40133 to test2.mp4
Jul 16 2018 16:21:08.207: segment bitrate 31.66 kbits/sec is new max
Jul 16 2018 16:21:08.215: Wrote 40133 to 79650 to test2.mp4
Jul 16 2018 16:21:08.220: Wrote 79650 to 119167 to test2.mp4
Jul 16 2018 16:21:08.225: Wrote 119167 to 158685 to test2.mp4
Jul 16 2018 16:21:08.225: segment bitrate 31.66 kbits/sec is new max
Jul 16 2018 16:21:08.229: Wrote 158685 to 198202 to test2.mp4
Jul 16 2018 16:21:08.236: Wrote 198202 to 237719 to test2.mp4
Jul 16 2018 16:21:08.240: Wrote 237719 to 277237 to test2.mp4
Jul 16 2018 16:21:08.246: Wrote 277237 to 316754 to test2.mp4
Jul 16 2018 16:21:08.251: Wrote 316754 to 356271 to test2.mp4
Jul 16 2018 16:21:08.256: Wrote 356271 to 395789 to test2.mp4
Jul 16 2018 16:21:08.261: Wrote 395789 to 434392 to test2.mp4
Jul 16 2018 16:21:08.261: segment bitrate 31.67 kbits/sec is new max
Jul 16 2018 16:21:08.262: average bit rate is 31.71 kbits/sec - max file
bit rate is 31.67 kbits/sec
localhost:xxx StevenLiu$ ffmpeg -i test2.mp4
ffmpeg version N-83894-g4e3cc4b Copyright (c) 2000-2017 the FFmpeg
developers
built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
configuration: --enable-libass --enable-opengl --enable-libx264
--enable-libmp3lame --enable-gpl --enable-nonfree --prefix=/usr/local
--enable-libopencv --enable-libtesseract --enable-libspeex --enable-
libfreetype --enable-libfontconfig --enable-libfdk-aac --enable-
videotoolbox
libavutil 55. 48.100 / 55. 48.100
libavcodec 57. 83.100 / 57. 83.100
libavformat 57. 66.104 / 57. 66.104
libavdevice 57. 3.100 / 57. 3.100
libavfilter 6. 76.100 / 6. 76.100
libswscale 4. 3.101 / 4. 3.101
libswresample 2. 4.100 / 2. 4.100
libpostproc 54. 2.100 / 54. 2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test2.mp4':
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: mp41mp42isomhlsf
creation_time : 2018-07-16T08:21:08.000000Z
Duration: 00:01:59.50, start: 9.904218, bitrate: 29 kb/s
Stream #0:0(und): Audio: aac (HE-AACv2) (mp4a / 0x6134706D), 44100 Hz,
stereo, fltp, 28 kb/s (default)
Metadata:
creation_time : 2018-07-16T08:21:08.000000Z
handler_name : Core Media Audio
At least one output file must be specified
localhost:xxx StevenLiu$
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7282#comment:12>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list