Opened 3 years ago

Closed 10 months ago

#5320 closed defect (fixed)

mxf: unable to seek in the file with ffplay (demuxer's errors)

Reported by: ami_stuff Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: mxf seek
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

ffmpeg -ss 10 -i seek_fail.mxf out.avi seems to work

http://www.datafilehost.com/d/2673d914

C:\>ffplay -ss 10 d:\seek_fail.mxf
ffplay version N-78598-g98a0053 Copyright (c) 2003-2016 the FFmpeg developers
  built with gcc 5.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l
ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enab
le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en
able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --ena
ble-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --
enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-lib
x265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-d
ecklink --enable-zlib
  libavutil      55. 18.100 / 55. 18.100
  libavcodec     57. 24.103 / 57. 24.103
  libavformat    57. 25.101 / 57. 25.101
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 34.100 /  6. 34.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
[mxf @ 009c8560] could not resolve material track strong reff=0/0
[mxf @ 009c8560] index entry 49 + TemporalOffset 1 = 50, which is out of bounds
[mxf @ 009c8560] IndexSID 101 starts at EditUnit 50 - seeking may not work as ex
pected
[mxf @ 009c8560] index entry 0 + TemporalOffset -2 = -2, which is out of bounds
[mxf @ 009c8560] index entry 49 + TemporalOffset 1 = 50, which is out of bounds
[mxf @ 009c8560] IndexSID 101 starts at EditUnit 50 - seeking may not work as ex
pected
[mxf @ 009c8560] index entry 0 + TemporalOffset -2 = -2, which is out of bounds
[mxf @ 009c8560] index entry 49 + TemporalOffset 1 = 50, which is out of bounds
[mxf @ 009c8560] IndexSID 101 starts at EditUnit 50 - seeking may not work as ex
pected
[mxf @ 009c8560] index entry 0 + TemporalOffset -2 = -2, which is out of bounds
[mxf @ 009c8560] index entry 49 + TemporalOffset 1 = 50, which is out of bounds
[mxf @ 009c8560] IndexSID 101 starts at EditUnit 50 - seeking may not work as ex
pected
[mxf @ 009c8560] index entry 0 + TemporalOffset -2 = -2, which is out of bounds
[mxf @ 009c8560] index entry 49 + TemporalOffset 1 = 50, which is out of bounds
[mxf @ 009c8560] IndexSID 101 starts at EditUnit 50 - seeking may not work as ex
pected
[mxf @ 009c8560] index entry 0 + TemporalOffset -2 = -2, which is out of bounds
[mxf @ 009c8560] index entry 49 + TemporalOffset 1 = 50, which is out of bounds
[mxf @ 009c8560] IndexSID 101 starts at EditUnit 50 - seeking may not work as ex
pected
[mxf @ 009c8560] index entry 0 + TemporalOffset -2 = -2, which is out of bounds
[mxf @ 009c8560] index entry 49 + TemporalOffset 1 = 50, which is out of bounds
[mxf @ 009c8560] got 28 index tables - only the first one (IndexSID 101) will be
 used
Input #0, mxf, from 'd:\seek_fail.mxf':vq=    0KB sq=    0B f=0/0
  Metadata:
    uid             : 396b1a32-cdfb-4888-beb0-c4d1137ea8d6
    generation_uid  : 0a3ef167-5562-4adb-b3f0-92f4276938d1
    company_name    : Grass Valley K.K.
    product_name    : P2
    product_version : 7.0
    product_uid     : a28f71f2-20b6-584c-b150-a248898a0feb
    modification_date: 2016-03-10 01:47:17
    material_package_umid: 0x060A2B340101010501010D2313000000244BE25E43E64879B10
CDCC3FE9FD04D
    timecode        : 00:00:00:00
  Duration: 00:00:13.68, start: 0.000000, bitrate: 16173 kb/s
    Stream #0:0: Video: h264 (High 4:2:2), yuv422p10le(tv, bt709), 1920x1080 [SA
R 1:1 DAR 16:9], 25 fps, 25 tbr, 25 tbn, 50 tbc
    Metadata:
      file_package_umid: 0x060A2B3401010105010106231300000051C9FA9ADF0F4847970C0
0922526374D
    Stream #0:1: Data: none
    Metadata:
      file_package_umid: 0x060A2B340101010501010C2313000000C4732AC89FA64E4182EDA
9C948213EAD
      data_type       : vbi_vanc_smpte_436M
    Stream #0:2: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
    Metadata:
      file_package_umid: 0x060A2B34010101050101082313000000FA8DAFC9DCE24D83A7C07
093E85C3640
    Stream #0:3: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
    Metadata:
      file_package_umid: 0x060A2B34010101050101082313000000FCE3F587CDA84E519A3D7
DACA298D40B
   0.87 A-V: -0.745 fd=   0 aq=    0KB vq=15375KB sq=    0B f=0/0

Change History (3)

comment:1 Changed 3 years ago by cehoyos

  • Component changed from undetermined to avformat
  • Keywords mxf seek added
  • Reproduced by developer set
  • Status changed from new to open
  • Version changed from unspecified to git-master

comment:2 Changed 10 months ago by cus

Fixed the warnings in c46e430c5bc790cd1b96f92a95a56b3da97f3f66 and for proper audio timestamps this probably needs e8e1c22f21eecca9269f6bb18c615acaf29d974f as well.

comment:3 Changed 10 months ago by cus

  • Resolution set to fixed
  • Status changed from open to closed
Note: See TracTickets for help on using tickets.