I am working on a google cloud storage project where I need to generate spritesheets from videos. I’ve noticed that whenever I generate a spritesheet from a video that is less than or equal to an hour long, the process is successful. However, when the video is longer than an hour, the job fails.
Here are some additional details about my setup:
The videos are in MP4.
I am using nest.js application to generate the spritesheets.
Has anyone encountered a similar issue? Is there a known limitation on the video length for generating spritesheets, or could this be related to resource constraints or specific settings in the tool I am using?
Any insights or suggestions would be greatly appreciated. Thank you!
{
"config": {
"elementaryStreams": [
{
"key": "video-stream",
"videoStream": {
"h264": {
"heightPixels": 360,
"widthPixels": 640,
"bitrateBps": 2500000,
"frameRate": 60
}
}
}
],
"muxStreams": [
{
"key": "dummy-mux",
"container": "mp4",
"elementaryStreams": ["video-stream"]
}
],
"spriteSheets": [
{
"filePrefix": "sd-sprite-sheet",
"spriteHeightPixels": 36,
"spriteWidthPixels": 64,
"interval": {
"seconds": 15
}
}
]
}
}
Kaleab Tibebu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.