Recherche avancée

Médias (1)

Mot : - Tags -/illustrator

Autres articles (37)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • 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

  • 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 (10425)

  • Given 2 input videos of different lengths at 60 FPS with multiple common sections in between, what is the best way to sync them at the common section ?

    27 janvier 2024, par PirateApp

    enter image description here
input vs output

    


      

    • In my actual case, there are 4 videos (basically gaming videos recorded from 4 different machines)
    • 


    • Each video may start or end at different duration (manually controlled by people starting and stopping recording and therefore their lengths vary slightly)
    • 


    • Each video has one or more common sections (basically a cutscene playing at the same time)
    • 


    • The distance between the common sections is the same in every video
    • 


    • How do I sync the videos at the common section ?
    • 


    • Basically I want to create a split screen video such that the common part plays at the same time on all the sub parts of the video
    • 


    • Keep in mind that the common sections wont be EXACTLY equal (because of graphics differences between machines but highly similar like dx9 vs dx11 or gamma)
What have I tried ?
    • 


    • Naive approach
    • 


    • Start video 1 at 0, start video 2 at 0.017, render the whole thing and check if it is in sync
    • 


    • Start video 1 at 0, start video 2 at 0.033, render the whole thing and check if it is in sync
    • 


    • Basically loop through the length of the video at each frame interval, render the full video and check if we get a synced version
    • 


    


    This sounds like a terrible idea honestly

    


      for (t1 in length of video a) {
    for (t2 in length of video b) {
       render a video with a and b starting at t1, t2 respectively
       increment t2 by 0.017 for b
    }
    increment t1 by 0.017 for a
  }


    


    Final output with 4 videos should look like this all synced at common sections
enter image description here

    


    Any better ideas ?

    


  • FFMPEG-Php installation on Amazon EC2 linux AMI

    5 mai 2015, par Hamza

    I have installed FFMPEG on Amazon EC2 Linux AMI using this script now I am trying to install FFMPEG-PHP and after ./configure it gives me this error on make command

    # make
    /bin/sh /opt/ffmpeg-php-0.6.0/libtool --mode=compile cc  -I. -I/opt/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/opt/ffmpeg-php-0.6.0/include -I/opt/ffmpeg-php-0.6.0/main -I/opt/ffmpeg-php-0.6.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/include/ffmpeg  -DHAVE_CONFIG_H  -g -O2 -Wall -fno-strict-aliasing   -c /opt/ffmpeg-php-0.6.0/ffmpeg-php.c -o ffmpeg-php.lo
    libtool: compile:  cc -I. -I/opt/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/opt/ffmpeg-php-0.6.0/include -I/opt/ffmpeg-php-0.6.0/main -I/opt/ffmpeg-php-0.6.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/include/ffmpeg -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /opt/ffmpeg-php-0.6.0/ffmpeg-php.c  -fPIC -DPIC -o .libs/ffmpeg-php.o


    In file included from /opt/ffmpeg-php-0.6.0/ffmpeg-php.c:42:0:
       /usr/local/include/ffmpeg/avcodec.h:43:21: fatal error: version.h: No such file or directory
        #include "version.h"

    I have searched this a lot but couldn’t manage to do it, Amazon support officer asked me to use CENTOS AMI instead of Linux AMI but I have everything hosted there, so I will appreciate if someone can help me with this.

    Thank you,

    Hamza

  • How i apply ffmpeg code to apply watermark while converting video ?

    12 août 2017, par asif

    There are three options in video converter php script, before converting via ffmpeg on linux server.

    • 1.Video Quality
    • 2.Audio Quality
    • 3.Video Size

    For Quality, code lines in php are :

    <option value="2000000">high</option>
    <option value="1000000">medium</option>

    For Audio :

    option value="44100" >high
                     <option value="22050">medium</option>
                     <option value="11025">low</option>

    For Size :

    <option value="640x360">640x360</option>
                     <option value="854x480">854x480</option>
                     <option value="1280x720">1280x720</option>

    Likewise conversion code is :

    if($new_format=="mp4"){ $call=$ffmpeg." -i ".$video_to_convert."  -vcodec mpeg4 -r 30 -b ".$quality." -acodec libmp3lame -ab 126000 -ar ".$audio." -ac 2 -s ".$size." ".$converted_vids.$name.".".$new_format." -y 2> log/".$name.".txt";}
    enter code here

    I saw on 1 site

    [1]: http://hd69.info/process.php?uploaded_name=11~1.mp4

    They have applied watermark code line< i am doing the same but results an error, put code lines in the video quality just like they did, putting this code in video quality options :

    -i watermark.png -filter_complex 'overlay=main_w-overlay_w-10:main_h-overlay_h-10'

    I am getting errors, please help how i do like that [site]