porjo / youtubeuploader

Scripted uploads to Youtube
Apache License 2.0
767 stars 100 forks source link

WARNING: input file doesn't appear to be a video. It has content type 'image/png' #170

Closed LucianoTheWindowsFan closed 1 year ago

LucianoTheWindowsFan commented 1 year ago

Hello.

So when I was trying to use the Windows release, when I was setting a custom thumbnail for the video. I get the following:

WARNING: input file doesn't appear to be a video. It has content type 'image/png'

The odd part is that my command format seems to be correct, therefore making the issue complicated.

The command format I used in question:

youtubeuploader -metaJSON [JSON].json -thumbnail "[THUMBNAIL].png" -filename "[VIDEO].mp4"

porjo commented 1 year ago

Thanks for reporting the issue. I've pushed a fix in https://github.com/porjo/youtubeuploader/commit/09867f5657f68c47d03ac074a47b2db635a0ced3 - that will be in a future release. You can safely ignore the warning message for now.

porjo commented 1 year ago

Fixed in new release 23.04