Recherche avancée

Médias (91)

Autres articles (88)

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

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

  • How to monitor volume level during ffmpeg capture

    7 septembre 2018, par Virkom

    I capture sound from soundcard, convert it to mp3 and stream to multicast IP.
    Command looks like :

    ffmpeg -f alsa -i hw:0 -async 1 -vn -acodec libmp3lame -ac 1 -ar 44100 -b:a 128k -flush_packets 0 -f mpegts -pes_payload_size 426 -mpegts_start_pid 0x44 udp://233.21.215.101:1234?pkt_size=1316

    But I need to monitor volume level of capturing. If there is no sound (or noise only) I need to switch to another (reserve) channel.

    Can I get volume level in ffmpeg output ? How I can do it ?

    P.S : I can get volume level by "volumedetect" filter but it’s not in realtime. I need realtime monitoring.

    P.P.S : I run ffmpeg programmatically from my application and can’t monitor additional windows (like video frame when I use showvolume filter).

  • not able to convert a specific .wav file to mp3 or m4a with sox, avconv

    25 juillet 2017, par astrograph

    At the office we have a project where we apply IoT technologies to a real bee hive.

    One of the features is to detect specific sounds the bees make when a new queen hatches. We have a special microphone in place, the algorithm is also implemented. For now we get a lot of false positives, and want to quickly be able to identify them, by listening to the audio files in the browser. Therefore I want to convert the .wav files to either .mp3 or .m4a

    The .wav file format seems to be quite strange, as I was not able to convert it to mp3 using avconv, sox or even audacity. The funny thing is, the Microsoft media player can play the .wav file fine.

    Here is the information soxi gives about the wav file :

    pi@raspberrypi:~ $ soxi Channel1.wav
    soxi WARN wav: wave header missing extended part of fmt chunk

    Input File     : 'Channel1.wav'
    Channels       : 1
    Sample Rate    : 6250
    Precision      : 24-bit
    Duration       : 00:01:21.00 = 506250 samples ~ 6075 CDDA sectors
    File Size      : 2.03M
    Bit Rate       : 200k
    Sample Encoding: 32-bit Floating Point PCM

    This is the avconv command I am trying to use :

    avconv -y -v quiet -i Channel1.wav -strict experimental -ar 44100 -ab 160k Channel1.m4a

    I also tried with sox :

    sox  -v 0.60 Channel1.wav -r 22050 Channel1.m4a

    but the output is mostly silent, with some random noise.

    The question is how can a wav file like this : https://drive.google.com/open?id=0B9YVh-jkOMLsQThERlI2emN2QWM be converted to an audio format using a raspberry pi that can be played in the browser ?

  • MoviePy Error : The system cannot find the file specified

    4 juillet 2017, par JohnSmithy1266

    I’m getting the error in the title when trying to run the example code below on Windows 10/Python 3.6.1/Sublime Text Editor 3. I made sure to set my MAGICK_HOME environment variable to point to where I manually installed ImageMagick. I made sure to only have 1 version of ImageMagick installed. I made sure FFMPEG, Numpy, imageio, Decorator, and tqdm were all installed.

    Yes, the file "vidclip.mp4" exists. The desired behavior here is to simply clip the video and add text to the center as per the example on the github page, i.e. to simply run the code successfully.

    Does anyone know what might be wrong ?

    Example code from github :

    from moviepy.editor import *

    video = VideoFileClip("vidclip.mp4").subclip(7,64)

    # Make the text. Many more options are available.
    txt_clip = ( TextClip("Ken Block who?",fontsize=70,color='white')
                .set_position('center')
                .set_duration(10) )

    result = CompositeVideoClip([video, txt_clip]) # Overlay text on video
    result.write_videofile("vidclip_edited.webm",fps=25) # Many options...

    The full error trace :

    Traceback (most recent call last):
     File "C:\Users\av\AppData\Local\Programs\Python\Python36\lib\site-packages\moviepy\video\VideoClip.py", line 1220, in __init__
       subprocess_call(cmd, verbose=False )
     File "C:\Users\av\AppData\Local\Programs\Python\Python36\lib\site-packages\moviepy\tools.py", line 42, in subprocess_call
       proc = sp.Popen(cmd, **popen_params)
     File "C:\Users\av\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 707, in __init__
       restore_signals, start_new_session)
     File "C:\Users\av\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 990, in _execute_child
       startupinfo)
    FileNotFoundError: [WinError 2] The system cannot find the file specified

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
     File "C:\Users\av\Desktop\Desktop\Projects\Youtube\blender\test\testMoviePy.py", line 6, in <module>
       txt_clip = ( TextClip("Ken Block who?",fontsize=70,color='white')
     File "C:\Users\av\AppData\Local\Programs\Python\Python36\lib\site-packages\moviepy\video\VideoClip.py", line 1229, in __init__
       raise IOError(error)
    OSError: MoviePy Error: creation of None failed because of the following error:

    [WinError 2] The system cannot find the file specified.

    .This error can be due to the fact that ImageMagick is not installed on your computer, or (for Windows users) that you didn't specify the path to the ImageMagick binary in file conf.py, or.that the path you specified is incorrect
    </module>