[FFmpeg-trac] #253(avformat:open): invalid stream time_base for avi/aac, after av_write_header()

FFmpeg trac at avcodec.org
Thu Jun 23 20:19:54 CEST 2011


#253: invalid stream time_base for avi/aac, after av_write_header()
-------------------------------------------------+-------------------------
Reporter:  Andrew                                |       Owner:
    Type:  defect                                |      Status:  open
Priority:  normal                                |   Component:  avformat
 Version:  git-master                            |  Resolution:
Keywords:  avi aac after av_write_header stream  |  Blocked By:
  time_base                                      |  Reproduced:  0
Blocking:                                        |
Analyzed:  0                                     |
-------------------------------------------------+-------------------------

Comment (by cehoyos):

 {{{
 $ ffmpeg -debug 1 -i fate-suite/aac/al04_44.mp4 -acodec copy out.mov
 ffmpeg version N-30972-gffc6c8a, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Jun 23 2011 19:31:19 with gcc 4.5.3
   configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc --enable-gpl
   libavutil    51.  9. 1 / 51.  9. 1
   libavcodec   53.  7. 0 / 53.  7. 0
   libavformat  53.  4. 0 / 53.  4. 0
   libavdevice  53.  1. 1 / 53.  1. 1
   libavfilter   2. 23. 0 /  2. 23. 0
   libswscale    2.  0. 0 /  2.  0. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x12bfd40] Format mov,mp4,m4a,3gp,3g2,mj2
 probed with size=2048 and score=100
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x12bfd40] ISO: File Type Major Brand: mp42
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x12bfd40] All info found
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'fate-suite/aac/al04_44.mp4':
   Metadata:
     major_brand     : mp42
     minor_version   : 0
     compatible_brands: mp42isom
     creation_time   : 2004-02-19 14:38:56
   Duration: 00:00:08.24, start: 0.000000, bitrate: 67 kb/s
     Stream #0.0(und), 1, 1/44100: Audio: aac, 44100 Hz, 1 channels, s16,
 63 kb/s
     Metadata:
       creation_time   : 2004-02-19 14:38:56
 Output #0, mov, to 'out.mov':
   Metadata:
     major_brand     : mp42
     minor_version   : 0
     compatible_brands: mp42isom
     creation_time   : 2004-02-19 14:38:56
     encoder         : Lavf53.4.0
     Stream #0.0(und), 0, 1/44100: Audio: aac, 44100 Hz, 1 channels, 63
 kb/s
     Metadata:
       creation_time   : 2004-02-19 14:38:56
 Stream mapping:
   Stream #0.0 -> #0.0
 Press [q] to stop, [?] for help
 size=      68kB time=00:00:08.24 bitrate=  67.4kbits/s
 video:0kB audio:64kB global headers:0kB muxing overhead 5.423580%
 }}}
 {{{
 $ ffmpeg -debug 1 -i fate-suite/aac/al04_44.mp4 -acodec copy out.avi
 ffmpeg version N-30972-gffc6c8a, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Jun 23 2011 19:31:19 with gcc 4.5.3
   configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc --enable-gpl
   libavutil    51.  9. 1 / 51.  9. 1
   libavcodec   53.  7. 0 / 53.  7. 0
   libavformat  53.  4. 0 / 53.  4. 0
   libavdevice  53.  1. 1 / 53.  1. 1
   libavfilter   2. 23. 0 /  2. 23. 0
   libswscale    2.  0. 0 /  2.  0. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x12bfd40] Format mov,mp4,m4a,3gp,3g2,mj2
 probed with size=2048 and score=100
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x12bfd40] ISO: File Type Major Brand: mp42
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x12bfd40] All info found
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'fate-suite/aac/al04_44.mp4':
   Metadata:
     major_brand     : mp42
     minor_version   : 0
     compatible_brands: mp42isom
     creation_time   : 2004-02-19 14:38:56
   Duration: 00:00:08.24, start: 0.000000, bitrate: 67 kb/s
     Stream #0.0(und), 1, 1/44100: Audio: aac, 44100 Hz, 1 channels, s16,
 63 kb/s
     Metadata:
       creation_time   : 2004-02-19 14:38:56
 Output #0, avi, to 'out.avi':
   Metadata:
     major_brand     : mp42
     minor_version   : 0
     compatible_brands: mp42isom
     creation_time   : 2004-02-19 14:38:56
     ISFT            : Lavf53.4.0
     Stream #0.0(und), 0, 256/11025: Audio: aac, 44100 Hz, 1 channels, 63
 kb/s
     Metadata:
       creation_time   : 2004-02-19 14:38:56
 Stream mapping:
   Stream #0.0 -> #0.0
 Press [q] to stop, [?] for help
 size=      78kB time=00:00:08.24 bitrate=  77.9kbits/s
 video:0kB audio:64kB global headers:0kB muxing overhead 21.826379%
 }}}

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


More information about the FFmpeg-trac mailing list