Opened 19 months ago

Last modified 10 months ago

#5522 open defect

cfhd: interlaced output may be wrong

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

Description

ffmpeg's output is not as smooth as what original codec outputs (mismatch in fields?) - see attached files

C:\>d:\ffmpeg -i D:\cfhd_interlaced.avi d:\out.bmp
ffmpeg version N-79690-g78baa45 Copyright (c) 2000-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-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-lib
modplug --enable-libmfx --enable-libmp3lame --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enabl
e-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable
-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --ena
ble-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx
264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable
-lzma --enable-decklink --enable-zlib
  libavutil      55. 23.100 / 55. 23.100
  libavcodec     57. 38.100 / 57. 38.100
  libavformat    57. 34.103 / 57. 34.103
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 44.100 /  6. 44.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Input #0, avi, from 'D:\cfhd_interlaced.avi':
  Metadata:
    date            : 2016-05-08T00:39:19+02:00
    encoder         : Adobe Premiere Pro CC 2015 (Windows)
  Duration: 00:00:01.00, start: 0.000000, bitrate: 3475 kb/s
    Stream #0:0: Video: cfhd (CFHD / 0x44484643), yuv422p10le, 720x480, 1 fps, 1
 tbr, 1 tbn
[image2 @ 00000000025b0540] Using AVStream.codec to pass codec parameters to mux
ers is deprecated, use AVStream.codecpar instead.
Output #0, image2, to 'd:\out.bmp':
  Metadata:
    date            : 2016-05-08T00:39:19+02:00
    encoder         : Lavf57.34.103
    Stream #0:0: Video: bmp, bgr24, 720x480, q=2-31, 200 kb/s, 1 fps, 1 tbn
    Metadata:
      encoder         : Lavc57.38.100 bmp
Stream mapping:
  Stream #0:0 -> #0:0 (cfhd (native) -> bmp (native))
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:01.00 bitrate=N/A speed=25.6x

video:1013kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing
overhead: unknown

Attachments (6)

cfhd_interlaced.avi (424.2 KB) - added by ami_stuff 19 months ago.
output_from_original_codec.avi (541.8 KB) - added by ami_stuff 19 months ago.
filmscan2q_prog.avi (309.9 KB) - added by ami_stuff 18 months ago.
filmscan2q_int.avi (327.5 KB) - added by ami_stuff 18 months ago.
progressive_q_mediumhd.avi (1.7 MB) - added by ami_stuff 10 months ago.
interlaced_q_mediumhd.avi (1.7 MB) - added by ami_stuff 10 months ago.

Change History (11)

Changed 19 months ago by ami_stuff

Changed 19 months ago by ami_stuff

Changed 18 months ago by ami_stuff

Changed 18 months ago by ami_stuff

comment:1 Changed 18 months ago by ami_stuff

so yes, decoding interlaced video is buggy

comment:2 Changed 18 months ago by cehoyos

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

comment:3 Changed 10 months ago by richardpl

Could you find more interlaced samples as this is not enough to locate tag responsible for marking interlaced frame?

comment:4 Changed 10 months ago by ami_stuff

Here is one more sample:

https://files.fm/u/4qc3e934

Changed 10 months ago by ami_stuff

Changed 10 months ago by ami_stuff

comment:5 Changed 10 months ago by ami_stuff

attached another one

Note: See TracTickets for help on using tickets.