Recherche avancée

Médias (91)

Autres articles (81)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (13181)

  • 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


    


  • Restream with FFmpeg [closed]

    30 mars, par boyuna1720

    I have iptv playlist file with inside VODs and Channel links. I want to restream it from my server becouse provider allows only one user to watch. When i am using Nginx with RTMP and FFmpeG i am getting this error. please tell me if anyone can help to fix this issue.

    


    ffmpeg -re -i "http://excel90095.cdn-akm.me:80/23a9a158d8d8/2dd736a985/325973" -c:v copy -c:a aac -f flv "rtmp ://localhost/live/test"

    


    enter image description here