Expand my Community achievements bar.

SOLVED

Generate Video renditions by providing height and width

Avatar

Level 1

Hi, 

I need to generate video renditions by providing height and width as an argument . Is there any way to do so?

I tried FFMPEG transcoding step , it is generating rendition but not of my desired height and width. Also I need those renditions in same format with which originally the file was uploaded.

 

Thanks,

Rohit

1 Accepted Solution

Avatar

Correct answer by
Level 4

Hi Rohit,

 

This should be possible with FFMPEG.  You may need to add a specific step to the Update Asset Workflow for this piece.  You can practice the syntax via the command line interface for FFMPEG until it give you the desired output and then put into the AEM workflow step to try to isolate which system is giving you problems. I've also found it helpful to create a one-step workflow when trying to find the syntax--you can run it against your payload a lot faster than the full Update Asset workflow.

 

https://trac.ffmpeg.org/wiki/Scaling - this is their documentation and it covers scaling.  

 

This is also possible with Dynamic Media, but I presume since you mentioned FFMPEG this isn't licensed for you.

 

Hope this helps,

Beau

View solution in original post

1 Reply

Avatar

Correct answer by
Level 4

Hi Rohit,

 

This should be possible with FFMPEG.  You may need to add a specific step to the Update Asset Workflow for this piece.  You can practice the syntax via the command line interface for FFMPEG until it give you the desired output and then put into the AEM workflow step to try to isolate which system is giving you problems. I've also found it helpful to create a one-step workflow when trying to find the syntax--you can run it against your payload a lot faster than the full Update Asset workflow.

 

https://trac.ffmpeg.org/wiki/Scaling - this is their documentation and it covers scaling.  

 

This is also possible with Dynamic Media, but I presume since you mentioned FFMPEG this isn't licensed for you.

 

Hope this helps,

Beau