Recherche avancée

Médias (91)

Autres articles (69)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (6989)

  • Using find / for how do I remove the original file extension for the output file name ?

    2 septembre 2022, par burntscarr

    When using find or for to run things on multiple files, how would I make something not keep the file extension ?

    


    For example if using ffmpeg on multiple files to convert from DTS to WAV I would run one of the following :

    


    find . -name "*.dts" -exec ffmpeg -i "{}" -c:a pcm_s24le "{}.wav" \;

    


    or

    


    for f in ./*.dts; do ffmpeg -i "$f" -c:a pcm_s24le "$f.wav"; done

    


    Both of these make files that end in .dts.wav rather than just .wav

    


    My goal is to find out what I would add/change to make the "{}.wav" or "$f.wav" not include the .dts part for the output file name. (and several other examples with various extensions)

    


    This happens automatically when using the cli version of flac, the output file automatically removes .wav and has .flac instead, when no output file is specified.
(Ex : flac -8 *.wav would create .flac files next to the .wav files, but they aren't .wav.flac, they're just .flac)

    


  • End Part of .WAV file is not converted to .MP3 file

    29 janvier 2021, par Shailendra Patil

    enter image description here

    


    As you can see the in the above image, the end part of the .wav file is not represented in the mp3 file. Here, I am making use of avcodec_decode_audio4() api to decode each packet, and using lame_encode_buffer() api to encode it in mp3 format. Here, I am seeing this issue for MONO streams( 1.wav -> 1.mp3 ). I just wanted to know why is this occuring, even when I am providing all the .wav file content. I am suspecting there is some caching that is happening, due to which I am unable to get whole data into the mp3 file. Any help here would be appreciated.

    


  • Convertion of mp3 file with ffmpeg results in a file with wrong length [duplicate]

    16 avril 2018, par Arthur Efixty

    This question already has an answer here :

    I wrote a simple script for Linux where I loop through the folder (containing only .mp3 files) and add an album art to every item.

    Here is my code :

    for file in ~/Desktop/Rise\ Against/*
       do
           ffmpeg -i "${file}" -i ~/Desktop/appeal\ to\ reason.jpeg -map 0:0 -map 1:0 -codec copy -id3v2_version 3 \-metadata:s:v title="Album cover" -metadata:s:v comment="Cover (front)" "${file%}";
       done

    If I set the output filename to hardcoded value like out.mp3 then it works fine. But I need these files to have the same name as existing and overwrite them.

    Running this script results in having all files edited as expected (the album art changed) but they all have a length of 3 seconds. In terminal I get this [mp3 @ 0xc695e0] Audio packet of size 378219 (starting with 6B0855F2...) is invalid, writing it anyway.

    Thanks in advance !