Recherche avancée

Médias (1)

Mot : - Tags -/sintel

Autres articles (28)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (5019)

  • Why ffmpeg launched on a google cloud function can throw "Error : Output stream error : Maximum call stack size exceeded" ?

    15 décembre 2020, par Stepan Shilin

    I'm trying to process video files with ffmpeg running on google cloud functions. Video files are downloaded from a google file storage, processed in stream by fluent-ffmpeg and streamed to a new google storage file. It works on smaller files but throws an "Output stream error : Maximum call stack size exceeded" on larger files.

    



    I tried running the code on a normal pc, and I haven't encountered this error, even with larger files.

    



    These are the parameters I deploy the function with

    



    gcloud functions deploy $FUNCTION_NAME --runtime nodejs8 --trigger-http --timeout=180 --memory 256


    



    This is the code that processes video

    



    function cutVideo({videoUrl, startTime, duration, dist}) {
    return ffmpeg(videoUrl)
    .outputOptions('-movflags frag_keyframe+empty_moov')
    .videoCodec('copy')
    .audioCodec('copy')
    .format('mp4')
    .setStartTime(startTime)
    .setDuration(duration);
}

const sectionStream = cutVideo({
    videoUrl,
    startTime,
    duration,
    dist: tempFilePath,
});

const outputStream = bucket.file(sectionPath)
.createWriteStream({
    metadata: {
        contentType: config.contentType,
    },
    public: true,
});


    



    Actual error stack looks like this

    



      Error: Output stream error: Maximum call stack size exceeded&#xA;                                                                  at Pumpify.<anonymous> (/srv/node_modules/fluent-ffmpeg/lib/processor.js:498:34)&#xA;                                                                  at emitOne (events.js:121:20)&#xA;                                                                  at Pumpify.emit (events.js:211:7)&#xA;                                                                  at Pumpify.Duplexify._destroy (/srv/node_modules/duplexify/index.js:191:15)&#xA;                                                                  at /srv/node_modules/duplexify/index.js:182:10&#xA;                                                                  at _combinedTickCallback (internal/process/next_tick.js:132:7)&#xA;                                                                  at process._tickDomainCallback (internal/process/next_tick.js:219:9)&#xA;  RangeError: Maximum call stack size exceeded&#xA;                                                                  at replaceProjectIdToken (/srv/node_modules/@google-cloud/projectify/build/src/index.js:28:31)&#xA;                                                                  at replaceProjectIdToken (/srv/node_modules/@google-cloud/projectify/build/src/index.js:37:30)&#xA;                                                                  at replaceProjectIdToken (/srv/node_modules/@google-cloud/projectify/build/src/index.js:37:30)&#xA;                                                                  at value.map.v (/srv/node_modules/@google-cloud/projectify/build/src/index.js:30:32)&#xA;                                                                  at Array.map (<anonymous>)&#xA;                                                                  at replaceProjectIdToken (/srv/node_modules/@google-cloud/projectify/build/src/index.js:30:23)&#xA;                                                                  at replaceProjectIdToken (/srv/node_modules/@google-cloud/projectify/build/src/index.js:37:30)&#xA;                                                                  at replaceProjectIdToken (/srv/node_modules/@google-cloud/projectify/build/src/index.js:37:30)&#xA;                                                                  at value.map.v (/srv/node_modules/@google-cloud/projectify/build/src/index.js:30:32)&#xA;                                                                  at Array.map (<anonymous>)&#xA;</anonymous></anonymous></anonymous>

    &#xA;&#xA;

    What could cause this error on a google cloud function ?

    &#xA;

  • How I can load testing my web application if I host it in Azure and Google Cloud

    29 décembre 2018, par Anirudha Gupta

    I am trying to stream the video on Youtube using FFmpeg. Earlier I have a preset which is used to stream at lower resolution.

    Now I want to send the video as it is. I am trying to use this code

    ./ffmpeg -re -i "C:\Users\Anirudha\Desktop\abc.mp4" -codec copy -f flv "rtmp://a.rtmp.youtube.com/live2/mykey1"

    I got this code from here https://www.wowza.com/docs/how-to-configure-security-using-wowza-streaming-engine-manager

    This code is working fine for Wowza but it’s shown running on youtube (in the command line) in Actual it’s not doing anything on the youtube website.

    Is there any way to send the file to youtube the file as it is, What I am looking for is I don’t want to do anything on file. Let the resolution same as it is.

  • What google cloud service can be used to process files stored in Firebase Cloud Storage with FFmpeg ? [closed]

    1er mai 2021, par uponly

    I am building a ReactJs app and I am trying to figure out a way to process files (images, videos, and audio of any type) that are stored in my Firebase storage bucket using FFmpeg. Currently, I have set up the functionality for allowing the user to upload files to my storage bucket, and a corresponding URL link is stored in a document in Firestore.

    &#xA;

    Ideally, I'd love to do this with Cloud Functions HTTP triggers because I have all of that setup already. It would be nice to just call an HTTP trigger to process the file after it has been uploaded. However, after a bit of research, my current understanding is to somehow deploy my app using a flexible Google App Engine environment because apparently, it is the only way to set a manual timeout in case I have to process a long, high-quality video, for example. Thus I wouldn't be able to use Cloud Functions because there is a very short timeout period which may lead to the files not being fully processed.

    &#xA;

    Here is the user flow I am trying to achieve, which may help make things more clear :

    &#xA;

      &#xA;
    1. [Done] The user uploads a file (image, audio, or video) to Firebase cloud storage. A URL is also stored in their corresponding user document in Firestore.
    2. &#xA;

    3. [Here and the steps onward are what I am trying to achieve] After the file has been stored, I'd like to kick off some sort of function that grabs the newly stored file and begin to process it in the cloud.
    4. &#xA;

    5. Store the newly processed file back into the Cloud Storage bucket
    6. &#xA;

    7. Allow the user to preview the processed file (by streaming it ideally, if possible).
    8. &#xA;

    &#xA;

    In steps 2 and onward, I am just generally confused about what Google service I should be using to process my file in the cloud with FFmpeg. As well as how I can connect it to my React app, client-side. If I have to go the Google App Engine route, how do I go about connecting app engine to my React App such that I don't have to build my app and deploy it, as my app is still in development ?

    &#xA;

    This is not a coding question so I apologize if this is the wrong place to post in. I am new to all this, any and all help is greatly appreciated. Thank you.

    &#xA;