Recherche avancée

Médias (91)

Autres articles (50)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • 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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (7616)

  • Detect sound instead of silence

    26 juillet 2020, par miguelmorin

    Following using FFMPEG with silencedetect to remove audio silence I am able to detect silence below a certain level, e.g. -50 dB :

    


    ffmpeg -i input.wav -af silencedetect=n=-50dB:d=1 -f null -


    


    The result is, for example :

    


    
[silencedetect @ 0x7ffe62700b00] silence_start : 0
[silencedetect @ 0x7ffe62700b00] silence_end : 2.96721 | silence_duration : 2.96721
[silencedetect @ 0x7ffe62700b00] silence_start : 5.08131
[silencedetect @ 0x7ffe62700b00] silence_end : 7.0656 | silence_duration : 1.98429


    


    Does FFMPEG have the opposite command to detect sound above a certain level, and giving the complement of the above result, for example :

    


    
[sounddetect @ 0x7ffe62700b00] sound_start : 2.96721
[sounddetect @ 0x7ffe62700b00] sound_end : 5.08131


    


  • MP4 to OGG conversion does not include sound

    15 juillet 2015, par iamthestreets

    I found this question and I was able to successfully convert my video to OGG, but it does not include the sound.

    Here is the code :

    //SET FFMPEG PATH
    $ffmpegPath = 'ffmpeg';
    //CREATE CLASS INSTANCE
    $ffmpegObj = new ffmpeg_movie($video);
    //GET AUDIO BITRATE FROM SOURCE FILE
    $srcAB = intval($ffmpegObj->getAudioBitRate());
    //GET VIDEO BITRATE FROM SOURCE FILE
    $srcVB = intval($ffmpegObj->getVideoBitRate());                
    //SET THE AUDIO CODEC TO LIBVORBIS
    $aCodec = ' -acodec libvorbis';
    //SET THE VIDEO CODEC TO LIBTHEORA
    $vCodec = ' -vcodec libtheora';
    //EXECUTE THE CONVERSION
    exec($ffmpegPath." -i ".$video.$vCodec." -vb ".$srcVB." -ab ".$srcAB." ".$ogg_video);

    What am I doing wrong ?

  • Merge video without sound and audio with offset using ffmeg

    17 août 2022, par Stratocaster

    I need to merge the video (which has no audio) and the audio file with offset (audio should start at 9 seconds). I use this :

    


    ffmpeg -i video_without_sound.mp4 -i audio_file.mp3 -c:v copy -filter_complex "[1]adelay=9000|9000[s1];[s0:a][s1]amix=2[a]" -map 0:v -map "[a]" -c:a aac output.mp4


    


    And I get an error :

    


    Stream specifier 's0:a' in filtergraph description [1]adelay=9000|9000[s1];[s0:a][s1]amix=2[a] matches no streams.


    


    I think problem is that the video files have no sound and no audio streams. How to merge such files with offset ?