Convert PNG to MP4 (H.264)

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
cre3d1nr
Posts: 1
Joined: Wed Nov 06, 2019 1:43 am

Convert PNG to MP4 (H.264)

Post by cre3d1nr »

Description of problem or question:

Rendering out large 360 animation from Cinema 4D. Getting constant compression issues. I have exported each frame as a PNG and now I am looking to use handbrake 1.2.2 to stitch these images to MP4 (H.264) not sure how to do this or if it is possibe ! please H E L P


Steps to reproduce the problem (If Applicable):




HandBrake version (e.g., 1.0.0):

1.2.2


Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):

Windows 10 latest


HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all

Please replace this text with the contents of your log file between the two code tags - OR -  provide a pastebin URL in place of these 3 lines.
Deleted User 11865

Re: Convert PNG to MP4 (H.264)

Post by Deleted User 11865 »

HandBrake cannot convert PNG sequences directly, but if you can find software that can create a QuickTime MOV from a PNG sequence, it can definitely re-encode that.
Deleted User 13735

Re: Convert PNG to MP4 (H.264)

Post by Deleted User 13735 »

1. Can be done in most video editors -- Vegas, Premiere, FCP.
2. Can be done in ffmpeg with something like:

Code: Select all

ffmpeg -i img-%02d.png video_name.mov
Untested!
In this example, ffmpeg will look for images with file names with ‘img-‘ followed by a two-digit number and a .png file extension, and convert these images into a mov video file named ‘video_name.MOV".
I think an .avi output would also work in Windows, but again, untested.
Caution! Wrapped files will be quite large. No audio included but it can be.
Deleted User 11865

Re: Convert PNG to MP4 (H.264)

Post by Deleted User 11865 »

Your ffmpeg command should specify a frame rate somewhere. Don't remember the exact syntax.
Deleted User 13735

Re: Convert PNG to MP4 (H.264)

Post by Deleted User 13735 »

Yes, it should, unless one wants the default of 25 fps.
Here's the code examples:
https://en.m.wikibooks.org/wiki/FFMPEG_ ... e_sequence
Post Reply