Open ldang opened 4 months ago
Found the Stack Overflow for it https://superuser.com/questions/1792249/ffmpeg-suppress-warning-when-writing-to-a-single-image
And here is an example:
ffmpeg -y -ss 44 -i Enterprise-Automation-with-AWX-upstream-for-Ansible-Automation-Platform-.mp4 -update true -frames:v 1 blah.jpg
Did some research on this message and people are saying that it's just a warning message instead of an error that we don't need to worry about. It happens when ffmpeg creates JPEG images, it chooses a different pixel format with a different pixel range which creates this message.
@ldang I can add a parameter to the ffmpeg create thumbnail function that suppresses warnings like these so we don't see it anymore. If not, we can also just leave it be. Let me know what you think.
split.py - weird message on thumbnail creation
This would imply that we're not quite using the right command to generate a single image, even though it's doing it for us.
NOTE: I had to hack split.py to generate jpeg instead of png because of #58