Opened 3 years ago

Last modified 21 months ago

#2929 new enhancement

No duration estimation for dvvideo in mxf

Reported by: cehoyos Owned by:
Priority: wish Component: avformat
Version: git-master Keywords: mxf dvvideo
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

http://thread.gmane.org/gmane.comp.video.ffmpeg.user/47691
A user provided a sample with incorrectly estimated duration because the mxf demuxer stores no bitrate for dvvideo.

$ ffmpeg -i TESTSMOKE.mxf -f null -
ffmpeg version N-55962-gec8a484 Copyright (c) 2000-2013 the FFmpeg developers
  built on Sep  2 2013 10:17:48 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --enable-libzvbi --disable-indev=jack
  libavutil      52. 43.100 / 52. 43.100
  libavcodec     55. 31.100 / 55. 31.100
  libavformat    55. 15.100 / 55. 15.100
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 82.102 /  3. 82.102
  libswscale      2.  5.100 /  2.  5.100
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
[mxf @ 0x3699880] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, mxf, from 'TESTSMOKE.mxf':
  Metadata:
    uid             : 058bb481-067c-11e3-9682-a8968af1e82e
    generation_uid  : 058bb482-067c-11e3-a20e-a8968af1e82e
    company_name    : Autodesk
    product_name    : Smoke
    product_version : 2013
    application_platform: Mac OS X
    product_uid     : ec500c00-9200-11dc-940c-000d605329fa
    modification_date: 2013-08-16 13:59:09
    timecode        : 00:00:00:00
  Duration: 00:02:10.48, start: 0.000000, bitrate: 2303 kb/s
    Stream #0:0: Video: dvvideo, yuv422p, 720x576 [SAR 16:15 DAR 4:3], 25 fps, 25 tbr, 25 tbn, 25 tbc
    Stream #0:1: Audio: pcm_s24le, 48000 Hz, stereo, s32, 2304 kb/s
Output #0, null, to 'pipe:':
  Metadata:
    uid             : 058bb481-067c-11e3-9682-a8968af1e82e
    generation_uid  : 058bb482-067c-11e3-a20e-a8968af1e82e
    company_name    : Autodesk
    product_name    : Smoke
    product_version : 2013
    application_platform: Mac OS X
    product_uid     : ec500c00-9200-11dc-940c-000d605329fa
    modification_date: 2013-08-16 13:59:09
    timecode        : 00:00:00:00
    encoder         : Lavf55.15.100
    Stream #0:0: Video: rawvideo (Y42B / 0x42323459), yuv422p, 720x576 [SAR 16:15 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 25 tbc
    Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (dvvideo -> rawvideo)
  Stream #0:1 -> #0:1 (pcm_s24le -> pcm_s16le)
Press [q] to stop, [?] for help
[null @ 0x369d9a0] Encoder did not produce proper pts, making some up.
frame=  125 fps=0.0 q=0.0 Lsize=N/A time=00:00:05.00 bitrate=N/A
video:12kB audio:938kB subtitle:0 global headers:0kB muxing overhead -100.002263%

Change History (2)

comment:2 Changed 21 months ago by michael

  • Summary changed from Wrong duration estimation for dvvideo in mxf to No duration estimation for dvvideo in mxf

FFmpeg no longer shows a wrong duration, it shows N/A now

Note: See TracTickets for help on using tickets.