I am encountering difficulties when running the executable programs (ffmpeg and yt-dlp portable). The error log is as follows:
Error opening input: Invalid data found when processing input Error opening input file -. Error opening input files: Invalid data found when processing input
Try printing ( with log) the command you are trying to execute, run it in a seperate command line to see if it's working properly.
since it's related to input I am suspecting the problem is with the youtube url you are providing
Create a variable called "counter". Than use "is element exist" to check if element exist and update "counter" variable whenever element is missing. Check counter variable in the loop, and fail thread if "counter" hit 3