[FFmpeg-trac] #1493(FFmpeg:new): Transcoding MOV file from Rhozet Carbon Server creates video with double duration

FFmpeg trac at avcodec.org
Fri Jun 29 18:14:23 CEST 2012


#1493: Transcoding MOV file from Rhozet Carbon Server creates video with double
duration
-------------------------------------+-------------------------------------
             Reporter:  kbreeman     |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  FFmpeg
              Version:  git-master   |               Resolution:
             Keywords:  double       |               Blocked By:
  duration rhozet carbon server      |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by kbreeman):

 We normally specify bitrate and a bunch of other options, I submitted the
 bug with the minimal command-line options needed to reproduce.

 I don't have a way of trimming down this particular file and still
 reproducing the bug.
 The content of the video is an elderly woman discussing Osteoporosis.

 Here is the output of mediainfo -F on the source file:
 {{{
 General
 Count                                    : 278
 Count of stream of this kind             : 1
 Kind of stream                           : General
 Kind of stream                           : General
 Stream identifier                        : 0
 Count of video streams                   : 1
 Count of audio streams                   : 1
 Video_Format_List                        : AVC
 Video_Format_WithHint_List               : AVC
 Codecs Video                             : AVC
 Video_Language_List                      : English
 Audio_Format_List                        : PCM
 Audio_Format_WithHint_List               : PCM
 Audio codecs                             : PCM
 Audio_Language_List                      : English
 Complete name                            :
 transcodes_to_double_duration.mov
 File name                                :
 transcodes_to_double_duration.mov
 File extension                           : mov
 Format                                   : MPEG-4
 Format                                   : MPEG-4
 Format/Extensions usually used           : mp4 m4v m4a m4b m4p 3gpp 3gp
 3gpp2 3g2 k3g jpm jpx mqv ismv isma f4v
 Commercial name                          : MPEG-4
 Format profile                           : QuickTime
 Internet media type                      : video/mp4
 Codec ID                                 : qt
 Codec ID/Url                             :
 http://www.apple.com/quicktime/download/standalone.html
 Codec                                    : MPEG-4
 Codec                                    : MPEG-4
 Codec/Extensions usually used            : mp4 m4v m4a m4b m4p 3gpp 3gp
 3gpp2 3g2 k3g jpm jpx mqv ismv isma f4v
 File size                                : 503881220
 File size                                : 481 MiB
 File size                                : 481 MiB
 File size                                : 481 MiB
 File size                                : 481 MiB
 File size                                : 480.5 MiB
 Duration                                 : 254400
 Duration                                 : 4mn 14s
 Duration                                 : 4mn 14s 400ms
 Duration                                 : 4mn 14s
 Duration                                 : 00:04:14.400
 Overall bit rate                         : 15845321
 Overall bit rate                         : 15.8 Mbps
 Stream size                              : 161024
 Stream size                              : 157 KiB (0%)
 Stream size                              : 157 KiB
 Stream size                              : 157 KiB
 Stream size                              : 157 KiB
 Stream size                              : 157.2 KiB
 Stream size                              : 157 KiB (0%)
 Proportion of this stream                : 0.00032
 HeaderSize                               : 40
 DataSize                                 : 503720204
 FooterSize                               : 160976
 IsStreamable                             : No
 Encoded date                             : UTC 2009-08-31 13:49:30
 Tagged date                              : UTC 2009-08-31 14:21:04
 File last modification date              : UTC 2012-06-28 19:38:07
 File last modification date (local)      : 2012-06-28 15:38:07
 Writing library                          : Apple QuickTime
 Writing library                          : Apple QuickTime
 Writing library/Name                     : Apple QuickTime

 Video
 Count                                    : 204
 Count of stream of this kind             : 1
 Kind of stream                           : Video
 Kind of stream                           : Video
 Stream identifier                        : 0
 ID                                       : 1
 ID                                       : 1
 Format                                   : AVC
 Format/Info                              : Advanced Video Codec
 Format/Url                               :
 http://developers.videolan.org/x264.html
 Commercial name                          : AVC
 Format profile                           : Main at L4.1
 Format settings                          : 2 Ref Frames
 Format settings, CABAC                   : No
 Format settings, CABAC                   : No
 Format settings, ReFrames                : 2
 Format settings, ReFrames                : 2 frames
 Internet media type                      : video/H264
 Codec ID                                 : avc1
 Codec ID/Info                            : Advanced Video Coding
 Codec ID/Url                             :
 http://www.apple.com/quicktime/download/standalone.html
 Codec                                    : AVC
 Codec                                    : AVC
 Codec/Family                             : AVC
 Codec/Info                               : Advanced Video Codec
 Codec/Url                                :
 http://developers.videolan.org/x264.html
 Codec/CC                                 : avc1
 Codec profile                            : Main at L4.1
 Codec settings                           : 2 Ref Frames
 Codec settings, CABAC                    : No
 Codec_Settings_RefFrames                 : 2
 Duration                                 : 254400
 Duration                                 : 4mn 14s
 Duration                                 : 4mn 14s 400ms
 Duration                                 : 4mn 14s
 Duration                                 : 00:04:14.400
 Bit rate                                 : 14304258
 Bit rate                                 : 14.3 Mbps
 Width                                    : 1024
 Width                                    : 1 024 pixels
 Height                                   : 574
 Height                                   : 574 pixels
 Pixel aspect ratio                       : 1.000
 Display aspect ratio                     : 1.784
 Display aspect ratio                     : 16:9
 Rotation                                 : 0.000
 Frame rate mode                          : CFR
 Frame rate mode                          : Constant
 Frame rate                               : 25.000
 Frame rate                               : 25.000 fps
 Frame count                              : 6360
 Resolution                               : 8
 Resolution                               : 8 bits
 Colorimetry                              : 4:2:0
 Color space                              : YUV
 Chroma subsampling                       : 4:2:0
 Bit depth                                : 8
 Bit depth                                : 8 bits
 Scan type                                : Progressive
 Scan type                                : Progressive
 Interlacement                            : PPF
 Interlacement                            : Progressive
 Bits/(Pixel*Frame)                       : 0.973
 Stream size                              : 454875396
 Stream size                              : 434 MiB (90%)
 Stream size                              : 434 MiB
 Stream size                              : 434 MiB
 Stream size                              : 434 MiB
 Stream size                              : 433.8 MiB
 Stream size                              : 434 MiB (90%)
 Proportion of this stream                : 0.90274
 Language                                 : en
 Language                                 : English
 Language                                 : English
 Language                                 : en
 Language                                 : eng
 Language                                 : en
 Encoded date                             : UTC 2009-08-31 13:49:35
 Tagged date                              : UTC 2009-08-31 14:21:04
 Color primaries                          : BT.709-5, BT.1361, IEC
 61966-2-4, SMPTE RP177
 Transfer characteristics                 : BT.709-5, BT.1361
 Matrix coefficients                      : BT.709-5, BT.1361, IEC
 61966-2-4 709, SMPTE RP177

 Audio
 Count                                    : 169
 Count of stream of this kind             : 1
 Kind of stream                           : Audio
 Kind of stream                           : Audio
 Stream identifier                        : 0
 ID                                       : 2
 ID                                       : 2
 Format                                   : PCM
 Commercial name                          : PCM
 Format settings                          : Little / Signed
 Format settings, Endianness              : Little
 Format settings, Sign                    : Signed
 Codec ID                                 : sowt
 Codec ID/Url                             :
 http://www.apple.com/quicktime/download/standalone.html
 Codec                                    : PCM
 Codec                                    : PCM
 Codec/Family                             : PCM
 Codec/Url                                :
 http://www.apple.com/quicktime/download/standalone.html
 Codec/CC                                 : sowt
 Codec settings                           : Little / Signed
 Codec settings, Endianness               : Little
 Codec settings, Sign                     : Signed
 Duration                                 : 254400
 Duration                                 : 4mn 14s
 Duration                                 : 4mn 14s 400ms
 Duration                                 : 4mn 14s
 Duration                                 : 00:04:14.400
 Bit rate mode                            : CBR
 Bit rate mode                            : Constant
 Bit rate                                 : 1536000
 Bit rate                                 : 1 536 Kbps
 Channel(s)                               : 2
 Channel(s)                               : 2 channels
 Channel positions                        : Front: L R
 ChannelLayout                            : L R
 Sampling rate                            : 48000
 Sampling rate                            : 48.0 KHz
 Samples count                            : 12211200
 Frame count                              : 12211200
 Resolution                               : 16
 Resolution                               : 16 bits
 Bit depth                                : 16
 Bit depth                                : 16 bits
 Stream size                              : 48844800
 Stream size                              : 46.6 MiB (10%)
 Stream size                              : 47 MiB
 Stream size                              : 47 MiB
 Stream size                              : 46.6 MiB
 Stream size                              : 46.58 MiB
 Stream size                              : 46.6 MiB (10%)
 Proportion of this stream                : 0.09694
 Language                                 : en
 Language                                 : English
 Language                                 : English
 Language                                 : en
 Language                                 : eng
 Language                                 : en
 Encoded date                             : UTC 2009-08-31 13:49:35
 Tagged date                              : UTC 2009-08-31 14:21:04

 }}}

 Here is the output of mediainfo -F on the created file:
 {{{
 General
 Count                                    : 278
 Count of stream of this kind             : 1
 Kind of stream                           : General
 Kind of stream                           : General
 Stream identifier                        : 0
 Count of video streams                   : 1
 Count of audio streams                   : 1
 Video_Format_List                        : AVC
 Video_Format_WithHint_List               : AVC
 Codecs Video                             : AVC
 Video_Language_List                      : English
 Audio_Format_List                        : AAC
 Audio_Format_WithHint_List               : AAC
 Audio codecs                             : AAC LC
 Audio_Language_List                      : English
 Complete name                            : /tmp/output01.mp4
 Folder name                              : /tmp
 File name                                : output01
 File extension                           : mp4
 Format                                   : MPEG-4
 Format                                   : MPEG-4
 Format/Extensions usually used           : mp4 m4v m4a m4b m4p 3gpp 3gp
 3gpp2 3g2 k3g jpm jpx mqv ismv isma f4v
 Commercial name                          : MPEG-4
 Format profile                           : Base Media
 Internet media type                      : video/mp4
 Codec ID                                 : isom
 Codec ID/Url                             :
 http://www.apple.com/quicktime/download/standalone.html
 Codec                                    : MPEG-4
 Codec                                    : MPEG-4
 Codec/Extensions usually used            : mp4 m4v m4a m4b m4p 3gpp 3gp
 3gpp2 3g2 k3g jpm jpx mqv ismv isma f4v
 File size                                : 36106914
 File size                                : 34.4 MiB
 File size                                : 34 MiB
 File size                                : 34 MiB
 File size                                : 34.4 MiB
 File size                                : 34.43 MiB
 Duration                                 : 508760
 Duration                                 : 8mn 28s
 Duration                                 : 8mn 28s 760ms
 Duration                                 : 8mn 28s
 Duration                                 : 00:08:28.760
 Overall bit rate                         : 567763
 Overall bit rate                         : 568 Kbps
 Stream size                              : 271452
 Stream size                              : 265 KiB (1%)
 Stream size                              : 265 KiB
 Stream size                              : 265 KiB
 Stream size                              : 265 KiB
 Stream size                              : 265.1 KiB
 Stream size                              : 265 KiB (1%)
 Proportion of this stream                : 0.00752
 HeaderSize                               : 40
 DataSize                                 : 35835470
 FooterSize                               : 271404
 IsStreamable                             : No
 File last modification date              : UTC 2012-06-28 19:31:21
 File last modification date (local)      : 2012-06-28 15:31:21
 Writing application                      : Lavf54.11.100

 Video
 Count                                    : 201
 Count of stream of this kind             : 1
 Kind of stream                           : Video
 Kind of stream                           : Video
 Stream identifier                        : 0
 ID                                       : 1
 ID                                       : 1
 Format                                   : AVC
 Format/Info                              : Advanced Video Codec
 Format/Url                               :
 http://developers.videolan.org/x264.html
 Commercial name                          : AVC
 Format profile                           : High at L3.1
 Format settings                          : CABAC / 4 Ref Frames
 Format settings, CABAC                   : Yes
 Format settings, CABAC                   : Yes
 Format settings, ReFrames                : 4
 Format settings, ReFrames                : 4 frames
 Internet media type                      : video/H264
 Codec ID                                 : avc1
 Codec ID/Info                            : Advanced Video Coding
 Codec ID/Url                             :
 http://www.apple.com/quicktime/download/standalone.html
 Codec                                    : AVC
 Codec                                    : AVC
 Codec/Family                             : AVC
 Codec/Info                               : Advanced Video Codec
 Codec/Url                                :
 http://developers.videolan.org/x264.html
 Codec/CC                                 : avc1
 Codec profile                            : High at L3.1
 Codec settings                           : CABAC / 4 Ref Frames
 Codec settings, CABAC                    : Yes
 Codec_Settings_RefFrames                 : 4
 Duration                                 : 508760
 Duration                                 : 8mn 28s
 Duration                                 : 8mn 28s 760ms
 Duration                                 : 8mn 28s
 Duration                                 : 00:08:28.760
 Bit rate                                 : 499479
 Bit rate                                 : 499 Kbps
 Width                                    : 1024
 Width                                    : 1 024 pixels
 Height                                   : 574
 Height                                   : 574 pixels
 Pixel aspect ratio                       : 1.000
 Display aspect ratio                     : 1.784
 Display aspect ratio                     : 16:9
 Rotation                                 : 0.000
 Frame rate mode                          : CFR
 Frame rate mode                          : Constant
 FrameRate_Mode_Original                  : VFR
 Frame rate                               : 25.000
 Frame rate                               : 25.000 fps
 Frame count                              : 12719
 Resolution                               : 8
 Resolution                               : 8 bits
 Colorimetry                              : 4:2:0
 Color space                              : YUV
 Chroma subsampling                       : 4:2:0
 Bit depth                                : 8
 Bit depth                                : 8 bits
 Scan type                                : Progressive
 Scan type                                : Progressive
 Interlacement                            : PPF
 Interlacement                            : Progressive
 Bits/(Pixel*Frame)                       : 0.034
 Stream size                              : 31764380
 Stream size                              : 30.3 MiB (88%)
 Stream size                              : 30 MiB
 Stream size                              : 30 MiB
 Stream size                              : 30.3 MiB
 Stream size                              : 30.29 MiB
 Stream size                              : 30.3 MiB (88%)
 Proportion of this stream                : 0.87973
 Writing library                          : x264 - core 118 r2085 8a62835
 Writing library                          : x264 core 118 r2085 8a62835
 Writing library/Name                     : x264
 Writing library/Version                  : core 118 r2085 8a62835
 Encoding settings                        : cabac=1 / ref=3 / deblock=1:0:0
 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 /
 mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 /
 deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 /
 sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 /
 constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 /
 direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25
 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 /
 crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 /
 aq=1:1.00
 Language                                 : en
 Language                                 : English
 Language                                 : English
 Language                                 : en
 Language                                 : eng
 Language                                 : en

 Audio
 Count                                    : 169
 Count of stream of this kind             : 1
 Kind of stream                           : Audio
 Kind of stream                           : Audio
 Stream identifier                        : 0
 ID                                       : 2
 ID                                       : 2
 Format                                   : AAC
 Format/Info                              : Advanced Audio Codec
 Commercial name                          : AAC
 Format profile                           : LC
 Codec ID                                 : 40
 Codec                                    : AAC LC
 Codec                                    : AAC LC
 Codec/Family                             : AAC
 Codec/CC                                 : 40
 Duration                                 : 254434
 Duration                                 : 4mn 14s
 Duration                                 : 4mn 14s 434ms
 Duration                                 : 4mn 14s
 Duration                                 : 00:04:14.434
 Duration_LastFrame                       : -9
 Duration_LastFrame                       : -9ms
 Duration_LastFrame                       : -9ms
 Duration_LastFrame                       : -9ms
 Duration_LastFrame                       : -00:00:00.009
 Bit rate mode                            : CBR
 Bit rate mode                            : Constant
 Bit rate                                 : 128004
 Bit rate                                 : 128 Kbps
 Channel(s)                               : 2
 Channel(s)                               : 2 channels
 Channel positions                        : Front: L R
 Channel positions                        : 2/0/0
 Sampling rate                            : 48000
 Sampling rate                            : 48.0 KHz
 Samples count                            : 12212832
 Compression mode                         : Lossy
 Compression mode                         : Lossy
 Stream size                              : 4071082
 Stream size                              : 3.88 MiB (11%)
 Stream size                              : 4 MiB
 Stream size                              : 3.9 MiB
 Stream size                              : 3.88 MiB
 Stream size                              : 3.882 MiB
 Stream size                              : 3.88 MiB (11%)
 Proportion of this stream                : 0.11275
 Language                                 : en
 Language                                 : English
 Language                                 : English
 Language                                 : en
 Language                                 : eng
 Language                                 : en
 }}}

 Please let me know if any further information is needed.

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


More information about the FFmpeg-trac mailing list