Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (103)

  • 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 (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (8850)

  • Can ffmpeg seek when using an input stream (or url) ?

    27 juin 2022, par Roee

    I've been using ffmpeg quite a lot in the past few weeks, and recently I've encountered a very annoying issue - when I use ffmpeg with an input stream (usually, just a url as the input) and try to set a start time (with -ss option), I always get a warn message that says "could not seek to position : XXX".

    



    Then, ffmpeg just starts to download the file, and it ouputs nothing until it has downloaded enough data and got to my desired start time.

    



    I'll give an example :

    



    I use this command to execute ffmpeg :

    



    ffmpeg -ss 50 -re -i https://ascent.usbank.com/acp/videos/041114ascent.flv -b:a 128k -ac 2 -acodec libvorbis -b:v 1024k -vcodec libtheora -strict 2 -preset ultrafast -tune zerolatency -pix_fmt yuv420p -f ogg pipe:1


    



    and I get the warn message

    



    https://ascent.usbank.com/acp/videos/041114ascent.flv: could not seek to position 50.000


    



    Then, it takes about 30 seconds until ffmpeg starts to output data to stdout. And when I try this with longer videos (and longer seek times), it takes even longer.

    



    My question is, what can I do ? I guess it's impossible for ffmpeg to seek when it haven't got the whole input stream... Am I wrong ? Or is there any other solution ?

    



    Of course I try to avoid downloading the entire file from the web...

    



    Thanks in advance !

    



    Roee.

    


  • Can ffmpeg seek when using an input stream (or url) ?

    17 janvier 2016, par Roee

    I’ve been using ffmpeg quite a lot in the past few weeks, and recently I’ve encountered a very annoying issue - when I use ffmpeg with an input stream (usually, just a url as the input) and try to set a start time (with -ss option), I always get a warn message that says "could not seek to position : XXX".

    Then, ffmpeg just starts to download the file, and it ouputs nothing until it has downloaded enough data and got to my desired start time.

    I’ll give an example :

    I use this command to execute ffmpeg :

    ffmpeg -ss 50 -re -i https://ascent.usbank.com/acp/videos/041114ascent.flv -b:a 128k -ac 2 -acodec libvorbis -b:v 1024k -vcodec libtheora -strict 2 -preset ultrafast -tune zerolatency -pix_fmt yuv420p -f ogg pipe:1

    and I get the warn message

    https://ascent.usbank.com/acp/videos/041114ascent.flv: could not seek to position 50.000

    Then, it takes about 30 seconds until ffmpeg starts to output data to stdout. And when I try this with longer videos (and longer seek times), it takes even longer.

    My question is, what can I do ? I guess it’s impossible for ffmpeg to seek when it haven’t got the whole input stream... Am I wrong ? Or is there any other solution ?

    Of course I try to avoid downloading the entire file from the web...

    Thanks in advance !

    Roee.

  • How to add Title in video by ffmpeg on Node JS

    30 juin 2024, par Md Nazmul Hossain

    I am working on a project where I have to add Title on a video by FFmpeg. I have already succeeded in adding a picture on a video. Can anybody help me to add Text(Title) on a video ?

    



    Here is my code for adding Image, please suggest the required modification :

    



        try {
        var process = new ffmpeg('public/'+req.body.video);
        process.then(function (video) {
          console.log('The video is ready to be processed');
          var watermarkPath = 'public/images/logo.png',
            newFilepath = 'public/videos/watermarked/'+name,
            settings = {
                position        : "SC"      // Position: NE NC NW SE SC SW C CE CW
              , margin_nord     : null      // Margin nord
              , margin_sud      : null      // Margin sud
              , margin_east     : null      // Margin east
              , margin_west     : null      // Margin west
            };
          var callback = function (error, files) {
            if(error){
              console.log('ERROR: ', error);
            }
            else{
              console.log('TERMINOU', files);
              res.send('videos/watermarked/'+name)
            }
          }
          //add watermark
          video.fnAddWatermark(watermarkPath, newFilepath, settings, callback)

        }, function (err) {
          console.log('Error: ' + err);
        });
      } catch (e) {
        console.log(e.code);
        console.log(e.msg);
      }