Skip to content
TheChatArchiveThe Chat Archive
gpt-3.5-turbo-0613· OpenAIAi2 WildChat-4.8M (AI2)

Write me an ffmpeg command (like this: ffmpeg -i %d.png -vcodec png z.mov), that will…

  1. User

    Write me an ffmpeg command (like this: ffmpeg -i %d.png -vcodec png z.mov), that will puts the file in a codec that Apple will recognize, like 4444. Make sure the codec supports alpha, and it can be opened by quicktime

  2. Assistant

    Sure! Here's an example ffmpeg command that encodes the video using Apple's ProRes 4444 codec which supports alpha channel and can be opened by QuickTime:

    ffmpeg -i input.mov -c:v prores_ks -profile:v 4 -pix_fmt yuva444p10le output.mov
    

    Explanation:

    • -i input.mov specifies the input video file path.
    • -c:v prores_ks selects Apple ProRes codec as the video codec.
    • -profile:v 4 sets the profile to ProRes 4444, supporting alpha channel.
    • -pix_fmt yuva444p10le sets the pixel format to yuva444p10le, which corresponds to ProRes 4444.
    • output.mov specifies the output file path.

    Remember to replace input.mov with the actual path to your input file and set output.mov as the desired name and location for the output file.