Fails to parse my parts:

I try to package the minitube app into a snap using this snapcraft.yml:

name: minitube
base: core18
version: '3.2'
summary: Flavio Toldini's minitube youtube player.
description: |
  "Watch YouTube videos in a new way: you type a keyword, Minitube gives you an endless video stream.
  Minitube is not about cloning the YouTube website, it aims to create a new TV-like experience."
grade: stable
confinement: classic

apps:
  minitube:
    command: bin/desktop-launch  bin/ninitube
    plugs: [x11, network, network-bind, home]

parts:

  youtubedl:
    source: https://yt-dl.org/downloads/2019.11.28/youtube-dl-2019.11.28.tar.gz
    plugin: python
    python-version: python3

  ffmpeg:
    source: https://ffmpeg.org/releases/ffmpeg-4.2.1.tar.bz2
    module: autotools
    configflags: ['--enable-libx264','--enable-libmp3lame','--enable-libfdk-aac','--enable-nonfree', '-enable-libx265']
    stage-packages: 
      - libfreetype6-dev 
      - libfribidi-dev 
      - libfontconfig1-dev 
      - yasm 
      - libmp3lame-dev
      - libx264-dev
      - libfdk-aac-dev
  
  libmpv:
    source: https://github.com/mpv-player/mpv.git
    module: waf
    flags: ['--enable-libmpv-shared','--disable-cplayer']
    stage-packages:
      - libass-dev
      - dh-autoreconf 
      - build-essential
      - libssl1.0-dev 
      - libpulse-dev

  qt5:
    source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
    source-subdir: qt
    plugin: make
    make-parameters: ["FLAVOR=qt5"]
    build-packages:
      - qtbase5-dev
      - dpkg-dev
    stage-packages:
      - libxkbcommon0
      - ttf-ubuntu-font-family
      - dmz-cursor-theme
      - light-themes
      - adwaita-icon-theme
      - gnome-themes-standard
      - shared-mime-info
      - libqt5gui5
      - libgdk-pixbuf2.0-0
      - libqt5svg5 # for loading icon themes which are svg
      - try: [appmenu-qt5] # not available on core18
      - locales-all

But for some reason I cannot get the ffmpeg target to build correcly. I have trouble providing the correct ident to the yaml structure hence my build fails can you help me with that?

what is “module:” supposed to do there ? (snapcraft surely does not have such a key, did you mean “plugin:” ?)

Yeap that was the issue! Thanks