[FFmpeg-trac] #8333(avcodec:open): "dvvideo" decodes at wrong resolution and fps - result is corrupt

FFmpeg trac at avcodec.org
Thu Oct 24 15:55:31 EEST 2019


#8333: "dvvideo" decodes at wrong resolution and fps - result is corrupt
-------------------------------------+-------------------------------------
             Reporter:  not-         |                    Owner:
  implemented                        |
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  dvvideo      |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * keywords:  dv => dvvideo
 * status:  new => open
 * reproduced:  0 => 1


Comment:

 Not a regression afaict, the following shows the intended output.
 {{{
 diff --git a/libavcodec/dv_profile.c b/libavcodec/dv_profile.c
 index 66505c886b..4d08493bf8 100644
 --- a/libavcodec/dv_profile.c
 +++ b/libavcodec/dv_profile.c
 @@ -72,23 +72,6 @@ static const uint8_t block_sizes_dv100[8] = {

  static const AVDVProfile dv_profiles[] = {
      { .dsf                = 0,
 -      .video_stype        = 0x0,
 -      .frame_size         = 120000, /* IEC 61834, SMPTE-314M - 525/60
 (NTSC) */
 -      .difseg_size        = 10,
 -      .n_difchan          = 1,
 -      .time_base          = { 1001, 30000 },
 -      .ltc_divisor        = 30,
 -      .height             = 480,
 -      .width              = 720,
 -      .sar                = { { 8, 9 }, { 32, 27 } },
 -      .pix_fmt            = AV_PIX_FMT_YUV411P,
 -      .bpm                = 6,
 -      .block_sizes        = block_sizes_dv2550,
 -      .audio_stride       = 90,
 -      .audio_min_samples  = { 1580, 1452, 1053 }, /* for 48, 44.1 and
 32kHz */
 -      .audio_samples_dist = { 1600, 1602, 1602, 1602, 1602 },  /* per
 SMPTE-314M */
 -      .audio_shuffle      = dv_audio_shuffle525, },
 -    { .dsf                = 1,
        .video_stype        = 0x0,
        .frame_size         = 144000, /* IEC 61834 - 625/50 (PAL) */
        .difseg_size        = 12,
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8333#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list