Recherche avancée

Médias (0)

Mot : - Tags -/configuration

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (51)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

  • Déploiements possibles

    31 janvier 2010, par

    Deux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
    L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
    Version mono serveur
    La version mono serveur consiste à n’utiliser qu’une (...)

Sur d’autres sites (7180)

  • How to install FFMpeg in WampServer 2.0 (Windows XP) [closed]

    16 décembre 2012, par Richard Knop

    I need to install the ffmpeg PHP extension on my localhost so I can test few of my scripts but I am having troubles figuring out how to do that.

    I have WampServer 2.0 with PHP 5.2.9-2, my OS is Windows XP. Please somebody give me step by step instructions.

    I have found some Windows builds here : http://sourceforge.net/projects/ffmpeg-php/files/

    But I don't know which one to download and what to do with files.

    EDITED :

    What I have done so far :

    1. Download ffmpeg_new
    2. Copy php_ffmpeg.dll from the php5 folder to the C :\wamp\bin\php\php5.2.9-2\ext
    3. Copy files from common to the windows/system32 folder
    4. Add extension=php_ffmpeg.dll to php.ini file
    5. Restarted all services (Apache, PHP...)

    I am gettings an error after using this code :

               $extension = 'ffmpeg';
               $extension_soname = 'php_ffmpeg.dll';
               $extension_fullname = PHP_EXTENSION_DIR . "/" . $extension_soname;

               // load extension
               if(false === extension_loaded($extension)) {
                   if (false === dl($extension_soname))
                       throw new Exception("Can't load extension $extension_fullname\n");
               }

    The error :

    Warning: dl() [function.dl]: Not supported in multithreaded Web servers - use extension=ffmpeg.dll in your php.ini in C:\wamp\www\hunnyhive\application\modules\default\controllers\MyAccountController.php on line 314

    Plus I also get the exception from above.

  • open source CMS and server for video streaming platform

    30 mai 2016, par Infinite

    I have to propose a platform that allows streaming video services employing the MPEEG-DASH standard. This platform blocks must be implemented with open source tools. I proposed FFmpeg to encode and MP4Box/GPAC tool for encryption and packaging. For the DRM case my propose is to use Widewine (I didn’t find any other open source tool) which is compatible with dash.js (the player proposed by me), it can be integrated to Chrome and according to CastLabs it’s also compatible with MP4Box. So, I have to select an open source CMS, and at the same time I need it to be compatible with dash.js. I read that it’s possible to add any JavaScript to these CMS, that it’s only necessary to create some modules to do so. I’d like to know which one of the following CMS you suggest me : MediaDrop, Drupal or Wordpress.
    I also have some doubts about the server. I know that in order to offer this service it only takes a traditional HTTP server. In a first moment I chose Nginx over Apache because the latter presents some problems associated to performance (the server will receive a large amount of simultaneous requests), nevertheless, I discarded Nginx (Nginx-rtmp module) due to its constraints : it’s only for live streaming (I need the service to be offered also on demand) and the inputs must be RTMP. I found something about Nginx-based VOD packager, do you know if this one can be used as a server to offer live and on demand streaming service ?

  • Shared Hosting + Static FFMPEG + PHP (or other scripting language) == failure on finding codec

    7 juillet 2012, par Ethan Allen

    here is the following environment :

    1. 1and1 shared hosting (they do not have ffmpeg installed, all good)
    2. i built a static ffmpeg binary that does not require dynamic loading of shared libaries (i built this on an Ubuntu system)
    3. ffmpeg binary is fully accessible and is able to get access
    4. executing the same command terminal or executing a php/perl script via terminal works fine...however, both scripts through a browser/web request fails with the following :

    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    array
    0 => string 'ffmpeg version git-2012-07-06-6936111 Copyright (c) 2000-2012 the FFmpeg developers' (length=83)
    1 => string ' built on Jul 5 2012 23:04:34 with gcc 4.4.3' (length=46)
    2 => string ' configuration : —prefix=' /ffmpeg' —enable-gpl —enable-libfaac —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libtheora —enable-libvorbis —enable-libvpx —enable-libx264 —enable-nonfree —enable-version3 —enable-static —disable-shared —extra-libs=-static —extra-cflags=-static' (length=323)
    3 => string ' libavutil 51. 64.100 / 51. 64.100' (length=40)
    4 => string ' libavcodec 54. 33.100 / 54. 33.100' (length=40)
    5 => string ' libavformat 54. 15.100 / 54. 15.100' (length=40)
    6 => string ' libavdevice 54. 1.100 / 54. 1.100' (length=40)
    7 => string ' libavfilter 3. 0.101 / 3. 0.101' (length=40)
    8 => string ' libswscale 2. 1.100 / 2. 1.100' (length=40)
    9 => string ' libswresample 0. 15.100 / 0. 15.100' (length=40)
    10 => string ' libpostproc 52. 0.100 / 52. 0.100' (length=40)
    11 => string 'Input #0, image2, from 'http://axiomchurch.co/main/wp-content/plugins/video-embed-thumbnail-generator/flash/skin/images/PlayNormal.png':' ; (length=136)
    12 => string ' Duration : 00:00:00.04, start : 0.000000, bitrate : N/A' (length=54)
    13 => string ' Stream #0:0 : Video : png, rgba, 100x100, 25 tbr, 25 tbn, 25 tbc' (length=66)
    14 => string '[graph 0 input from stream 0:0 @ 0x9482000] w:100 h:100 pixfmt:rgba tb:1/25 fr:25/1 sar:0/1 sws_param:flags=2' (length=109)
    15 => string '[output stream 0:0 @ 0x948ccc0] No opaque field provided' (length=56)
    16 => string '[auto-inserted scaler 0 @ 0x948d160] w:100 h:100 fmt:rgba sar:0/1 -> w:100 h:100 fmt:yuvj420p sar:0/1 flags:0x4' (length=111)
    17 => string '[mjpeg @ 0x948c760] ff_frame_thread_encoder_init failed' (length=55)
    18 => string 'Output #0, image2, to '/homepages/17/d411786663/htdocs/main/wp-content/uploads/2012/07/ffmpeg_exists_test%d.jpg' :' (length=113)
    19 => string ' Stream #0:0 : Video : mjpeg, yuvj420p, 100x100, q=2-31, 200 kb/s, 90k tbn, 25 tbc' (length=83)
    20 => string 'Stream mapping :' (length=15)
    21 => string ' Stream #0:0 -> #0:0 (png -> mjpeg)' (length=36)
    22 => string 'Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height' (length=119)

    The command being executed :

    /kunden/homepages/17/.../htdocs/bin/ffmpeg -i http://....co/main/wp-content/plugins/video-embed-thumbnail-generator/flash/skin/images/PlayNormal.png -ac 2 /homepages/17/.../htdocs/main/wp-content/uploads/2012/07/ffmpeg_exists_test.jpg

    You can see i have the full path of my ffmpeg binary and that it is executing. Here is what it looks like successfully via terminal :

    ffmpeg version git-2012-07-06-6936111 Copyright (c) 2000-2012 the FFmpeg developers
    built on Jul 5 2012 23:04:34 with gcc 4.4.3
    configuration : —prefix=' /ffmpeg' —enable-gpl —enable-libfaac —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libtheora —enable-libvorbis —enable-libvpx —enable-libx264 —enable-nonfree —enable-version3 —enable-static —disable-shared —extra-libs=-static —extra-cflags=-static
    libavutil 51. 64.100 / 51. 64.100
    libavcodec 54. 33.100 / 54. 33.100
    libavformat 54. 15.100 / 54. 15.100
    libavdevice 54. 1.100 / 54. 1.100
    libavfilter 3. 0.101 / 3. 0.101
    libswscale 2. 1.100 / 2. 1.100
    libswresample 0. 15.100 / 0. 15.100
    libpostproc 52. 0.100 / 52. 0.100
    Input #0, image2, from 'http://axiomchurch.co/main/wp-content/plugins/video-embed-thumbnail-generator/flash/skin/images/PlayNormal.png':
    Duration : 00:00:00.04, start : 0.000000, bitrate : N/A
    Stream #0:0 : Video : png, rgba, 100x100, 25 tbr, 25 tbn, 25 tbc
    [graph 0 input from stream 0:0 @ 0x9482000] w:100 h:100 pixfmt:rgba tb:1/25 fr:25/1 sar:0/1 sws_param:flags=2
    [output stream 0:0 @ 0x948ccc0] No opaque field provided
    [auto-inserted scaler 0 @ 0x948d160] w:100 h:100 fmt:rgba sar:0/1 -> w:100 h:100 fmt:yuvj420p sar:0/1 flags:0x4
    Output #0, image2, to '/homepages/17/d411786663/htdocs/main/wp-content/uploads/2012/07/ffmpeg_exists_test.jpg' :
    Metadata :
    encoder : Lavf54.15.100
    Stream #0:0 : Video : mjpeg, yuvj420p, 100x100, q=2-31, 200 kb/s, 90k tbn, 25 tbc
    Stream mapping :
    Stream #0:0 -> #0:0 (png -> mjpeg)
    Press [q] to stop, [?] for help
    frame= 1 fps=0.0 q=0.0 Lsize= 0kB time=00:00:00.04 bitrate= 0.0kbits/s
    video:2kB audio:0kB subtitle:0 global headers:0kB muxing overhead -100.000000%

    The user running the script at terminal AND the apache user are the same user...i have verified this.

    Something about the environment apache is running through is killing me...i dont have access to apache error logs unfortunately.

    As a side note...i am trying to utilize the Video Embed & Thumbnail Generator for wordpress.

    Any help appreciated, thanks !