Files
timelapse-backend/src/video/videoManager.js
Kerboul 4513af3aa0
All checks were successful
SSH Backend Deploy / ssh-deploy (push) Successful in 1m51s
feat(database): Implement DatabaseManager for managing database structure and initialization
feat(routes): Add camera, image, measurement, project, and video routes with Swagger documentation

feat(services): Create storageService and videoService for file management and video processing

fix(errorHandler): Enhance error handling with standardized responses and database operation wrappers
2025-04-27 01:02:33 +02:00

14 lines
599 B
JavaScript

/**
* Ce fichier est conservé pour la rétrocompatibilité mais redirige vers le nouveau service vidéo.
* Il sera progressivement supprimé lorsque toutes les références auront été mises à jour.
*/
const VideoService = require('../services/videoService');
// Fonction de pont pour maintenir la compatibilité avec l'ancien code
async function createVideoWithList(projectId, pathList, duration, videoId, res_width, res_height) {
return await VideoService.createVideoFromImages(projectId, pathList, duration, videoId, res_width, res_height);
}
module.exports = { createVideoWithList };