Recherche avancée

Médias (1)

Mot : - Tags -/berlin

Autres articles (61)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

Sur d’autres sites (6885)

  • ppc : Fix the bug of fft for little endian environment on POWER7 and later

    18 juin 2014, par Rong Yan
    ppc : Fix the bug of fft for little endian environment on POWER7 and later
    

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] configure
    • [DH] libavcodec/ppc/Makefile
    • [DH] libavcodec/ppc/fft_altivec.c
    • [DH] libavcodec/ppc/fft_vsx.c
    • [DH] libavcodec/ppc/fft_vsx.h
  • How to use FFMPEG in linux environment only for video thumbnails creation ?

    16 mars 2015, par User

    I am using FFMPEG for video thumbnails creation,

    I have downloaded FFMPEG (ffmpeg-2.4.2.tar.bz2).

    wrote code for that

    if($extension === 'mp4' OR $extension == 'MP4' )
    {
    $video = $timestamp.$imagename;
    $videoname=substr($imagename,0, -4).$timestamp;
    $image = "sites/default/files/content_images/{$videoname}-thumb.jpg";

    var_dump($video);

    $cmd="/usr/local/bin/ffmpeg -i /opt/lampp/htdocs/mydashboard/sites/default/files/content_videos/".$video." -ss 00:00:14.435 -f image2 -vframes 1 /opt/lampp/htdocs/mydashboard/sites/default/files/content_images/$videoname-thumb.jpg";

    $cmdstr = $cmd;
    $locale = 'en_IN.UTF-8';
    setlocale(LC_ALL, $locale);
    putenv('LC_ALL='.$locale);
    echo exec($cmd);

    Placed ffmpeg files in usr/local/bin folder.

    but video thumbnails are not created.

    can any one tel me how to use ffmpeg in linux server.

  • ffmpeg in a suexec php environment running on Ubuntu 14.04

    25 mai 2015, par Flippsus

    on an Ubuntu 14.04 Server I configured an apache virtual host, that runs PHP scripts under a given system user (suExec + fcgid).

    So far everything works.

    The PHP script uses a library called PHP-FFMpeg, which again internally uses the programm ffmpeg, which I symlinked under /usr/local/bin/ffmpeg.

    Since ffmpeg is not supported under Ubuntu 14, I have installed avconv, which can easily be symlinked with /usr/local/bin/ffmpeg.

    But avconv was installed under /usr/bin/avconv.

    Since I use the PHP directive open_basedir to restrict access to certain folders, I would have to add /usr/local/bin to the open_basedir, which would not be a problem, because in this folder resist only a few programs.

    But because it is symlinked, and the command lives in /usr/bin, I would have to add /usr/bin to open_basedir. I think this would be a bad idea.

    Do you have any advise or workaround to get a program such as /usr/bin/ffmpeg in such a security context ?

    Thank you very much !