creating multiple mp4 files from flipbooks with ffmpeg top

   4573   3   2
User Avatar
Member
5 posts
Joined: March 2019
Offline
Hi,

I am trying to find the way to create videos from flipbooks.
For example I have 10 wedges->10 flipbooks -> 10 videos with ffmpeg TOP.

Most closest solution I found using
$MPATH/flipbook/video/framelist_v`@wedgeindex`.txt
$MPATH/flipbook/video/v`@wedgeindex`.mp4

this one creates 10 lists and 10 mp4 but all mp4 files are broken.

Attachments:
pic.jpg (53.5 KB)

User Avatar
Staff
600 posts
Joined: May 2014
Offline
Are you able to attach a .hip file with your current setup? You'll need to use a partitioner before the FFMPEG node in order to group all of the frames from the same wedge index together. For example, using either a Partition by Attribute using the "wedgeindex" attribute, or a Wait for All with the "Split by Attribute" field set to "wedgeindex".
User Avatar
Member
5 posts
Joined: March 2019
Offline
Thanks tpetrick, it works.
I am posting file in case somebody needed solution.

Attachments:
multivideo_wedge.hiplc (670.2 KB)

User Avatar
Member
146 posts
Joined: June 2016
Offline
Thanks a lot Bondar Igor!
Mohan Pugaz
movfx
https://www.instagram.com/movfx/ [www.instagram.com]
https://www.youtube.com/channel/@_movfx
  • Quick Links