Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: mm0359 on October 29, 2016, 04:15:47 AM

Title: "[lavc] The 'vismv' option is deprecated, see the codecview filter instead."
Post by: mm0359 on October 29, 2016, 04:15:47 AM
Windows: XP.
(On Linux too, see http://avidemux.org/smif/index.php/topic,16439.msg72553.html#msg72553 (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.
Title: Re: "[lavc] The 'vismv' option is deprecated, see the codecview filter instead."
Post by: mm0359 on October 29, 2016, 04:31:03 AM
Ftr,

https://github.com/FFmpeg/FFmpeg/blob/e9a5fc967867f9bd361f472306ca130bb64b0b04/libavcodec/options_table.h (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 (https://trac.ffmpeg.org/wiki/Debug/MacroblocksAndMotionVectors)

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.
Title: Re: "[lavc] The 'vismv' option is deprecated, see the codecview filter instead."
Post by: mm0359 on October 29, 2016, 04:35:26 AM
https://github.com/mean00/avidemux2/search?utf8=%E2%9C%93&q=FF_SHOW (https://github.com/mean00/avidemux2/search?utf8=%E2%9C%93&q=FF_SHOW)
https://github.com/mean00/avidemux2/blob/eba13905b861d70d733f8c7c42c77503e5dfff3d/avidemux_core/ADM_coreVideoCodec/include/ADM_ffmp43.h#L151 (https://github.com/mean00/avidemux2/blob/eba13905b861d70d733f8c7c42c77503e5dfff3d/avidemux_core/ADM_coreVideoCodec/include/ADM_ffmp43.h#L151)

#define FF_SHOW (FF_DEBUG_VIS_MV_P_FOR+ FF_DEBUG_VIS_MV_B_FOR+FF_DEBUG_VIS_MV_B_BACK)


Would it be as simple as switching the 3 FF_DEBUG_VIS_MV_* constants?
Title: Re: "[lavc] The 'vismv' option is deprecated, see the codecview filter instead."
Post by: mm0359 on April 13, 2017, 12:29:23 AM
avidemux_2.7.0_r170412_win32.exe

Issue still there.