[FFmpeg-trac] #5514(avcodec:new): Interlaced HEVC Steam not Decoded Properly

FFmpeg trac at avcodec.org
Thu May 5 21:46:10 CEST 2016


#5514: Interlaced HEVC Steam not Decoded Properly
-------------------------------------+-------------------------------------
             Reporter:  jlsantiago0  |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:  avcodec      |                  Version:  git-
             Keywords:               |  master
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------
 Summary of the bug:

 I have a 480i interlaced HEVC elementary stream. The HM reference decoder
 decodes the stream and generates 720x480 interlaced frames. FFMPEG/FFPLAY
 decodes the stream and 720x240 progressive frames and FFPLAY plays them at
 half the frame rate with the first/second field/frames bouncing up and
 down a line because these are actually 2 different fields of the same
 frame.

 How to reproduce:
 {{{

 ffmpeg -i src13_interlaced.265 src13_interaced.yuv
 ffplay src13_interlaced.265


 $ ffmpeg -i src13_interlaced.265 src13_interaced.yuv
 ffmpeg version git-2016-04-27-7bccbee-VF Copyright (c) 2000-2016 the
 FFmpeg developers
   built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16)
   configuration: --extra-version=VF
 --prefix=/mnt/kermit/work/git/ort/build/linux64/stage/ffmpeg
 --ld=/usr/bin/cc --target-os=linux --arch=x86_64 --cpu=x86_64 --enable-pic
 --enable-static --enable-shared --enable-rpath --enable-avfilter --enable-
 pthreads --enable-zlib --enable-bzlib --enable-runtime-cpudetect --enable-
 hardcoded-tables --disable-stripping --disable-doc --disable-dxva2
 --disable-vaapi --disable-vda --disable-vdpau
 --yasmexe=/mnt/kermit/work/git/ort/build/linux64/tools/yasm/bin/yasm
 --sdl-config=/mnt/kermit/work/git/ort/build/linux64/stage/sdl/lib/../bin
 /sdl-config --extra-
 cflags='-I/mnt/kermit/work/git/ort/build/linux64/stage/zlib/include
 -I/mnt/kermit/work/git/ort/build/linux64/stage/bzip2/include
 -I/mnt/kermit/work/git/ort/build/linux64/stage/lzma/include
 -I/mnt/kermit/work/git/ort/build/linux64/stage/sdl/include
 -DVFBUILD_DISABLE_INTMATH_OPTIMIZATIONS=1' --extra-
 ldflags='-L/mnt/kermit/work/git/ort/build/linux64/stage/zlib/lib
 -L/mnt/kermit/work/git/ort/build/linux64/stage/bzip2/lib
 -L/mnt/kermit/work/git/ort/build/linux64/stage/lzma/lib
 -L/mnt/kermit/work/git/ort/build/linux64/stage/sdl/lib'
   libavutil      55. 19.100 / 55. 19.100
   libavcodec     57. 28.203 / 57. 28.203
   libavformat    57. 29.200 / 57. 29.200
   libavdevice    57.  0.101 / 57.  0.101
   libavfilter     6. 39.202 /  6. 39.202
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
 VFAVUtil_MetaData_RunUnitTests() Completed Successfully.
 Input #0, hevc, from 'src13_interlaced.265':
   Duration: N/A, bitrate: N/A
     Stream #0:0: Video: hevc (Main), yuv420p(tv), 720x240, 30 fps, 30 tbr,
 1200k tbn, 30 tbc
 Output #0, rawvideo, to 'src13_interaced.yuv':
   Metadata:
     encoder         : Lavf57.29.200
     Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 720x240,
 q=2-31, 200 kb/s, 30 fps, 30 tbn, 30 tbc
     Metadata:
       encoder         : Lavc57.28.203 rawvideo
 Stream mapping:
   Stream #0:0 -> #0:0 (hevc (native) -> rawvideo (native))
 Press [q] to stop, [?] for help
 frame=  336 fps=0.0 q=-0.0 size=   85050kB time=00:00:11.20
 bitrate=62208.0kbitsframe=  337 fps=263 q=-0.0 size=   85303kB
 time=00:00:11.23 bitrate=62208.0kbitsframe=  522 fps=337 q=-0.0 Lsize=
 132131kB time=00:00:17.40 bitrate=62208.0kbits/s speed=11.2x
 video:132131kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.000000%

 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5514>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list