Recherche avancée

Médias (1)

Mot : - Tags -/ogg

Autres articles (47)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • MediaSPIP Player : les contrôles

    26 mai 2010, par

    Les contrôles à la souris du lecteur
    En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)

Sur d’autres sites (4944)

  • Recording transport stream to file in ffmpeg

    9 juillet 2020, par Neil Bernard

    I'm streaming a dvb-t mux and I want to dump it to file using ffmpeg on another PC.

    


    Here is the command :

    


    ffmpeg -i rtp ://192.168.1.93:20000 -acodec copy -vcodec copy d34_tw.ts

    


    For some reason though its only saving 1 video and 1 audio random pid ? not the whole TS ?

    


    Thoughts ?

    


    Neil

    


  • avcodec/srtdec : attempt to correct SubRip positioning

    8 février 2015, par Clément Bœsch
    avcodec/srtdec : attempt to correct SubRip positioning
    

    The positioning was completely wrong. First, the coordinates are
    expressed in ASS playback resolution (which is by default 384x288).
    Secondly, the coordinates define a drawing rectangle, not a moving area.
    The previous code was making subtitles move from a random position to
    another random position.

    Here we rescale assuming the video resolution is a DVD one (720x480). We
    can’t really do anything better so far, but since this positioning
    information is often from a DVD rip we can consider them relatively
    safe.

    • [DH] libavcodec/srtdec.c
    • [DH] tests/ref/fate/sub-srt
  • FFMPEG multiple screenshots command

    8 octobre 2020, par Jhony code

    iam trying to code a function which creates images from video files using ffmpeg.

    


    But now i want to know how can i make that with ffmpeg commands exactly, because i use wrapper and now i have some limitations, so i must go in the native way.

    


    So, first of all i have decided to use a Wrapper which is called node-fluent-ffmpeg.

    


    And this is my work-around with the Wrapper :

    


    ffmpeg({
        source: `The video file...`,
      })
        .on("filenames", async (filenames) => {
        })
        .on("error", function (err) {
          console.log("Error in filenames section: " + JSON.stringify(err));
        })
        .on("end", function () {
          console.log("Screenshots taken");
        })
        .screenshots({
          count: 60,
          folder: "tmp/",
          filename: "thumbnail-at-%i.png",
          size: "1600x900",
        })
        .on("end", function (stdout, stderr) {
            let newImg = await fs.createReadStream(`/tmp/${img}`);
            destparams = await {
              Bucket: dstBucket,
              Key: "uploaded-" + img,
              Body: newImg,
              ContentType: "image",
            };
           await s3.putObject(destparams).promise();


    


    }) ;

    


    Notes for understanding me better :

    


      

    • I still want to make it in node.js

      


    • 


    • Let's assume the file is : "The video file..."

      


    • 


    • I am taking 60 screenshots from the video in a random way, like it
does not matter the length of the video it will just take 60 screenshots from start until the end of the video.

      


    • 


    • Every screenshot taken will have a prefixed and ordered number and name for every frame.
For example : thumbnail-at-1.png, thumbnail-at-2.png, thumbnail-at-3.png and it continues until it reaches the 60 screenshot limit.

      


    • 


    • Every screenshot will be saved with a 1600x900 resolution.

      


    • 


    • Every screenshot will be saved in the TMP folder.

      


    • 


    • Do not mind reading this : After all I'll upload every screenshot to a s3 bucket.

      


    • 


    • I had search trough a lot of old forums, but it seems that ffmpeg has
a poor documentation (I have been stuck, so hard to understand).

      


    • 


    


    So my main goal is :

    


    How i can make exactly that function that i have shown in the code sample and the quick notes, with the FFMPEG commands ? (Not with the wrapper)

    


    (Sorry that i'm trying to make it simpler)

    


    I mean, Which commands i must use, with the FFMPEG commands in the following code sample ?

    


    By the way : it is node.js,

    


    Do not really know what to do, sorry

    


    spawnSync(
      "/opt/ffmpeg/ffmpeg",
      [
        "-i",
        ``,
        "-f",
        "",
        ``
      ],
      { stdio: "inherit" }
 );


    


    Thanks for your patience !

    


    Enviroment :

    


      

    • Node.js 12.x
    • 


    • FFMPEG (4.3.1)
    •