in reply to decode Youtube error?

This is not valid base64. Difference is that Base64 includes / and +, and here they seems replaced with - and _. Try to replace characters and decode them using e.g. base64 -d or MIME::Base64