"[lavc] The 'vismv' option is deprecated, see the codecview filter instead."

Started by mm0359, October 29, 2016, 04:15:47 AM

Previous topic - Next topic

mm0359

Windows: XP.
(On Linux too, see http://avidemux.org/smif/index.php/topic,16439.msg72553.html#msg72553)

Load a h264/ts video. (For example.)

No warning: (not deprecated or no log, yet)

  Avidemux v  // v2.6.8

[lavc] Build: 3562596
[decoderFFH264] [lavc] Initializing H264 decoder with 0 extradata
[lavc] Decoder init: CODEC_ID_H264 video decoder initialized! (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)


Warning:

  Avidemux v2.6.9 (0) .
  Avidemux v2.6.10 (0) .

[lavc] Build: 3676772
[decoderFFH264] [lavc] Initializing H264 decoder with 0 extradata
[adm_lavLogCallback] [lavc] The 'vismv' option is deprecated, see the codecview filter instead.
[lavc] Decoder init: CODEC_ID_H264 video decoder initialized! (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)


  Avidemux v2.6.11 (0) .
  Avidemux v2.6.12 (0) .

[lavc] Build: 3680612
[decoderFFH264] [lavc] Initializing H264 decoder with 0 extradata
[adm_lavLogCallback] [lavc] The 'vismv' option is deprecated, see the codecview filter instead.
[lavc] Decoder init: CODEC_ID_H264 video decoder initialized! (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)


  Avidemux v2.6.13 (0) .
  Avidemux v2.6.14 (0) .
  Avidemux v2.6.14 (161024_8b5bfb9baa1) .

[lavc] Build: 3741798
[decoderFFH264] [lavc] Initializing H264 decoder with 0 extradata
[adm_lavLogCallback] [lavc] The 'vismv' option is deprecated, see the codecview filter instead.
[decoderFFH264] [lavc] Decoder init: AV_CODEC_ID_H264 video decoder initialized! (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)


Discuss/Do option switch.

mm0359

Ftr,

https://github.com/FFmpeg/FFmpeg/blob/e9a5fc967867f9bd361f472306ca130bb64b0b04/libavcodec/options_table.h

{"vismv", "visualize motion vectors (MVs) (deprecated)", OFFSET(debug_mv), AV_OPT_TYPE_FLAGS, {.i64 = DEFAULT }, 0, INT_MAX, V|D, "debug_mv"},


Debugging Macroblocks and Motion Vectors

Analyzing Motion Vectors

The ââ,¬â€¹`codecview` filter can be used to show motion vectors as small arrows for each macroblock. It takes one option called mv, which specifies the type of motion vector to be drawn:

    pf ââ,¬â€œ forward predicted motion vectors of P pictures
    bf ââ,¬â€œ forward predicted motion vectors of B pictures
    bb ââ,¬â€œ backward predicted motion vectors of B pictures


Caveats:

    Earlier versions of ffmpeg do not have this filter, but support the now deprecated -vismv option.


mm0359