Opened 4 months ago

Last modified 4 months ago

#7607 open defect

Support MPEG-4 Simple Studio Profile with Interlacing

Reported by: dbuitenh Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: mpeg4ssp
Cc: kierank Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug:

MPEG-4 SSP support was added by Kieran recently, but he lacked any samples of interlaced SSP coded content, so support is currently broken (garbage image is output).

Happened upon a sample today at $dayjob, quite by accident. Full 4gb file has been provided to Kieran, and a 100mb cut is provided for trac here: http://chromashift.org/ffmpegsamps/interlaced_ssp.mxf

How to reproduce:

$ ffmpeg -i interlaced_ssp.mxf -f null -
ffmpeg version N-92504-g9f38001df5 Copyright (c) 2000-2018 the FFmpeg developers
  built with clang version 7.0.1-+rc2-4 (tags/RELEASE_701/rc2)
  configuration: --enable-shared --disable-static --enable-gpl --cc=clang
  libavutil      56. 23.101 / 56. 23.101
  libavcodec     58. 39.100 / 58. 39.100
  libavformat    58. 22.100 / 58. 22.100
  libavdevice    58.  6.100 / 58.  6.100
  libavfilter     7. 46.100 /  7. 46.100
  libswscale      5.  4.100 /  5.  4.100
  libswresample   3.  4.100 /  3.  4.100
  libpostproc    55.  4.100 / 55.  4.100
[mxf @ 0x1d5a6c0] Stream #0: not enough frames to estimate rate; consider increasing probesize
Guessed Channel Layout for Input Stream #0.1 : mono
Guessed Channel Layout for Input Stream #0.2 : mono
Guessed Channel Layout for Input Stream #0.3 : mono
Guessed Channel Layout for Input Stream #0.4 : mono
Guessed Channel Layout for Input Stream #0.5 : mono
Guessed Channel Layout for Input Stream #0.6 : mono
Guessed Channel Layout for Input Stream #0.7 : mono
Guessed Channel Layout for Input Stream #0.8 : mono
Guessed Channel Layout for Input Stream #0.9 : mono
Guessed Channel Layout for Input Stream #0.10 : mono
Guessed Channel Layout for Input Stream #0.11 : mono
Guessed Channel Layout for Input Stream #0.12 : mono
Guessed Channel Layout for Input Stream #0.13 : mono
Guessed Channel Layout for Input Stream #0.14 : mono
Guessed Channel Layout for Input Stream #0.15 : mono
Guessed Channel Layout for Input Stream #0.16 : mono
Input #0, mxf, from 'interlaced_ssp.mxf':
  Metadata:
    uid             : 90f7eba1-38e6-4b95-a88f-b3bf8ca92b84
    generation_uid  : 61b0c21c-ea2b-4e22-aaa9-3ace20dc3779
    company_name    : nablet
    product_name    : HDCAM SR Export
    product_version : 4.5.3.1545
    application_platform: Sony MXF Development Kit (MacOS X)
    product_uid     : cede4504-8280-11de-8a39-08004678031c
    modification_date: 2018-10-31T21:00:53.000000Z
    material_package_umid: 0x060A2B340101010501010D00130000000418DA5BF6D67004060E2B347F7F2A80
    timecode        : 00:59:53;00
  Duration: 00:00:37.04, start: 0.000000, bitrate: 22649 kb/s
    Stream #0:0: Video: mpeg4 (Simple Studio Profile), gbrp10le(top first), 1920x1088 [SAR 1:1 DAR 30:17], SAR 136:135 DAR 16:9, 29.97 tbr, 29.97 tbn, 29.97 tbc
    Metadata:
      file_package_umid: 0x060A2B340101010101010F00130000000418DA5B00D77004060E2B347F7F2A80
    Stream #0:1: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010101010F00130000000418DA5B00D77004060E2B347F7F2A80
    Stream #0:2: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010101010F00130000000418DA5B00D77004060E2B347F7F2A80
    Stream #0:3: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010101010F00130000000418DA5B00D77004060E2B347F7F2A80
    Stream #0:4: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010101010F00130000000418DA5B00D77004060E2B347F7F2A80
    Stream #0:5: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010101010F00130000000418DA5B00D77004060E2B347F7F2A80
    Stream #0:6: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010101010F00130000000418DA5B00D77004060E2B347F7F2A80
    Stream #0:7: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010101010F00130000000418DA5B00D77004060E2B347F7F2A80
    Stream #0:8: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010101010F00130000000418DA5B00D77004060E2B347F7F2A80
    Stream #0:9: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010101010F00130000000418DA5B00D77004060E2B347F7F2A80
    Stream #0:10: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010101010F00130000000418DA5B00D77004060E2B347F7F2A80
    Stream #0:11: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010101010F00130000000418DA5B00D77004060E2B347F7F2A80
    Stream #0:12: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010101010F00130000000418DA5B00D77004060E2B347F7F2A80
    Stream #0:13: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010101010F00130000000418DA5B00D77004060E2B347F7F2A80
    Stream #0:14: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010101010F00130000000418DA5B00D77004060E2B347F7F2A80
    Stream #0:15: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010101010F00130000000418DA5B00D77004060E2B347F7F2A80
    Stream #0:16: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010101010F00130000000418DA5B00D77004060E2B347F7F2A80
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> wrapped_avframe (native))
  Stream #0:1 -> #0:1 (pcm_s24le (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
[mpeg4 @ 0x1da3f40] illegal ac coefficient group vlc
[mpeg4 @ 0x1da3f40] Error at MB: 0
[mpeg4 @ 0x1da3f40] illegal ac coefficient group vlc
[mpeg4 @ 0x1da3f40] Error at MB: 2
[mpeg4 @ 0x1da3f40] Marker bit missing at 5095 of 30000000 dct_dc_size > 8
[mpeg4 @ 0x1da3f40] Error at MB: 4
[mpeg4 @ 0x1da3f40] illegal ac coefficient group vlc
[mpeg4 @ 0x1da3f40] Error at MB: 6
[mpeg4 @ 0x1da3f40] illegal ac coefficient group vlc
[mpeg4 @ 0x1da3f40] Error at MB: 8
[mpeg4 @ 0x1da3f40] illegal ac coefficient group vlc
[mpeg4 @ 0x1da3f40] Error at MB: 10
[mpeg4 @ 0x1da3f40] Marker bit missing at 12841 of 30000000 dct_dc_size > 8
[mpeg4 @ 0x1da3f40] Error at MB: 12
[mpeg4 @ 0x1da3f40] Marker bit missing at 15607 of 30000000 dct_dc_size > 8
[mpeg4 @ 0x1da3f40] Error at MB: 14
[mpeg4 @ 0x1da3f40] illegal ac coefficient group vlc
[mpeg4 @ 0x1da3f40] Error at MB: 16
[mpeg4 @ 0x1da3f40] illegal ac coefficient group vlc
[mpeg4 @ 0x1da3f40] Error at MB: 18
[mpeg4 @ 0x1da3f40] Marker bit missing at 23879 of 30000000 dct_dc_size > 8
[mpeg4 @ 0x1da3f40] Error at MB: 20
[mpeg4 @ 0x1da3f40] illegal ac coefficient group vlc

... <snip> ... continued for many megabytes of text

Change History (1)

comment:1 Changed 4 months ago by cehoyos

  • Status changed from new to open
  • Type changed from enhancement to defect
Note: See TracTickets for help on using tickets.