[FFmpeg-trac] #1436(undetermined:new): transcoding .aac to mp4

FFmpeg trac at avcodec.org
Sun Jun 10 19:49:58 CEST 2012


#1436: transcoding .aac to mp4
-------------------------------------+-------------------------------------
             Reporter:  Silly        |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:  aac mp4      |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by Silly):

 This has succeeded producing a playable .mp4

 .wav to .mp4

 {{{
 $ ffmpeg -i the_reaper_stereo_44.1k.wav -strict experimental -acodec aac
 -y the_reaper_stereo_44.1k.mp4
 ffmpeg version N-41113-ge7cb161 Copyright (c) 2000-2012 the FFmpeg
 developers
   built on May 29 2012 19:26:04 with gcc 4.1.2 20080704 (Red Hat 4.1.2-52)
   configuration: --enable-gpl --enable-libmp3lame --enable-libtheora
 --enable-libvo-aacenc --enable-libvorbis --enable-libvpx --enable-libx264
 --enable-version3
   libavutil      51. 55.100 / 51. 55.100
   libavcodec     54. 23.100 / 54. 23.100
   libavformat    54.  6.101 / 54.  6.101
   libavdevice    54.  0.100 / 54.  0.100
   libavfilter     2. 77.100 /  2. 77.100
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0. 15.100 /  0. 15.100
   libpostproc    52.  0.100 / 52.  0.100
 [wav @ 0x855d100] max_analyze_duration 5000000 reached at 5015510
 Guessed Channel Layout for  Input Stream #0.0 : stereo
 Input #0, wav, from 'the_reaper_stereo_44.1k.wav':
   Metadata:
     title           : (Don't Fear) The Reaper
     artist          : Blue Öyster Cult
     date            : 1983
   Duration: 00:05:09.76, bitrate: 1411 kb/s
     Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz,
 stereo, s16, 1411 kb/s
 [aformat @ 0x858e660] auto-inserting filter 'auto-inserted resampler 0'
 between the filter 'src' and the filter 'aformat'
 [aresample @ 0x8560680] chl:stereo fmt:s16 r:44100Hz -> chl:stereo fmt:flt
 r:44100Hz
 Output #0, mp4, to 'the_reaper_stereo_44.1k.mp4':
   Metadata:
     title           : (Don't Fear) The Reaper
     artist          : Blue Öyster Cult
     date            : 1983
     encoder         : Lavf54.6.101
     Stream #0:0: Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo,
 flt, 128 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (pcm_s16le -> aac)
 Press [q] to stop, [?] for help
 size=    4935kB time=00:05:09.77 bitrate= 130.5kbits/s
 video:0kB audio:4882kB global headers:0kB muxing overhead 1.086087%
 }}}

 .aac to .mp3 to .mp4
 {{{
 $ ffmpeg -i the_reaper_stereo_44.1k.aac -strict experimental -acodec
 libmp3lame -y the_reaper_stereo_44.1k_aac.mp3
 ffmpeg version N-41113-ge7cb161 Copyright (c) 2000-2012 the FFmpeg
 developers
   built on May 29 2012 19:26:04 with gcc 4.1.2 20080704 (Red Hat 4.1.2-52)
   configuration: --enable-gpl --enable-libmp3lame --enable-libtheora
 --enable-libvo-aacenc --enable-libvorbis --enable-libvpx --enable-libx264
 --enable-version3
   libavutil      51. 55.100 / 51. 55.100
   libavcodec     54. 23.100 / 54. 23.100
   libavformat    54.  6.101 / 54.  6.101
   libavdevice    54.  0.100 / 54.  0.100
   libavfilter     2. 77.100 /  2. 77.100
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0. 15.100 /  0. 15.100
   libpostproc    52.  0.100 / 52.  0.100
 [aac @ 0x13dac100] max_analyze_duration 5000000 reached at 5015510
 [aac @ 0x13dac100] Estimating duration from bitrate, this may be
 inaccurate
 Input #0, aac, from 'the_reaper_stereo_44.1k.aac':
   Duration: 00:05:31.22, bitrate: 122 kb/s
     Stream #0:0: Audio: aac, 44100 Hz, stereo, s16, 122 kb/s
 Output #0, mp3, to 'the_reaper_stereo_44.1k_aac.mp3':
   Metadata:
     TSSE            : Lavf54.6.101
     Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16
 Stream mapping:
   Stream #0:0 -> #0:0 (aac -> libmp3lame)
 Press [q] to stop, [?] for help
 size=    4841kB time=00:08:41.16 bitrate=  76.1kbits/s
 video:0kB audio:4841kB global headers:0kB muxing overhead 0.003833%

 $ ffmpeg -i the_reaper_stereo_44.1k_aac.mp3 -y
 the_reaper_stereo_44.1k_aac_mp3.mp4
 ffmpeg version N-41113-ge7cb161 Copyright (c) 2000-2012 the FFmpeg
 developers
   built on May 29 2012 19:26:04 with gcc 4.1.2 20080704 (Red Hat 4.1.2-52)
   configuration: --enable-gpl --enable-libmp3lame --enable-libtheora
 --enable-libvo-aacenc --enable-libvorbis --enable-libvpx --enable-libx264
 --enable-version3
   libavutil      51. 55.100 / 51. 55.100
   libavcodec     54. 23.100 / 54. 23.100
   libavformat    54.  6.101 / 54.  6.101
   libavdevice    54.  0.100 / 54.  0.100
   libavfilter     2. 77.100 /  2. 77.100
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0. 15.100 /  0. 15.100
   libpostproc    52.  0.100 / 52.  0.100
 [mp3 @ 0xa6c2100] max_analyze_duration 5000000 reached at 5015510
 Input #0, mp3, from 'the_reaper_stereo_44.1k_aac.mp3':
   Metadata:
     encoder         : Lavf54.6.101
   Duration: 00:05:09.83, start: 0.000000, bitrate: 128 kb/s
     Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 128 kb/s
 Output #0, mp4, to 'the_reaper_stereo_44.1k_aac_mp3.mp4':
   Metadata:
     encoder         : Lavf54.6.101
     Stream #0:0: Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo,
 s16, 128 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (mp3 -> libvo_aacenc)
 Press [q] to stop, [?] for help
 size=    4895kB time=00:05:09.85 bitrate= 129.4kbits/s
 video:0kB audio:4842kB global headers:0kB muxing overhead 1.093016%

 $ ffmpeg -i the_reaper_stereo_44.1k_aac.mp3 -strict experimental -acodec
 aac  the_reaper_stereo_44.1k_mp3.mp4
 ffmpeg version N-41113-ge7cb161 Copyright (c) 2000-2012 the FFmpeg
 developers
   built on May 29 2012 19:26:04 with gcc 4.1.2 20080704 (Red Hat 4.1.2-52)
   configuration: --enable-gpl --enable-libmp3lame --enable-libtheora
 --enable-libvo-aacenc --enable-libvorbis --enable-libvpx --enable-libx264
 --enable-version3
   libavutil      51. 55.100 / 51. 55.100
   libavcodec     54. 23.100 / 54. 23.100
   libavformat    54.  6.101 / 54.  6.101
   libavdevice    54.  0.100 / 54.  0.100
   libavfilter     2. 77.100 /  2. 77.100
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0. 15.100 /  0. 15.100
   libpostproc    52.  0.100 / 52.  0.100
 [mp3 @ 0xfc2c100] max_analyze_duration 5000000 reached at 5015510
 Input #0, mp3, from 'the_reaper_stereo_44.1k_aac.mp3':
   Metadata:
     encoder         : Lavf54.6.101
   Duration: 00:05:09.83, start: 0.000000, bitrate: 128 kb/s
     Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 128 kb/s
 [aformat @ 0xfc5cf60] auto-inserting filter 'auto-inserted resampler 0'
 between the filter 'src' and the filter 'aformat'
 [aresample @ 0xfc53e80] chl:stereo fmt:s16 r:44100Hz -> chl:stereo fmt:flt
 r:44100Hz
 Output #0, mp4, to 'the_reaper_stereo_44.1k_mp3.mp4':
   Metadata:
     encoder         : Lavf54.6.101
     Stream #0:0: Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo,
 flt, 128 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (mp3 -> aac)
 Press [q] to stop, [?] for help
 size=    4816kB time=00:05:09.84 bitrate= 127.3kbits/s
 video:0kB audio:4763kB global headers:0kB muxing overhead 1.111131%
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1436#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list