Duração incorreta para arquivos MOV H.264

1

Estamos usando o ffmpeg para obter os metadados dos arquivos de vídeo.

Para arquivos MOV H.264, o ffmpeg está incorretamente dando a duração de 00:05:34, enquanto a duração real do arquivo de vídeo é 00:00:30. É reproduzível com qualquer vídeo deste formato.

Estou usando o ffmpeg-0.6.6.

Exemplo de saída:

ffmpeg -i ~/FINAL_WOMENS_WEB_FALL13.mov
ffmpeg version 0.8.14, Copyright (c) 2000-2013 the FFmpeg developers
  built on Dec  2 2013 07:50:05 with gcc 4.4.6 20120305 (Red Hat 4.4.6-4)
  configuration: --prefix=/home/chethanp/work/multimedia/3rdparty/prefix64 --enable-shared --disable-static --extra-ldflags='-L/home/chethanp/work/multimedia/3rdparty/prefix64/lib -lpthread -lx264' --extra-cflags=-I/home/chethanp/work/multimedia/3rdparty/prefix64/include --disable-stripping --enable-nonfree --enable-gpl --disable-devices --enable-libmp3lame --enable-libfaac --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libxvid --enable-zlib --enable-libschroedinger --enable-libspeex --enable-libx264 --enable-libopenjpeg --enable-pthreads --enable-swscale --enable-avfilter --enable-hardcoded-tables --enable-memalign-hack --enable-gray --disable-debug
  libavutil    51.  9. 1 / 51.  9. 1
  libavcodec   53.  8. 0 / 53.  8. 0
  libavformat  53.  5. 0 / 53.  5. 0
  libavdevice  53.  1. 1 / 53.  1. 1
  libavfilter   2. 23. 0 /  2. 23. 0
  libswscale    2.  0. 0 /  2.  3.100
  libpostproc  51.  2. 0 / 51.  2. 0

Seems stream 1 codec frame rate differs from container frame rate: 5994.00 (5994/1) -> 23.98 (2997/125)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/chethanp/FINAL_WOMENS_WEB_FALL13.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2013-07-25 22:50:28
  Duration: 00:05:35.00, start: 0.000000, bitrate: 2972 kb/s
    Stream #0.0(eng): Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
    Metadata:
      creation_time   : 2013-07-25 22:50:28
    Stream #0.1(eng): Video: h264 (Main), yuv420p, 1280x720, 2845 kb/s, PAR 1:1 DAR 16:9, 2.15 fps, 23.98 tbr, 2997 tbn, 5994 tbc
    Metadata:
      creation_time   : 2013-07-25 22:50:28
At least one output file must be specified
    
por chethan prakash 02.12.2013 / 08:46

0 respostas

Tags