Recherche avancée

Médias (1)

Mot : - Tags -/blender

Autres articles (82)

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

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (12132)

  • php sequential exec() processes not working (ffmpeg encode)

    26 juillet 2012, par Allen Hall

    I am trying to run a php script from shell that will query a table of videos, check if the encoded version of that video exists, and if not, encode one. I have tested all of the contents of the exec() commands outside of php so I know they work fine. My problem is when the ffmpeg line runs, it finishes but the script quits. I want it to run the next exec() and I don't understand why it won't.

    Also to avoid confusion, I am not trying to run these simultaneously, and I don't care about running in the background since this is running from the shell anyway. I just want these 4 commands to execute sequentially and then continue to the next file.

    include 'inc/functions.php';

    $result = mysql_query("SELECT * FROM videos") or die(mysql_error());

    while ($row = mysql_fetch_array($result)) {
       if(!file_exists('/opt/lampp/htdocs/videos/'.$row['file_folder'].'/'.$row['file_name'].'.mp4')) {
           exec('ffmpeg -i "/opt/lampp/htdocs/videos/'.$row['file_folder'].'/'.$row['file_name'].'" -vcodec libx264 -vpre fast -b 512k -acodec libfaac -ab 128k -ac 2 "/opt/lampp/htdocs/videos/'.$row['file_folder'].'/output.mp4"') or die('could not encode movie');
           exec('/usr/lib/qt-faststart "/opt/lampp/htdocs/videos/'.$row['file_folder'].'/output.mp4" "/opt/lampp/htdocs/videos/'.$row['file_folder'].'/'.$row['file_name'].'.mp4"') or die('could not move mp4 atoms');
           exec('rm -f "/opt/lampp/htdocs/videos/'.$row['file_folder'].'/output.mp4"') or die('could not delete original encode');
           exec('ffmpeg -ss 00:00:30.00 -i "/opt/lampp/htdocs/videos/'.$row['file_folder'].'/'.$row['file_name'].'" -y -f image2 -vcodec mjpeg -vframes 1 "'.$row['file_name'].'.jpg"') or die('could not create screenshot');
       }
    }
  • avformat/apvdec : don't fill container level fields with codec level info

    27 avril, par James Almer
    avformat/apvdec : don't fill container level fields with codec level info
    

    This is a raw demuxer, it should not read codec level information and export it
    as container level information.
    The generic demux code will use the recently introduced parser to take care of
    that.

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] configure
    • [DH] libavformat/apvdec.c
  • flac and metaflac : Don’t always call setlocale() in Windows.

    19 juillet 2014, par Erik de Castro Lopo
    flac and metaflac : Don’t always call setlocale() in Windows.
    

    Windows (MSVC, MinGW) versions of setlocale don’t care about LC_*
    environment variables. For example, flac cannot pass the test for
    — until and —skip options the script calls it with —skip=0:01.1001
    and it expects decimal comma (—skip=0:01,1001) on some locales.

    Solve this (on Windows) by calling setlocale(LC_ALL, "") if some
    LC_* variable is set to "C".

    Patch-from : lvqcl <lvqcl.mail@gmail.com>

    • [DH] src/flac/main.c
    • [DH] src/metaflac/main.c