[FFmpeg-trac] #1435(undetermined:open): Remuxing aac from mov to avi breaks timestamps

FFmpeg trac at avcodec.org
Sun Jul 22 16:31:00 CEST 2012


#1435: Remuxing aac from mov to avi breaks timestamps
-------------------------------------+-------------------------------------
             Reporter:  feelart      |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:  avi aac      |               Resolution:
  desync                             |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by cehoyos):

 out.avi has broken timestamps with ffplay and mplayer.
 {{{
 $ ffmpeg -i acopy_mpeg4MP4.mp4 -acodec copy -qscale 2 out.avi
 ffmpeg version 0.8.4, Copyright (c) 2000-2011 the FFmpeg developers
   built on Jul 22 2012 16:08:34 with gcc 4.3.2
   configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-small
 --enable-libfaac --enable-nonfree
   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

 Seems stream 0 codec frame rate differs from container frame rate:
 30000.00 (30000/1) -> 29.97 (30000/1001)
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'acopy_mpeg4MP4.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2mp41
     encoder         : Lavf54.6.101
   Duration: 00:00:49.04, start: 0.000000, bitrate: 854 kb/s
     Stream #0.0(und): Video: mpeg4, yuv420p, 1280x720 [PAR 1:1 DAR 16:9],
 786 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 30k tbc
     Stream #0.1(und): Audio: aac, 24000 Hz, mono, s16, 64 kb/s
 [buffer @ 0x89e95c0] w:1280 h:720 pixfmt:yuv420p tb:1/1000000 sar:1/1
 sws_param:
 Output #0, avi, to 'out.avi':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2mp41
     ISFT            : Lavf53.4.0
     Stream #0.0(und): Video: mpeg4, yuv420p, 1280x720 [PAR 1:1 DAR 16:9],
 q=2-31, 200 kb/s, 29.97 tbn, 29.97 tbc
     Stream #0.1(und): Audio: libfaac, 24000 Hz, mono, 64 kb/s
 Stream mapping:
   Stream #0.0 -> #0.0
   Stream #0.1 -> #0.1
 Press [q] to stop, [?] for help
 frame= 1470 fps= 44 q=2.0 Lsize=    9237kB time=00:00:49.02
 bitrate=1543.6kbits/s
 video:8782kB audio:383kB global headers:0kB muxing overhead 0.789734%
 }}}

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


More information about the FFmpeg-trac mailing list