Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (103)

  • 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 ;

  • Utilisation et configuration du script

    19 janvier 2011, par

    Informations spécifiques à la distribution Debian
    Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
    Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
    Récupération du script
    Le script d’installation peut être récupéré de deux manières différentes.
    Via svn en utilisant la commande pour récupérer le code source à jour :
    svn co (...)

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

Sur d’autres sites (3866)

  • Merge Multiple Videos using node fluent ffmpeg

    8 juillet 2015, par shyamshyre

    requirement is to read all the files in the directory and merge them.
    I am using node fluent-ffmpeg to achieve this.
    First of all reading all the files in the directory appending concatenating the string by adding .input.

    var finalresult="E:/ETV/videos/finalresult.mp4"
    outputresult : It consists of all the files read in the directory.

    /*Javascript*/
    MergeVideo(outputresult);
    function MergeVideo(outputresult){
    console.log("in merge video");
    var videostring = "";

    for(i=1;i<5;i++)
       {
    videostring = videostring+".input("+"'"+outputresult[i]+"'"+")";
    }
    console.log("Video String"+videostring);
       var proc = ffmpeg()+videostring
       .on('end', function() {
         console.log('files have  succesfully Merged');
           })
       .on('error', function(err) {
         console.log('an error happened: ' + err.message);
       })
       .mergeToFile(finalresult);
    }

    It gives the following error :

    TypeError: Object .input('ETV 22-02-2015 1-02-25 AM.mp4').input('ETV 22-02-2015
    9-33-15 PM.mp4').input('ETV 22-02-2015 9-32-46 AM.mp4').input('ETV 22-02-2015 8-
    32-44 AM.mp4') has no method 'on'
       at MergeVideo (D:\Development\Node\node-fluent-ffmpeg-master\node-fluent-ffm
    peg-master\examples\demo.js:140:6)
       at Object.<anonymous> (D:\Development\Node\node-fluent-ffmpeg-master\node-fl
    uent-ffmpeg-master\examples\demo.js:129:1)
       at Module._compile (module.js:456:26)
    </anonymous>

    Any help is appreciated.

  • Simultaneously map video and data streams to one subprocess pipeline in real-time

    9 février 2023, par seabass1217

    I need to process the video stream and the klvdata streams simultaneously in real-time in OpenCV/Python. I'm using FFMPEG to read the file or stream as OpenCV does not retain the klvdata. I pass the data to OpenCV with the subprocess module.

    &#xA;

    My problem is I cannot figure out how to map both the video and klvdata to the same subprocess pipe simultaneously ?

    &#xA;

    My code :

    &#xA;

    #!/usr/bin/env python3&#xA;import sys, json, klvdata;&#xA;from subprocess import PIPE&#xA;import subprocess as sp&#xA;import cv2&#xA;import numpy&#xA;&#xA;command = [&#x27;ffmpeg&#x27;,&#xA;    &#x27;-i&#x27;, &#x27;DayFlight.mpg&#x27;,&#xA;    &#x27;-map&#x27;, &#x27;0:0&#x27;,&#xA;    &#x27;-map&#x27;, &#x27;0:d&#x27;,        &#xA;    &#x27;-pix_fmt&#x27;, &#x27;bgr24&#x27;,&#xA;    &#x27;-c:v&#x27;, &#x27;rawvideo&#x27;,      &#xA;    &#x27;-an&#x27;,&#x27;-sn&#x27;,              &#xA;    &#x27;-f&#x27;, &#x27;image2pipe&#x27;, &#x27;-&#x27;,&#xA;    &#x27;-c:d&#x27;, &#x27;copy&#x27;,&#xA;    &#x27;-f&#x27;,&#x27;data&#x27;,&#xA;    ]&#xA;&#xA;pipe = sp.Popen(command, stdin=sp.PIPE, stdout=sp.PIPE, stderr=sp.PIPE, bufsize=10**8)&#xA;&#xA;while True:&#xA;   raw_image = pipe.stdout.read(1280*720*3)&#xA;   image =  numpy.fromstring(raw_image, dtype=&#x27;uint8&#x27;)&#xA;   image = image.reshape((720,1280,3))          &#xA;   if image is not None:&#xA;      cv2.imshow(&#x27;Video&#x27;, image)&#xA;   if cv2.waitKey(1) &amp; 0xFF == ord(&#x27;q&#x27;):&#xA;      break&#xA;   for packet in klvdata.StreamParser(pipe.stdout): &#xA;      metadata = packet.MetadataList()&#xA;      print(metadata)&#xA;pipe.stdout.flush()&#xA;cv2.destroyAllWindows()&#xA;&#xA;

    &#xA;

    Produces the below error :

    &#xA;

    Traceback (most recent call last):&#xA;  File "test_cv.py", line 32, in <module>&#xA;    metadata = packet.MetadataList()&#xA;AttributeError: &#x27;UnknownElement&#x27; object has no attribute &#x27;MetadataList&#x27;&#xA;&#xA;</module>

    &#xA;

    Any help is greatly appreciated.

    &#xA;

  • Use of ffprobe in kivy 'File not Found'

    3 juillet 2022, par Pranzal360

    i am trying to convert audio from webm to mp3 using pudub module in android using kivy. I've included pydub,ffprobe-python,ffmpeg-python in buildozer.spec file but when i run the app i get the following error !

    &#xA;

    FileNotFoundError: [Errno 2] No such file or directory: &#x27;ffprobe&#x27;&#xA;

    &#xA;