Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (106)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

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

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (13638)

  • ffmpeg through python subprocess fails to find camera

    27 juillet 2021, par Ofer Sadan

    Weird problem here, i use this command to capture my webcam through ffmpeg (through cmd on windows) :

    



    ffmpeg -y -t 300 -rtbufsize 1024M -f dshow -i video="Lenovo EasyCamera" -c:v libx264 -preset veryslow -crf 25 Desktop.mkv


    



    and everything works fine. But when i try the very same command through python as a subprocess it fails. Here's the python code :

    



    from subprocess import Popen
cmd = ['ffmpeg', '-y', '-t', '300', '-rtbufsize', '1024M', '-f', 'dshow', '-i', 'video="Lenovo EasyCamera"', '-c:v', 'libx264', '-preset', 'veryslow', '-crf', '25', 'Desktop.mkv']
p = Popen(cmd)


    



    Outputs the following error and freezes :

    



    [dshow @ 00000000023a2cc0] Could not find video device with name ["Lenovo EasyCamera"] among source devices of type video.
video="Lenovo EasyCamera": I/O error


    



    Can anyone figure this out and tell me what i'm doing wrong ? Or is it some known bug in python or the subprocess module (using python 3.6.1, but not attached to the specific version if it will help me solve this problem) ?

    



    Thanks in advance !

    



    P.S. This question is a follow up to this one, if that's relevant : How to grab laptop webcam video with ffmpeg in windows

    


  • TCL script unable to work with multiple camera on windows 7 platform

    27 novembre 2017, par M. D. P

    My TCL script works properly for single camera. the TCL script is as follow :

    proc liveStreaming {} {

       #open the config file.
       set f [open "C:/main/video_config.txt" r]

       #To retrive the values from the config file.
       while {![eof $f]} {
           set part [split [gets $f] "="]
           set props([string trimright [lindex $part 0]]) [string trimleft [lindex $part 1]]
       }
       close $f

       #camera selection to live streaming.
       set camera "video"
       append cctv $camera "=" $props(cctv)

       #ffmpeg command to capture live streaming in background
       exec ffmpeg -f dshow -s 1280x720 -i $cctv c:/test/sample.avi >& c:/test/temp.txt &

    }
    liveStreaming

    //above code is to capture video using ffmpeg and tcl.

    My text file "video_config" is as follow :

    cctv=Logitech HD Webcam C525

    as, i want it to run with multiple camera : the text file should be as follow :

    cctv=Integrated Webcam,Logitech HD Webcam C525

    The problem is "," (comma), my TCL script is unable to predict the coma (,) . can any one provide me the proper TCL script which can predict the coma, so that my TCL script can work with multiple camera.

    Error Report :

    ffmpeg version N-89127-g8f4702a93f Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 7.2.0 (GCC)
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx
     libavutil      56.  0.100 / 56.  0.100
     libavcodec     58.  3.103 / 58.  3.103
     libavformat    58.  2.100 / 58.  2.100
     libavdevice    58.  0.100 / 58.  0.100
     libavfilter     7.  2.100 /  7.  2.100
     libswscale      5.  0.101 /  5.  0.101
     libswresample   3.  0.101 /  3.  0.101
     libpostproc    55.  0.100 / 55.  0.100
    [dshow @ 05944ac0] Could not find video device with name [Integrated Webcam,Logitech HD Webcam C525] among source devices of type video.
    video=Integrated Webcam,Logitech HD Webcam C525: I/O error
  • how to have live video streaming using ffmpeg command or using tcl 8.0 script on windows 10 platform [duplicate]

    16 novembre 2017, par M. D. P

    I am able to capture the video and image by using ffmpeg in tcl script, but I want to have live video streaming for my multiple webcams for tcl version 8.0 on windows 10.

    I tryed :

    ffmpeg -f vfwcap -r 25 -i 0 sample.avi

    for video capturing, it works

    ffmpeg -f vfwcap -r 25 -i 0

    and I tried this for live video streaming by it didn’t http://wiki.tcl.tk/40194
    So what will be the right command for live video streaming.

    exec [list ffmpeg -f dshow -t 00:00:10 -i "video=Integrated Webcam" -b 5000k -s 1280x720 c :/test/sample-a.avi] &

    also tried with this, still not working