[FFmpeg-trac] #3678(ffmpeg:new): Regressions in the video duration/bitrate report

FFmpeg trac at avcodec.org
Tue May 27 17:23:31 CEST 2014


#3678: Regressions in the video duration/bitrate report
---------------------------------+--------------------------------------
             Reporter:  Malizor  |                     Type:  defect
               Status:  new      |                 Priority:  normal
            Component:  ffmpeg   |                  Version:  git-master
             Keywords:           |               Blocked By:
             Blocking:           |  Reproduced by developer:  0
Analyzed by developer:  0        |
---------------------------------+--------------------------------------
 We noticed that, from version n1.1 and on, ffprobe reports wrong video
 duration/bitrate
 for a video file (MXF format).

 How to reproduce:
 {{{
 % ffprobe Sample.mxf
 }}}
 tested only on Linux, both 32 and 64bits.
 Interestingly, note that it works on the standard avconv of Ubuntu 14.04
 (9.13-6:9.13-0ubuntu0.14.04.1). We did not test with others avconv
 versions.

 I attached a small sample from the beginning of our video. The console
 output of
 the git HEAD, n1.1, and n1.0 (which is the last version tested without a
 problem) is given
 below:

 HEAD (commit 58632070866a529913355df1d9c7cc71fa91ffde)
 {{{
 ffprobe version N-63469-g5863207 Copyright (c) 2007-2014 the FFmpeg
 developers
   built on May 27 2014 16:20:47 with gcc 4.8 (Ubuntu/Linaro
 4.8.1-10ubuntu9)
   configuration:
   libavutil      52. 87.100 / 52. 87.100
   libavcodec     55. 65.100 / 55. 65.100
   libavformat    55. 41.100 / 55. 41.100
   libavdevice    55. 13.101 / 55. 13.101
   libavfilter     4.  5.100 /  4.  5.100
   libswscale      2.  6.100 /  2.  6.100
   libswresample   0. 19.100 /  0. 19.100
 [mxf @ 0x2252020] Estimating duration from bitrate, this may be inaccurate
 Input #0, mxf, from 'Sample.mxf':
   Metadata:
     uid             : 98a72bb5-4bba-e111-92d9-00d0280f7410
     generation_uid  : aca72bb5-4bba-e111-bc13-00d0280f7410
     company_name    : Omneon Inc.
     product_name    : Omneon Media Subsystem
     modification_date: 2012-06-19 20:16:52
     product_version : 6.3.1.0.release
     application_platform: Omneon Media Api (mqx)
     product_uid     : 00000000-0000-0010-8000-050e0b010602
     timecode        : 10:00:00:01
   Duration: 00:00:00.92, start: 0.000000, bitrate: 9118 kb/s
     Stream #0:0: Video: mpeg2video (4:2:2), yuv422p(tv), 720x608 [SAR
 152:135 DAR 4:3], max. 50000 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
     Stream #0:1: Audio: pcm_s24le, 48000 Hz, 8 channels, s32, 9216 kb/s
 }}}

 n1.1
 {{{
 ffprobe version 1.1 Copyright (c) 2007-2013 the FFmpeg developers
   built on May 27 2014 16:51:17 with gcc 4.8 (Ubuntu/Linaro
 4.8.1-10ubuntu9)
   configuration:
   libavutil      52. 13.100 / 52. 13.100
   libavcodec     54. 86.100 / 54. 86.100
   libavformat    54. 59.106 / 54. 59.106
   libavdevice    54.  3.102 / 54.  3.102
   libavfilter     3. 32.100 /  3. 32.100
   libswscale      2.  1.103 /  2.  1.103
   libswresample   0. 17.102 /  0. 17.102
 Truncating packet of size 250000 to 102381
 [mxf @ 0x1711c60] Estimating duration from bitrate, this may be inaccurate
 Input #0, mxf, from 'Sample.mxf':
   Metadata:
     timecode        : 10:00:00:01
   Duration: 00:00:00.92, start: 0.000000, bitrate: 9118 kb/s
     Stream #0:0: Video: mpeg2video (4:2:2), yuv422p, 720x608 [SAR 152:135
 DAR 4:3], 25 fps, 25 tbr, 25 tbn, 50 tbc
     Stream #0:1: Audio: pcm_s24le, 48000 Hz, 8 channels, s32, 9216 kb/s

 }}}

 n1.0
 {{{
 ffprobe version 1.0 Copyright (c) 2007-2012 the FFmpeg developers
   built on May 27 2014 16:46:03 with gcc 4.8 (Ubuntu/Linaro
 4.8.1-10ubuntu9)
   configuration:
   libavutil      51. 73.101 / 51. 73.101
   libavcodec     54. 59.100 / 54. 59.100
   libavformat    54. 29.104 / 54. 29.104
   libavdevice    54.  2.101 / 54.  2.101
   libavfilter     3. 17.100 /  3. 17.100
   libswscale      2.  1.101 /  2.  1.101
   libswresample   0. 15.100 /  0. 15.100
 Truncating packet of size 250000 to 102381
 [mxf @ 0x208f3e0] Estimating duration from bitrate, this may be inaccurate
 Input #0, mxf, from 'Sample.mxf':
   Metadata:
     timecode        : 10:00:00:01
   Duration: 00:00:00.16, start: 0.000000, bitrate: 52428 kb/s
     Stream #0:0: Video: mpeg2video (4:2:2), yuv422p, 720x608 [SAR 152:135
 DAR 4:3], 50000 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
     Stream #0:1: Audio: pcm_s24le, 48000 Hz, 8 channels, s32, 9216 kb/s

 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3678>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list