Recherche avancée

Médias (0)

Mot : - Tags -/performance

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (18)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

Sur d’autres sites (5193)

  • Cannot find ffmpeg when moving the code to a new computer

    20 septembre 2021, par Omersr

    I have a code that works on my computer but when I moved it to a new one it doesn't find the ffmpeg dependency.
It happens on these lines of code :

    


        var videoshow = require('videoshow')
    var image = [{path: './screenshot.jpg'}]
    var videoOption = { 
      loop: 10,
      fps: 25,
      transition: false,
      transitionDuration: 0, // seconds
      videoBitrate: 1024,
      videoCodec: 'libx264',
      size: '640x?',
      audioBitrate: '128k',
      audioChannels: 2,
      format: 'mp4',
      pixelFormat: 'yuv420p'
    }
    //call the videoshow library
     videoshow(image,videoOption).save(filename+"_"+"movie.mp4").on('start',function(command){
         console.log("conversion started" + command)
    }).on('error',function(err,stdout,stderr){
         console.log("some error occured"+ err)
     }).on('end',function(output){
         console.log("conversion complete "+ output)


    


    It throws an error "Cannot find ffmpeg".
I tried to do npm install or npm install ffmpeg but it didn't help.
I think this happens because I don't know how to make dependencies work on a different computer.
Any help would be appreciated !

    


  • Using FFMPEG to stream from one computer to another on the same network

    23 juin 2021, par Andy B

    My problem

    


    I have a device with cameras, and I can access the video from those cameras via RTP over RTSP.

    


    I have an Ethernet cord going from the device to my computer, and I can see/record the video from the device using FFMPEG or VLC. I just use rtsp://<ip of="of" device="device">/path/of/stuff.extension?camera=<number></number></ip> like the user's manual says.

    &#xA;

    This works great, but ultimately, I want to stream this video to another computer on the same network. I have tried many different things, but nothing seems to work.

    &#xA;

    Theoretically, this FFMPEG command should work, but I'm messing up somewhere and I don't know why or where.

    &#xA;

    ffmpeg -rtsp_transport tcp -i rtsp://<ip of="of" device="device">/path/thing.extension?camera=1 \ &#xA;-f mpegts udp://<ip of="of" computer="computer" i="i" want="want" to="to" send="send" it="it">:<some port="port">&#xA;</some></ip></ip>

    &#xA;

    In VLC on the other computer, I want to be able to just go into VLC and start a network stream that looks like udp://@<ip address="address">:<port></port></ip>

    &#xA;

    What I thought would work, but doesn't

    &#xA;

    If the camera device has IP A.A.A.A, and the computer getting and streaming the video is B.B.B.B, and the computer I want to watch the streamed video on is C.C.C.C then is the following correct ? Because it does not work for me...

    &#xA;

    Computer A :

    &#xA;

    ffmpeg -rtsp_transport tcp -i rtsp://A.A.A.A/path.ext?camera=1 -f mpegts udp://B.B.B.B:10001&#xA;

    &#xA;

    Computer B (in VLC) : udp://@B.B.B.B:10001

    &#xA;

  • How can I get the name of the webcams present on the computer in python ?

    12 avril 2021, par Spugna Kojac

    I have a problem.&#xA;I would need to use ffmpeg with subprocess in python for video capture.

    &#xA;

    For this I need to identify the name of the cameras present in the computer in order to be able to pass this parameter to the ffmpeg process.

    &#xA;

    So far I have used the WMI module, but it only works on windows and is not very easy to use.

    &#xA;

    Is there any easier way to extract the names of the webcams on your computer and save them to an array ?&#xA;Maybe also using the ffmpeg list-devices and filtering the results ?&#xA;Can you help me ?

    &#xA;

    I would not like to use the WMI module anymore, as I would like a universal solution for windows or linux, perhaps using subprocess and the ffmpeg list_devices command.&#xA;Thank you

    &#xA;