Recherche avancée

Médias (91)

Autres articles (99)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (4414)

  • Pulseaudio record multiple xfbv screens with python

    10 octobre 2020, par Eric Lagarda

    I’m trying to do something complicated and I need some help.

    


    I’m able to record a session (video and audio) with python using xvfb and ffmpeg.

    


    I just want to visit a page using selenium and record the video and audio. It’s working but when I try to run multiple instances, the audio is mixing between records.

    


    How can achieve that ? I’m using pulseaudio. I know that with alsa you can set like a interface per instance, but I don’t know how to do it.

    


    Thanks for you support and comments.

    


  • ffmpeg command to python

    24 mars 2020, par user7356972

    I have following below command that to overlay two videos.
    I want to convert it into python code using ffmpeg-python.
    Please help me with it.

    ffmpeg -y\
       -i {0} -i {1} \
       -filter_complex \
           "[0:v]setpts=PTS-STARTPTS, scale=480x360[top]; \
                          [1:v]setpts=PTS-STARTPTS, scale=480x360,\
                          format=yuva420p ,colorchannelmixer=aa=0.5[bottom]; \
                          [top][bottom]overlay=shortest=1 "\
                          -vcodec libx264 out.mp4'.format(f1,f2))

    My code right till now.

    import ffmpeg

    in_file = ffmpeg.input('New.mp4')
    overlay_file = ffmpeg.input('psa2.mp4')
    (
       ffmpeg
       .concat(
           in_file.setpts(expr=PTS-STARTPTS),
           overlay_file.setpts(expr=PTS-STARTPTS)    
          )
       .overlay(shortest=1)
       .output('out.mp4')
       .run()
    )
  • 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