Recherche avancée

Médias (1)

Mot : - Tags -/biographie

Autres articles (111)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (8712)

  • Unable to parse option value xxx.srt as image size Error applying option 'original_size' to filter 'subtitles' : Invalid argument

    6 décembre 2023, par gabri yañez vallverdu
    const strFile = `http://localhost:8080/public/srtFiles/nombreArchivo.srt`
    
const localSubtitleFilePath = path.join(__dirname, 'nombreArchivo.srt');

 axios.get(strFile, { responseType: 'arraybuffer' })
    .then(response => {
        fs.writeFileSync(localSubtitleFilePath, Buffer.from(response.data));

        const outputFilePath = path.join(__dirname, '../../../public/videosSubtitled', `${videoName}`);
        console.log('Subtitle File Path:', localSubtitleFilePath);
        console.log('Output File Path:', outputFilePath);

        exec(`ffmpeg -i ${tempFilePath} -vf subtitles=${localSubtitleFilePath} ${outputFilePath}`, function(error, stdout, stderr) {
            if (error) {
                console.log(error);
                console.log(stdout);
                console.log(stderr);
                console.log("❌  Something went wrong!");
                res.status(500).json({ success: false, message: 'Error al crear el video subtitulado' });
            } else {
                fs.unlinkSync(tempFilePath);
                fs.unlinkSync(localSubtitleFilePath);
                console.log("Done! 🍿 😎");
            }
        });
    })
    .catch(error => {
        console.log("Error downloading subtitle file:", error);
        res.status(500).json({ success: false, message: 'Error al descargar el archivo de subtítulos' });
    });


    


    Hi, I'm trying to add subtitles to a video with ffmpeg in a NodeJS app, but I have this error :
[Parsed_subtitles_0 @ 0000024140111580] Unable to parse option value xxx.srt as image size Error applying option 'original_size' to filter 'subtitles' : Invalid argument

    


    I have tried to send the srt file by a public url and by a local file, but I have also a mistake.

    


  • Download only a part of the video in the server

    19 août 2013, par whiteletters and blankspaces

    I am building a web application for creating animated gif from youtube videos. These animated gifs will be fews seconds long, but may come from very long videos hosted in Youtube.

    After reading and reading, It looks like I should first download the whole video in server, then cut the required part, ( probably convert it), then process it to generate the gif using ffmpeg for example.

    Could you please tell me :

    Does the whole video should be necessarly downloaded in server ? Or there is a way to ask my server and Youtube Server to exchange only the requested (very small) part of the video ? I think that downloading the whole video will result in bad resources usage, especially in concurrency environnement which will affect performance in my one-server infrascrucure.

    What are the alternatives of downloading the video (or part of video) to achieve such goal ? Is there a client side solution for storing data and using similar ffmpeg functionalities ?

  • Streaming is not save on wowza server

    19 septembre 2015, par Android

    I have issue with streaming save to server.
    We have two case :

    case 1.
    I have got one problem on streaming by Javacv with ffmpeg, streaming is work fine and i can see in wowza testing as well as vlc
    But that streaming is not save in wowza server, only save audio file in server.

    case 2.
    I have done streaming by livestreaming library and that work fine as well as save in wowza server.

    both case server is used same but one time it work fine other time it not.

    I have checked settings in wowza server to save any stream and it perfect everything.