Recherche avancée

Médias (91)

Autres articles (32)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

  • Participer à sa documentation

    10 avril 2011

    La documentation est un des travaux les plus importants et les plus contraignants lors de la réalisation d’un outil technique.
    Tout apport extérieur à ce sujet est primordial : la critique de l’existant ; la participation à la rédaction d’articles orientés : utilisateur (administrateur de MediaSPIP ou simplement producteur de contenu) ; développeur ; la création de screencasts d’explication ; la traduction de la documentation dans une nouvelle langue ;
    Pour ce faire, vous pouvez vous inscrire sur (...)

  • Encodage et transformation en formats lisibles sur Internet

    10 avril 2011

    MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
    Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
    Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)

Sur d’autres sites (4539)

  • ffmpeg failed to pull local rtmp stream

    3 septembre 2019, par edhu

    I’m relatively new to this workflow and this might be a simple problem to solve. However, I haven’t found answers that matched exactly with my question. I’ve set up my nginx server with rtmp module and for testing purposes I used the following command to publish my stream :

    ffmpeg -re -i  -vcodec libx264 -vprofile baseline -acodec aac -strict -2 -f flv rtmp://localhost/show/stream

    After that, I launched up my application which is supposed to read the stream from the nginx server and it failed at

    avformat_open_input(&ctx, szFilePath, NULL, NULL);

    The returned error code is -5 and it signifies I/O issue. The szFilePath I passed in is rtmp://localhost/show/stream and I assume this will automatically work since it works when I tried to play some mp4 sample files online. I also tried rtmp://localhost:1935/show/stream and vice versa. I could view the stream being played in VLC but I can’t open it in the code. I’m not really sure what happened here. I feel like this isn’t necessarily a complicated issue but I don’t know where to start looking for possibles causes. I’d appreciate the help. Thanks !

  • avformat_open_input failed at openning local rtmp stream

    3 septembre 2019, par edhu

    I’m relatively new to this workflow and this might be a simple problem to solve. However, I haven’t found answers that matched exactly with my question. I’ve set up my nginx server with rtmp module and for testing purposes I used the following command to publish my stream :

    ffmpeg -re -i  -vcodec libx264 -vprofile baseline -acodec aac -strict -2 -f flv rtmp://localhost/show/stream

    After that, I launched up my application which is supposed to read the stream from the nginx server and it failed at

    avformat_open_input(&ctx, szFilePath, NULL, NULL);

    The returned error code is -5 and it signifies I/O issue. The szFilePath I passed in is rtmp://localhost/show/stream and I assume this will automatically work since it works when I tried to play some mp4 sample files online. I also tried rtmp://localhost:1935/show/stream and vice versa. I could view the stream being played in VLC but I can’t open it in the code. I’m not really sure what happened here. I feel like this isn’t necessarily a complicated issue but I don’t know where to start looking for possibles causes. I’d appreciate the help. Thanks !

  • fluent ffmpeg => how to trim and concate parts of video into one output file without writing many output files. Make a most efficient solution

    30 avril 2024, par Shreyansh Gupta

    I'm currently working on a online video website and i need to make a quick preview of videos using random timestamps and duration of the video.

    


    Suppose the video is of 15 min then i want to cut out some parts like ->

    


    1. from 00:00:40 take out next 2s 
2. from 00:01:20 take out next 2s 
3. ... and so on until the new video becomes 15s


    


    How can i do this with fluent-ffmpeg in the nodejs project

    


    Can i get the most efficient way of doing this without writing many output files and then concating them separately and removing then later

    


    Only concating the trimmed videos in one output file and save when it is done.

    


    I also came through a solution that uses complex filters but i don't know how to use it

    


       ffmpeg("video.mp4")
  .complexFilter([
    ....// some filters here

  ])
  .on('end',  function () {
    console.log('files have been merged and saved.')
  })
  .on('error',function (err){
    console.log(err)
  }
  .saveToFile("output.mp4")```