[common] improve detection for video only formats and m3u8 manifest(fixes #11507)
[youtube-dl] / bin /
drwxr-xr-x   ..
-rwxr-xr-x 91 youtube-dl