Zend certified PHP/Magento developer

How to get Playlist ID from Video link using youtube-dl?

I am trying to get playlist ID from youtube video URL that belongs to using youtube-dl.exe on windows.

input : youtube video link

output : playlist id that video belongs to

code am trying,

youtube-dl -j --flat-playlist "{playlist_url_here}" > playlist.json

This give me output as, whole videos URL and other details in playlist.json In that other details i have also get playlist ID and name.

I need the same Playlist ID without using playlist URL link or anything like that… only using video link i need playlist ID. How to achieve that with less process time ?

Any help would be appreciated a lot.