Recherche avancée

Médias (1)

Mot : - Tags -/wave

Autres articles (71)

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

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (11185)

  • Save incoming frames from camera to video using ffmpeg

    12 avril 2024, par Liza Yemini

    I'm trying to record frames that I read from an industrial camera (such as - https://en.ids-imaging.com/store/u3-3680xle.html) in my C# code as bitmaps.
I want to convert those bitmaps to video on the fly.

    


    My solution until now was -> Sending those bitmaps to a virtual camera (e2e soft vcam) and then record the camera with ffmpeg - using this command :

    


    -f dshow -i video=VCam -r 18 -vcodec libx264 Video.mp4


    


    This is not working so well, because there are drop frames and the video is not smooth.

    


    There is another way to use ffmpeg for converting those images to video on the flight ?

    


    Thank you !

    


  • Can't save a file in moviepy python

    23 juillet 2023, par user9102437

    I have seen a few questions about this here, but none of them solved the issue for me, so maybe my case is different in some way.

    


    I am trying to achieve a simple result : read a file and write it. Here is the code :

    


    import os
os.environ['FFMPEG_BINARY'] = '/usr/bin/ffmpeg'

from moviepy.editor import VideoFileClip
name = 'test.mp4'

clip = VideoFileClip('./vids/'+name)

clip.write_videofile('./vids/'+name, codec='libx264', fps=30)


    


    This code comes up with an error :

    


    ---> 88     '-r', '%.02f' % fps,
     89     '-an', '-i', '-'
     90 ]
     91 if audiofile is not None:
     92     cmd.extend([
     93         '-i', audiofile,
     94         '-acodec', 'copy'
     95     ])

TypeError: must be real number, not NoneType


    


    You may notice that I have set the environment variable for ffmpeg (I have also changed that in configure_defaults.py). This is because it was suggested in other questions. Also based on them I have run the following commands before running the code :

    


    sudo apt -y update
sudo apt -y install ffmpeg
pip install decorator
pip install moviepy --upgrade
pip install ffmpeg --upgrade


    


    I am using a Debian GNU/Linux 10 (buster) machine, and the versions of moviepy and ffmpeg are 1.0.3 and 4.1.10-0+deb10u1 respectively.

    


    Nothing seems to be helping to solve this. What am I missing here ?

    


  • Can't figure out how to get ffmpeg to save to an odd file extension

    30 septembre 2015, par dinki

    I’m working on a network encoder for SageTV. I get request from the SageTV with certain filenames. I’m trying to capture video from my capture card and write out to a file called

    ’D :\Media\tvrecordings\RokuNetworkEncoderonlocalhost4510TVTuner-
    0.mpgbuf’

    Here’s the command I’m using :

    C :\Users\User>C :/Users/User/Desktop/ffmpeg-20150928-git-235381e-win64-static/bin/ffmpeg.exe
    -f dshow -crossbar_video_input_pin_number 2 -i video="ATI AVStream Analog Capture"
    D :\Media\tvrecordings\RokuNetworkEncoderonlocalhost4510TVTuner-0.mpgbuf

    When I run that command, I get this error :

    [NULL @ 00000000087f9160] Unable to find a suitable output format for 'D:\Media\
    tvrecordings\RokuNetworkEncoderonlocalhost4510TVTuner-0.mpgbuf'
    D:\Media\tvrecordings\RokuNetworkEncoderonlocalhost4510TVTuner-0.mpgbuf: Invalid
    argument

    But if I change .mpgbuf to .mpg it works fine . I am forced to use that filename though. Is there an easy way to do this ?