Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (96)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

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

  • Unable to execute CLI commands through PHP

    13 janvier 2012, par user940154

    OS : ubuntu 11.10
    Webserver : Apache
    Code : PHP
    I am trying to display the output of command "ffmpeg -i " on the webpage using php.
    Required : The webpage should show the information about video (text).
    Whats happening : The webpage shows no text output on running the php code.
    If I was however doing system("ls") the code runs fine and outputs the list of files.
    Here's my code

    <?php
    echo "Details of video file:";
    system('ffmpeg -i /home/atish/Videos/T2V0040006_Angled_ride_720x576i_FLDCMB.avi');
    ?>

    The same command works fine on my shell, and my system has ffmpeg installed. Here's a snapshot of executing this command directly on shell :

    ThinkPad-T420:~/Videos$ ffmpeg -i /home/xx/Videos/T2V0040006_Angled_ride_720x576i_FLDCMB.avi
    ffmpeg version git-2012-01-10-7e2ba2d Copyright (c) 2000-2012 the FFmpeg developers
    built on Jan 10 2012 12:01:19 with gcc 4.6.1
    configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-    amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab
     libavutil      51. 34.100 / 51. 34.100
     libavcodec     53. 54.100 / 53. 54.100
     libavformat    53. 29.100 / 53. 29.100
     libavdevice    53.  4.100 / 53.  4.100
     libavfilter     2. 58.100 /  2. 58.100
     libswscale      2.  1.100 /  2.  1.100
     libswresample   0.  6.100 /  0.  6.100
     libpostproc    51.  2.100 / 51.  2.100
     Input #0, avi, from '/home/atish/Videos/T2V0040006_Angled_ride_720x576i_FLDCMB.avi':
     Metadata:
     encoder         : Lavf52.23.1
     Duration: 00:00:29.00, start: 0.000000, bitrate: 124422 kb/s
     Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 720x576, 25 tbr, 25 tbn, 25 tbc
     At least one output file must be specified

    I have tried appending "DISPLAY=:0" to my command and also done "xhost +" before running php code, but nothing is helping me out.

    Thanks.

  • Anomalie #4685 (Nouveau) : Problèmes de css

    7 mars 2021, par Franck D

    Hello :)

    SPIP 3.3.0-dev GIT [master : f86fd052]
    Laragon :
    PHP 8.0.2 VS16 x64 Non Thread Safe https://windows.php.net/download/
    Apache 2.4.46 Win64 avec mod_fcgid-2.3.10-win64-VS16 https://www.apachelounge.com/download/
    Mysql 8.0.23 (mysql-8.0.23-winx64.zip) https://dev.mysql.com/downloads/mysql/
    phpMyAdmin 5.0.4 https://www.phpmyadmin.net

    Si je vais dans .../ecrire/ ?exec=messages puis après avoir fait une nouvelle annonce, je décide de la voir, j’arrive donc dedans, et là, il y a de gros problèmes de css (voir copie d’écran)
    Le petit calendrier à droite (en spip 3.2, c’est la date du jour et l’on peux voir l’événement du jour dedans), les boutons qui ne sont pas à la bonne places.

    En haut, il y a deux boutons "Répondre à ce message" et "supprimer ce message" c’était pareil en spip 3.2 mais le texte n’est pas pertinent, car au départ, il y a le choix entre :
    "Envoyer une nouvelle annonce", "Écrire un nouveau pense bête" "envoyer un nouveau message" donc, le texte devrait être en raccord avec ce que l’auteur créer.

  • NanoHTTPD in android do not streaming specific mp4 files

    2 septembre 2013, par user2739068

    I'm making Android application which makes mp4 video file
    (camera source, ffmpeg, h264 encoded)
    and streaming to webbrowser.
    but it fails to streaming when certain condition matches.(rec2.mp4)

    I checked those things--------------
    1. create mp4 file - OK
    2.NanoHTTPD streaming - Fail
     : if less than 1.4MB >> chrome downloads first and then play
     : else connection cancled
    3. other server ?
     : apache - Success
     : nginx - Success
     : tomcat - Success
    4. other mp4 file ?(rec1.mp4) - Success

    So, i thought that NanoHTTPD fails to serve specific mp4 file
    but i don't know what is the problem.

    • this is my souce code(serve function)

      public Response serve(String uri, Method method, Map headers, Map parms, Map files) {

      Context context = MainActivity.context;

      String etag = Integer.toHexString(new Random().nextInt());

      Response res = null;
      try {
         File file = new File("/sdcard/mp4files" + uri);
         BufferedInputStream bis = new BufferedInputStream(new FileInputStream(file), (int)file.length());
         res = new Response(Status.OK, "video/mp4", bis);
         res.addHeader( "Connection", "Keep-alive");
         res.addHeader( "ETag", etag);
      } catch (FileNotFoundException e) {
         e.printStackTrace();
      }
      return res;

      }

    • mp4 files
       : rec1.mp4 - recorded by using LG built-in app
       : rec2.mp4 - recorded by using my app
      http://www.mediafire.com/?rip17r7rho8igf7

    • using latest NanoHTTPD

    • Encode option - profile:baseline, crf:30, fps:10, width/height:720/480