How to combine .png files to a video to play using Azure Kinect Viewer?

Ashutosh Singla 0 Reputation points
2023-08-09T12:13:32.66+00:00

I captured a video using a Kinect Azure DK device and extracted the RGB (Color) track as a sequence of PNGs to the same folder. I do not know the command to merge these PNGs together to form a .mkv video. Any Suggestions?

ffmpeg -i output.mkv -map 0:0 -vsync 0 RGB%04d.png	
Azure Kinect DK
Azure Kinect DK
A Microsoft developer kit and peripheral device with advanced artificial intelligence sensors for sophisticated computer vision and speech models.
292 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. LeelaRajeshSayana-MSFT 14,831 Reputation points Microsoft Employee
    2023-08-10T01:04:42.51+00:00

    Hi @Ashutosh Singla Greetings! Welcome to Microsoft Q&A forum. Thank you for posting this question here.

    I have been referring to the official documentation of the ffmpeg tool video options section where a sample has been provided to create a video from multiple images. Here is the sample for reference.

    ffmpeg -f image2 -framerate 12 -i foo-%03d.jpeg -s WxH foo.avi
    

    The syntax foo-%03d.jpeg specifies to use a decimal number composed of three digits padded with zeroes to express the sequence number which is used to capture the images with matching pattern and process as inputs.

    Here are couple of additional questions posted on Stack overflow that will help you in addressing this question.

    Hope this helps to answer your question. Please let us know if you run into any additional issues.


    If the response helped, please do click Accept Answer and Yes for the answer provided. Doing so would help other community members with similar issue identify the solution. I highly appreciate your contribution to the community.

    Kindly note that ffmpeg is a 3rg party formatting framework not maintained by Microsoft. This forum is intended for technical questions related to Azure services. If you have questions specific to the framework, I recommend posting this question on a different forum.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.