Recherche avancée

Médias (91)

Autres articles (55)

  • 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

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (11667)

  • How to speed up processing for FFmpeg video overlay on a video source file in Android ?

    28 décembre 2017, par Iffat Fatima

    I am working on an Android application to add a video file as an overlay on another video file, along with adding an audio stream to it, using FFmpeg library for Android.

    I am using the following command to apply the overlay, but for a video of 2 seconds, it takes 55 seconds to process. Is there a way to speed up this process ?

       String[] complexCmd = new String[]{ "-y",    
               "-i",              
               originalVideoPath,        
               "-i",              
               overlayVideoPath ,      
               "-i",              
               audioPath,              
               "-filter_complex",  
               "[0:v]setpts=PTS-STARTPTS[top];[1:v]setpts=PTS-STARTPTS, scale="+newOverlayWidth+"x"+newOverlayHeight+",format=yuva420p,colorchannelmixer=aa=0.5[bottom];[top][bottom]overlay=shortest=1:x="+left+":y="+top+"" ,
               "-c:v",
               "libx264",
               "-preset",
               "ultrafast",
               "-crf",
               "28",  
               "-map",  
               "2:a",  
               "-shortest",
               destVideoPath,
       };
  • Adding outro video to multiple video files using ffmpeg

    31 août 2017, par jasan

    I can successfully merge files using the following command using ffmpeg :

    ffmpeg -f concat -i mylist.txt -c copy output.mp4

    the mylist.txt looks like this :

    file './video.mp4'
    file './outro.mp4'

    However what I want to do is the following :

    • I have 100 video files ( video1.mp4, video2.mp4, video3.mp4,...)

    • i have one outro file(outro.mp4)

    I want to concat outro.mp4 to the end of each of the 100 files and save each of concatenated video file with the same filename as the original videofile( i.e video1, video2....)

    I’m on a windows machine. any way I can achieve this ? code snippet would be really helpful.

  • How to reduce the file size during conversion of video from any video to mp4 using ffmpeg &mp4box in PHPmotion ?

    3 juillet 2017, par Balaji Kandasamy

    I am using ffmpeg & mp4box in my PHPmotion site to convert videos to mp4 format. When I convert a 50MB video to mp4, the file size remain same. So Its affecting the video streaming in my site. So I want to reduce the file size of the video in conversion. This is my code example, that I’ve used the site for converting m4v videos in PHPmotion.

    $ffmpeg_cmd2_2 = "$config[path_to_ffmpeg] -i $raw_video_path -vcodec libx264 -vpre veryfast -crf 15 -b 5120000 -threads 0 -acodec libfaac -ac 2 -ab 128k -ar 44100 -f mp4 $new_flv_1";
    $mp4box_cmd = "$mp4box_path -add $new_flv_1 $new_flv_2"

    When I use this command,it converts the m4v file to mp4 format, but the filesize doesn’t change. What command I should use in this to reduce the filesize during video conversion in PHPmotion ? Can anyone write a ffmpeg command to reduce the filesize during conversion ?