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

FFmpeg trac at avcodec.org
Sun Jul 22 12:44: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 feelart):

 Working OK with.


 # 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 Sep 24 2011 17:41:15 with gcc 4.5.2
   configuration: --prefix=/usr --cpu=i686 --enable-libmp3lame --enable-
 libx264 --enable-libfaac --enable-pthreads --enable-small --enable-
 postproc --enable-libvorbis --enable-gpl --enable-shared --enable-nonfree
 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-debug
 --enable-bzlib --enable-zlib --enable-libspeex --enable-version3 --enable-
 runtime-cpudetect --enable-x11grab --enable-libdc1394 --enable-
 libschroedinger --enable-libtheora --enable-libxvid --enable-swscale
 --enable-libvpx
   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

 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: 689 kb/s
     Stream #0.0(und): Video: mpeg4, yuv420p, 1280x720 [PAR 1:1 DAR 16:9],
 621 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
 File 'out.avi' already exists. Overwrite ? [y/N] y
 [buffer @ 0x805f860] 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= 18 q=2.0 Lsize=    7015kB time=00:00:49.02
 bitrate=1172.2kbits/s
 video:6559kB audio:383kB global headers:0kB muxing overhead 1.042639%
 #

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


More information about the FFmpeg-trac mailing list