Currently, I am trying to create a video that changes size using the ffmpeg concat function. However, I want to make the video hide, and the only way to do that is to make it a line. But, I want to make it 0x0.

Resizing using the magick command from imagemagick would not allow me to do so

Hex editing a png file allowed me to change the size down to 0x0, as confirmed by the file command

However, when I try to convert the image into a single frame webm file using ffmpeg, I get the error:

[png @ 0x5645c06e3ec0] Invalid image size
[png @ 0x5645c06e7000] Invalid PNG signature 0x00000000.
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 1 times
Cannot determine format of input stream 0:0 after EOF
Error marking filters as finished
Conversion failed!

Is there a way to hex edit the webm file to be 0x0, or will the same problem arise when I concat multiple files together using ffmpeg?

Thanks in advance!


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.