Recherche avancée

Médias (91)

Autres articles (68)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

Sur d’autres sites (5316)

  • Decoding and playing aac-eld, regular static and oddities

    5 novembre 2017, par comwizz2

    Sample :
    https://soundcloud.com/michael-rogers-43/440hz-scratchy

    I am using ffmpeg to decode some raw aac-eld frames and it seems whenever I try to play it, I get this odd regular popping sound linked above. I am not sure what could be causing this ? To hear a clean version go here and hit play :

    http://www.szynalski.com/tone-generator/

    I am just really not good at audio and have no idea what could cause such an odd but consistent distortion (have tried several tones, and music.)

    The source is supposed to be
    LR channel
    44100 rate

    ffmpeg outputs FTLP (Which oddly seems to be in a range >1 and < -1 at times.)
    Which I have tried converting by hand and using the resample lib.
    I just am not even sure where to start from here ?

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

    4 mars 2023, par spaceman

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

    &#xA;

    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;

  • 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

    &#xA;

    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.&#xA;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.

    &#xA;

    Goal

    &#xA;

    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.

    &#xA;

    Question :

    &#xA;

    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.

    &#xA;

    Steps Taken :

    &#xA;

      &#xA;
    1. Downloaded audio from YouTube using yt-dlp.
    2. &#xA;

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

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

    &#xA;

    Download audio from youtube

    &#xA;

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

    &#xA;

    Audio conversion

    &#xA;

    The resulting file is silent or corrupted

    &#xA;

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

    &#xA;

    Audio conversion to mono .wav with phase inversion

    &#xA;

    The resulting file has audio

    &#xA;

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

    &#xA;