Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (71)

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

  • how to begin streaming while ffmpeg is still transcoding the file in PHP

    15 janvier 2013, par Joyal

    I want to transcode an AVI video to mp4 with ffmpeg, but while is still transcoding, I would like to watch the video transcoded on a flash video player in realtime , Im using jwplayer , I made some test with mp4 and works great , but Im not able to make it work while is transcoding

    I made a php script to run the command in background

    ffmpeg.exe -threads 1 -y -i "a.avi" -s 1280x720 -f mp4 -vcodec libx264 -b 2000000 -ab 128000 -ar 44100 "a.mp4"

    on the jwplayer i have as source "a.mp4"

  • Is there a way to (automatically) detect if the channels of a stereo video/audio are out of phase and canceling each other ?

    8 mars 2024, par Rhenan Bartels

    Background

    


    I've encountered an issue while attempting to convert an audio downloaded from a youtube video into a mono .wav format using ffmpeg. Despite using typical conversion commands (code below), the resulting audio is either silent or corrupted, indicating potential stereo channel cancellation.
I tried to load the audio into Python and calculate phase and cross-correlation, but this step uses a lot of memory, especially for a 6-hour-long audio.

    


    Goal

    


    I'm seeking a method, preferably using ffmpeg, to detect if stereo channels are canceling each other out due to phase misalignment. Additionally, I aim to automate the process of phase inversion before converting to mono to ensure the integrity of the resulting audio.

    


    Question :

    


    How can I automatically detect if stereo channels are canceling each other and subsequently invert the phase to ensure successful conversion to mono using ffmpeg ? Any insights, solutions, or alternative approaches would be greatly appreciated.

    


    Steps Taken :

    


      

    1. Downloaded audio from YouTube using yt-dlp.
    2. 


    3. Attempted audio conversion to mono using ffmpeg, resulting in silent or corrupted output.
    4. 


    5. Successfully converted audio to mono by manually inverting the phase of one channel prior to conversion.
    6. 


    


    Download audio from youtube

    


    yt-dlp -f bestaudio https://www.youtube.com/watch?v=s3QB_rJzH08 -o input.webm


    


    Audio conversion

    


    The resulting file is silent or corrupted

    


    ffmpeg -i input.webm  -ac 1 -ar 16000 -c:a pcm_s16le output.wav


    


    Audio conversion to mono .wav with phase inversion

    


    The resulting file has audio

    


    ffmpeg -i input.webm -af "aeval=val(0)|-val(1)" -ac 1 -ar 16000 -c:a pcm_s16le output.wav


    


  • How to Save an Image (Current Frame) from an RTSP, using FFMPEG ?

    4 mars 2023, par spaceman

    I recently purchased a Security Camera,
    
and it provides an RTSP URL withwhich you can view the video.

    


    So If I run the command VLC rtsp://<ip>/etc</ip> for example,
    &#xA;then I am successfully able to watch the stream from the camera.

    &#xA;

    My question is :
    &#xA;Does FFMPEG provide some command line operation for Saving one Image from an RTSP Stream to disk ?

    &#xA;

    That way I can run this command, and have a .PNG or .JPG file created on disk.

    &#xA;