@Neha_Jadhav : Are you trying to do something other than what AEM DAM already offers. You can upload images, videos, pdfs etc into DAM from the Assets screen.
- Go to localhost:4502 (assuming you are doing this on your local instance for now)
- Click on Assets -> Files
- Select/Create a folder as per your project/site needs (this is to better structure your assets) i.e /content/dam/<your-site-name>
- Click on Create button, select Files (this opens a pop-up and you can navigate to the location where images are kept, you can even select multiple images)
- Once image(s) are selected, click on 'Upload' button.
- Give it few seconds to process the files and then select any image by clicking over it and then you can view the properties. DAM automatically extracts the metadata from your image and populates in properties.
Please let me know if you had a different query as this is the basic OOTB Assets feature.
thanks.