Recherche avancée

Médias (91)

Autres articles (33)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

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

  • ffmpeg not creating video from images

    16 décembre 2014, par Knight Rider

    I have read this Create Video using ffmpeg

    Stack Question for the Same

    Wiki Page for the same

    Still I am not able to get it.
    I have written this shell command in PHP

    echo $make_movie = "$ffmpeg -framerate 1/5 -i $folder_name/img%03d.png -c:v libx264 -r 25 -pix_fmt yuv420p $folder_name/output.mp4";

    This gives output

    ffmpeg\bin\ffmpeg.exe -framerate 1/5 -i ankit/img%03d.png -c:v libx264 -r 25 -pix_fmt yuv420p ankit/output.mp4

    if(shell_exec($make_movie)){
       echo "<br />Movie Created..<br />";
    }
    else{
       echo "<br />Movie Creation Error..<br />";
    }

    The Output is Movie Creation Error that means the Shell Command is not executing ?

    Questions :

    1. What is wrong ?
    2. For future use, any debugging methods for this ?

    I ran the same command on cmd and it made the video..!!!

  • Add watermark to video using ffmpeg in php not working

    13 juillet 2017, par Remya

    I need to watermark a mp4 video , Currently i am using this code, but it is not working , please solve this

    &lt;?php $msg = exec('/usr/local/bin/ffmpeg -i uploads/videos/profile/movie.mp4 -vf "movie=logo.png [watermark]; [in][watermark] overlay=main_w-overlay_w-10:10 [out]" uploads/videos/profile/output.mp4 2>&amp;1', $output); var_dump($output);?>

    The error shows

    array (size=27)  0 => string 'FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers' (length=72)  1 => string '  built on Jan 14 2016 22:33:21 with gcc 4.4.7 20120313 (Red Hat 4.4.7-16)' (length=74)  2 => string '  configuration: --enable-libmp3lame --enable-libvorbis --disable-mmx --enable-shared --enable-libx264 --enable-libtheora --enable-libfaac --enable-avfilter --enable-gpl --enable-nonfree --enable-x11grab --enable-libxvid' (length=220)  3 => string '  libavutil     50.36. 0 / 50.36. 0' (length=35)  4 => string ' libavcore      0.16. 1 /  0.16. 1' (length=35)  5 => string '  libavcodec    52.108. 0 / 52.108. 0' (length=37)  6 => string '  libavformat   52.93. 0 / 52.93. 0' (length=35)  7 => string '  libavdevice   52. 2. 3 / 52. 2. 3' (length=35)  8 => string '  libavfilter    1.74. 0 /  1.74. 0' (length=35)  9 => string '  libswscale     0.12. 0 /  0.12. 0' (length=35)  10 => string 'Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'uploads/videos/profile/movie.mp4':' (length=75)  11 => string '  Metadata:' (length=11)  12 => string '   major_brand     : isom' (length=26)  13 => string '    minor_version   : 512' (length=25)  14 => string '    compatible_brands: isomiso2avc1mp41' (length=39)  15 => string '    creation_time   : 1970-01-01 00:00:00' (length=41)  16 => tring '    encoder         : Lavf53.24.2' (length=33)  17 => string '  Duration: 00:00:05.31, start: 0.000000, bitrate: 1589 kb/s' (length=60)  18 => string '    Stream #0.0(und): Video: h264, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 1205 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc' (length=117)  19 => string '    Metadata:' (length=13)  20 => string '      creation_time   : 1970-01-01 00:00:00' (length=43)  21 => string '    Stream #0.1(und): Audio: aac, 48000 Hz, 5.1, s16, 384 kb/s' (length=62)  22 => string '    Metadata:' (length=13)  23 => string '      creation_time   : 1970-01-01 00:00:00' (length=43)  24 => string '[buffer @ 0x1e95f70] w:1280 h:720 pixfmt:yuv420p' (length=48)  25 => string 'No such filter: 'movie'' (length=23)  26 => string 'Error opening filters!' (length=22)
  • Add watermark to video using ffmpeg in php not working

    2 mars 2017, par Remya

    I need to watermark a mp4 video , Currently i am using this code, but it is not working , please solve this

    &lt;?php $msg = exec('/usr/local/bin/ffmpeg -i uploads/videos/profile/movie.mp4 -vf "movie=logo.png [watermark]; [in][watermark] overlay=main_w-overlay_w-10:10 [out]" uploads/videos/profile/output.mp4 2>&amp;1', $output); var_dump($output);?>

    The error shows

    array (size=27)  0 => string 'FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers' (length=72)  1 => string '  built on Jan 14 2016 22:33:21 with gcc 4.4.7 20120313 (Red Hat 4.4.7-16)' (length=74)  2 => string '  configuration: --enable-libmp3lame --enable-libvorbis --disable-mmx --enable-shared --enable-libx264 --enable-libtheora --enable-libfaac --enable-avfilter --enable-gpl --enable-nonfree --enable-x11grab --enable-libxvid' (length=220)  3 => string '  libavutil     50.36. 0 / 50.36. 0' (length=35)  4 => string ' libavcore      0.16. 1 /  0.16. 1' (length=35)  5 => string '  libavcodec    52.108. 0 / 52.108. 0' (length=37)  6 => string '  libavformat   52.93. 0 / 52.93. 0' (length=35)  7 => string '  libavdevice   52. 2. 3 / 52. 2. 3' (length=35)  8 => string '  libavfilter    1.74. 0 /  1.74. 0' (length=35)  9 => string '  libswscale     0.12. 0 /  0.12. 0' (length=35)  10 => string 'Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'uploads/videos/profile/movie.mp4':' (length=75)  11 => string '  Metadata:' (length=11)  12 => string '   major_brand     : isom' (length=26)  13 => string '    minor_version   : 512' (length=25)  14 => string '    compatible_brands: isomiso2avc1mp41' (length=39)  15 => string '    creation_time   : 1970-01-01 00:00:00' (length=41)  16 => tring '    encoder         : Lavf53.24.2' (length=33)  17 => string '  Duration: 00:00:05.31, start: 0.000000, bitrate: 1589 kb/s' (length=60)  18 => string '    Stream #0.0(und): Video: h264, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 1205 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc' (length=117)  19 => string '    Metadata:' (length=13)  20 => string '      creation_time   : 1970-01-01 00:00:00' (length=43)  21 => string '    Stream #0.1(und): Audio: aac, 48000 Hz, 5.1, s16, 384 kb/s' (length=62)  22 => string '    Metadata:' (length=13)  23 => string '      creation_time   : 1970-01-01 00:00:00' (length=43)  24 => string '[buffer @ 0x1e95f70] w:1280 h:720 pixfmt:yuv420p' (length=48)  25 => string 'No such filter: 'movie'' (length=23)  26 => string 'Error opening filters!' (length=22)