Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (42)

  • 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

  • MediaSPIP Init et Diogène : types de publications de MediaSPIP

    11 novembre 2010, par

    À l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
    Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
    Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...)

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

  • 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
  • Issue #3 when compiling Xuggler for Raspberry pi with liboil

    19 juillet 2014, par Ashish Sharma

    I am trying to compile Xuggler for Raspberry Pi(Running on Debian OS aka Raspbian),

    I followed the ’Basic Build Instructions’ available here for compiling Xuggler.

    After I successfully installed all the prerequisites and set the correct paths, I ran the following command :

    ant run-tests

    After sometime I am facing the following error and the ant build fails :

    scroll at the end of log to see the issue

       Incarcerated package configured: ../../../../../captive/liboil
    Incarcerating package ../../../../../captive/liboil to fake DESTDIR=/home/pi/Downloads/xuggle-xuggler/build/native/armv6l-unknown-linux-gnueabihf/captive/stage
    /bin/bash: -c: line 1: syntax error near unexpected token `;'
    /bin/bash: -c: line 1: `          case armv6l-unknown-linux-gnueabihf in; *mingw*|*cygwin*) export as_cv_unaligned_access=yes ;; esac \'
    make: *** [all-local] Error 1

    I tried correcting the mentioned shell script but to no avail,

    Please help, following is the shell script code :

    if [ "" = "1" ]; then
     CROSS="--host ${HOST_OS}"
     # needed for mingw32 cross-compile to work
     case $HOST_OS in
        *mingw*|*cygwin*)
       export as_cv_unaligned_access=yes
       ;;
     esac
    else
     CROSS=
    fi
  • Anomalie #4585 (Nouveau) : Fatal error en php 8.0

    24 octobre 2020, par Franck D

    Hello :)
    Sur un spip tout neuf :
    Windows 10 (1909)

    Laragon avec :
    Php 8.0.0RC2 (VS16 x64 Non Thread Safe) https://windows.php.net/qa
    Apache 2.4.46 Win64 avec mod_fcgid-2.3.10-win64-VS16 https://www.apachelounge.com/download/
    Mysql 8.0.22 (mysql-8.0.22-winx64.zip) https://dev.mysql.com/downloads/mysql/
    phpMyAdmin 5.0.4 https://www.phpmyadmin.net

    Prefix des tables à l’installation : "test1"
    SPIP 3.3.0-dev GIT [master : 08981b68]

    Juste pour dire qu’en php 8, si j’ajoute une image jpg dans un article, dans le privé, il n’y a pas de problème, mais quand je vais dans l’article dans la partie public du site, j’ai droit à une belle page blanche avec dedans :

    Fatal error : Uncaught TypeError : Unsupported operand types : string / string in C :\laragon\www\test1\ecrire\inc\filtres_images_lib_mini.php:1333 Stack trace : #0 C :\laragon\www\test1\ecrire\inc\filtres_images_lib_mini.php(250) : _image_ratio(’360’, ’538’, ’672’, ’*’) #1 C :\laragon\www\test1\ecrire\inc\filtres_images_lib_mini.php(1448) : _image_valeurs_trans(’#2 C :\laragon\www\test1\ecrire\inc\filtres_images_mini.php(423) : process_image_reduire(Array, ’#3 C :\laragon\www\test1\ecrire\inc\filtres.php(508) : image_reduire(’https://core.spip.net/issues/4" />#4 C :\laragon\www\test1\ecrire\inc\filtres.php(317) : image_filtrer(Array) #5 C :\laragon\www\test1\ecrire\public\composer.php(98) : eval()’d code(217) : filtrer(’image_reduire’, ’

    un article p...’, ’672’, ’*’) #6 C :\laragon\www\test1\ecrire\public\composer.php(98) : eval()’d code(13) : BOUCLE_principalehtml_ac6a6a5af84240656c8bf07981da4f31(Array, Array, Array, Array, 1) #7 C :\laragon\www\test1\ecrire\public\parametrer.php(128) : html_ac6a6a5af84240656c8bf07981da4f31(Array, Array) #8 C :\laragon\www\test1\ecrire\public\assembler.php(315) : public_parametrer_dist(’article’, Array, ’’, NULL) #9 C :\laragon\www\test1\ecrire\public\assembler.php(117) : public_produire_page_dist(’article’, Array, -1, ’’, NULL, Array, 1603535250, NULL) #10 C :\laragon\www\test1\ecrire\public.php(117) : assembler(’article’, NULL) #11 C :\laragon\www\test1\spip.php(20) : include(’C :\laragon\www\...’) #12 main thrown in C :\laragon\www\test1\ecrire\inc\filtres_images_lib_mini.php on line 1333

    A savoir, que j’ai aciver la lib GD2 et les miniatures dans la config de spip