View Bug Details

IDProjectCategoryView StatusLast Update
0000418DCP-o-maticBugspublic2016-05-31 23:54
Reportercarl Assigned Tocarl  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Summary0000418: Start time / pre-roll problems
Description

There have been various problems with either content being trimmed from the start of movie files, or extra content being played that shouldn't be.

122e384b3c3d1bed9111b792640e3b0d0233c3a2 (in 1.69.14) took AVFormatContext start_time into account when calculating how long VideoContents are (i.e. duration - start_time = actual duration). This was in response to a bug report from sguha.

48c6b80a82ffb2865da5f592753ebde789694878 (in 1.72.12) reverted this.

sguha reports that in 1.73.0 "there is some color bars and cues (not seen in Quicktime) at the beginning, while the end is getting clipped considerably with no end credits.", which does not happen in 1.70. See the attached ffprobe.log; this ffprobe.log correctly describes the duration as 7:47 (sghua confirms that this is the duration the video should have when played back correctly).

TagsNo tags attached.
Branch
Estimated weeks required
Estimated work required

Activities

carl

2014-10-16 09:24

administrator  

ffprobe.log (3,057 bytes)   
ffprobe version N-64774-g98ac087 Copyright (c) 2007-2014 the FFmpeg developers
  built on Aug 26 2014 23:11:44 with gcc 4.7.3 (GCC)
  configuration: --disable-indev=jack --enable-gpl --enable-static --enable-shared --prefix=/tmp/tmpmGF_Dx --cross-prefix=x86_64-w64-mingw32- --enable-cross-compile --target-os=mingw32 --arch=x86-64 --sysinclude=//opt/mingw/64/64/x86_64-w64-mingw32 --extra-cflags='-I/tmp/tmpmGF_Dx/include -I/home/carl/Environments/windows/64/include' --extra-ldflags='-L/tmp/tmpmGF_Dx/lib -L/home/carl/Environments/windows/64/lib'
  libavutil      52. 92.101 / 52. 92.101
  libavcodec     55. 69.100 / 55. 69.100
  libavformat    55. 48.101 / 55. 48.101
  libavdevice    55. 13.102 / 55. 13.102
  libavfilter     4. 11.102 /  4. 11.102
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 19.100 /  0. 19.100
  libpostproc    52.  3.100 / 52.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'F:\Beyond Memories - Lexus Short Film.mov':
  Metadata:
    creation_time   : 2013-05-30 01:29:11
    timecode        : 00:58:30:00
  Duration: 00:07:47.47, start: -85.368702, bitrate: 154069 kb/s
    Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le, 1920x1080, 119007 kb/s, 23.97 fps, 23.98 tbr, 2997 tbn, 2997 tbc (default)
    Metadata:
      creation_time   : 2013-05-30 01:39:11
      handler_name    : Apple Alias Data Handler
      encoder         : Apple ProRes 422 (HQ)
      timecode        : 00:58:30:00
    Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels (FL), s32, 1152 kb/s (default)
    Metadata:
      creation_time   : 2013-05-30 01:39:11
      handler_name    : Apple Alias Data Handler
    Stream #0:2(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels (FR), s32, 1152 kb/s (default)
    Metadata:
      creation_time   : 2013-05-30 01:39:11
      handler_name    : Apple Alias Data Handler
    Stream #0:3(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
    Metadata:
      creation_time   : 2013-05-30 01:39:11
      handler_name    : Apple Alias Data Handler
    Stream #0:4(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels (LFE), s32, 1152 kb/s (default)
    Metadata:
      creation_time   : 2013-05-30 01:39:11
      handler_name    : Apple Alias Data Handler
    Stream #0:5(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels (BL), s32, 1152 kb/s (default)
    Metadata:
      creation_time   : 2013-05-30 01:39:11
      handler_name    : Apple Alias Data Handler
    Stream #0:6(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels (BR), s32, 1152 kb/s (default)
    Metadata:
      creation_time   : 2013-05-30 01:39:11
      handler_name    : Apple Alias Data Handler
    Stream #0:7(eng): Data: none (tmcd / 0x64636D74) (default)
    Metadata:
      creation_time   : 2013-05-30 01:39:11
      handler_name    : Apple Alias Data Handler
      timecode        : 00:58:30:00
Unsupported codec with id 0 for input stream 7
ffprobe.log (3,057 bytes)   

carl

2014-10-22 11:16

administrator   ~0000394

Branch mantis-418 added for work on this.

carl

2014-11-06 15:15

administrator   ~0000410

mantis-418 now does not play anything before time 0. sguha reports that it works in his test case.

carl

2014-12-12 01:09

administrator   ~0000439

I'll mark this as fixed; merged into master just after 1.76.28.

Bug History

Date Modified Username Field Change
2014-10-16 09:24 carl New Bug
2014-10-16 09:24 carl File Added: ffprobe.log
2014-10-21 23:09 carl Description Updated View Revisions
2014-10-22 11:16 carl Note Added: 0000394
2014-10-22 11:16 carl Assigned To => carl
2014-10-22 11:16 carl Status new => acknowledged
2014-11-06 15:15 carl Note Added: 0000410
2014-12-12 01:09 carl Note Added: 0000439
2014-12-12 01:09 carl Status acknowledged => resolved
2014-12-12 01:09 carl Resolution open => fixed
2016-05-31 23:54 carl Status resolved => closed