Guide to add Camera Live to Lovelace Card

Hi experts,
I want to add my CCTV camera to Lovelace card. I read that 0.92 provide live camera option but as I am a beginner and doing after a long time I don’t know how to do it. Please provide a starter guide.
My Setup:
Windows 10 Machine.
Hassos running on Virtual Box using VMDK.
Things I have done so far but no success:
UI CODE:

- badges: []
    cards:
      - camera_view: live
        entity: camera.fronttest
        type: picture-entity
      - camera_view: live
        entity: camera.camtest
        type: picture-entity

configuration.yaml code

stream:

ffmpeg:

camera:
  - platform: generic
    name: fronttest
    still_image_url: http://icons.iconarchive.com/icons/aha-soft/free-global-security/256/CCTV-Camera-icon.png
    stream_source: rtsp://username:[email protected]:554/channel=1&stream=0.sdp
  - platform: ffmpeg
    input: -rtsp_transport tcp -i rtsp://username:[email protected]:554/channel=1&stream=0.sdp
    extra_arguments: -pred 1 -q:v 2
    name: camtest

Thank you

did u find the solution, i m struggling for the same issue