Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (105)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • 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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (10738)

  • Making a timelapse by drag and drop - A rebuild of an old script using ImageMagick

    14 août 2019, par cursor_major

    I have written an apple script previously to automate a task I do in my work many times.

    I shoot Raw + JPG in camera, copy to hard drive.

    I then drag named and dated folder eg. "2019_08_14_CAM_A_CARD_01" on to an automator app and it divides the files in to folders "NEF" and "JPG" respectively.

    I then drag the appropriate "JPG" folder onto my Timelapse app and it runs the image sequence process in QT7 and then saves the file with the parent folder name in the grandparent folder. This keeps things super organised for when I want to re link to the original RAW files.

    [code below]

    It is a 2 step process and works well for my needs, however, Apple are going to be resigning Quicktime 7 Pro so my app has a foreseeable end of life.

    I want to take this opportunity to refine and improve the process using terminal and ImageMagick.

    I have managed to work some code that runs well in terminal, but I have to navigate to the folder first then run a script. It doesn’t do the file renaming and doesn’t save in the right place.

    Also, when I try and run the simple script in an automator ’App’ it throws up errors even before trying to add anything clever with the file naming.

    Later, once I have recreated my timelapse. maker app I want to get clever with more of ImageMagicks commands and overlay a small super of the original frame name in the corner so I can expedite my reconnecting workflow.

    I’m sorry, I’m a photographer not a coder but I’ve been bashing my head trying to work this out and I’ve hit a brick wall.

    File Sorter

       repeat with d in dd
           do shell script "d=" & d's POSIX path's quoted form & "
    cd \"$d\" || exit

    mkdir -p {MOV,JPG,NEF,CR2}
    find . -type f -depth 1 -iname '*.mov' -print0 | xargs -0 -J % mv % MOV
    find . -type f -depth 1 -iname '*.cr2' -print0 | xargs -0 -J % mv % CR2
    find . -type f -depth 1 -iname '*.jpg' -print0 | xargs -0 -J % mv % JPG
    find . -type f -depth 1 -iname '*.nef' -print0 | xargs -0 -J % mv % NEF

    for folder in `ls`;
    do if [ `ls $folder | wc -l` == 0 ]; then
       rmdir $folder;
    fi; done;

    "
       end repeat
    end open```



    Timelapse Compiler

    ```on run {input, parameters}
       repeat with d in input
           set d to d's contents
           tell application "Finder"
               set seq1 to (d's file 1 as alias)
               set dparent to d's container as alias
               set mov to "" & dparent & (dparent's name) & ".mov"
           end tell
           tell application "QuickTime Player 7"
               activate
               open image sequence seq1 frames per second 25
               tell document 1
                   with timeout of 500 seconds
                       save self contained in file mov
                   end timeout
                   quit
               end tell
           end tell
       end repeat
       return input
    end run```


    Current code that runs from within Terminal after I have navigated to folder of JPGs

    ```ffmpeg -r 25 -f image2 -pattern_type glob -i '*.JPG' -codec:v prores_ks -profile:v 0 imagemagick_TL_Test_01.mov```
  • Anomalie #4348 : php 7.4 alpha1

    27 août 2019, par Franck D

    Super bonne nouvelle, il n’y a presque plus de différence concernant les tests unitaire en php 7.4 et 7.1 / 7.2 / 7.3
    22 erreurs contre 19 pour les autres :)
    Installation en Mysql

    Je vais mettre uniquement ceux donc j’ai un message de php, pour les autres, je pense que le mieux, c’est de voir plus tard
    session.html : erreur
    Warning : Illegal string offset ’id_auteur’ in C :\laragon\www\test3\ecrire\public\evaluer_page.php(51) : eval()’d code on line 6
    Notice : Uninitialized string offset : 0 in C :\laragon\www\test3\ecrire\public\evaluer_page.php(51) : eval()’d code on line 6
    Warning : Illegal string offset ’nom’ in C :\laragon\www\test3\ecrire\public\evaluer_page.php(51) : eval()’d code on line 8
    Notice : Uninitialized string offset : 0 in C :\laragon\www\test3\ecrire\public\evaluer_page.php(51) : eval()’d code on line 8

    extraire_attribut.php : erreur
    Warning : preg_match() : Empty regular expression in C :\laragon\www\test3\ecrire\inc\filtres.php on line 1845
    Warning : preg_match() : Empty regular expression in C :\laragon\www\test3\ecrire\inc\filtres.php on line 1845

    balise_session.php : erreur
    Exception : Test_balise_session_set -> testSessionSet -> Unexpected PHP Error [session_start() : Cannot start session when headers already sent] severity [2] in [C :\laragon\www\test3\ecrire\inc\session.php line 706]
    BOUM !!! - Passes : 11, Failures : 0, Exceptions : 1, Non Applicable : 0
    Warning : session_start() : Cannot start session when headers already sent in C :\laragon\www\test3\ecrire\inc\session.php on line 706

    autoriser.php : erreur
    Exception : Test_balise_autoriser -> testAutoriserVerifAuteur -> Unexpected PHP Error [Illegal string offset ’id_auteur’] severity [2] in [C :\laragon\www\test3\tests\unit\simpletest\dist\balises\autoriser.php line 44]
    Exception : Test_balise_autoriser -> testAutoriserVerifAuteur -> Unexpected PHP Error [Uninitialized string offset : 0] severity [8] in [C :\laragon\www\test3\tests\unit\simpletest\dist\balises\autoriser.php line 44]
    Exception : Test_balise_autoriser -> testAutoriserVerifAuteur -> Unexpected PHP Error [Illegal string offset ’id_auteur’] severity [2] in [C :\laragon\www\test3\tests\unit\simpletest\dist\balises\autoriser.php line 49]
    Exception : Test_balise_autoriser -> testAutoriserVerifAuteur -> Unexpected PHP Error [Uninitialized string offset : 0] severity [8] in [C :\laragon\www\test3\tests\unit\simpletest\dist\balises\autoriser.php line 49]
    Exception : Test_balise_autoriser -> testAutoriserVerifAuteur -> Unexpected PHP Error [Illegal string offset ’id_auteur’] severity [2] in [C :\laragon\www\test3\tests\unit\simpletest\dist\balises\autoriser.php line 44]
    Exception : Test_balise_autoriser -> testAutoriserVerifAuteur -> Unexpected PHP Error [Uninitialized string offset : 0] severity [8] in [C :\laragon\www\test3\tests\unit\simpletest\dist\balises\autoriser.php line 44]
    Exception : Test_balise_autoriser -> testAutoriserVerifAuteur -> Unexpected PHP Error [Illegal string offset ’id_auteur’] severity [2] in [C :\laragon\www\test3\tests\unit\simpletest\dist\balises\autoriser.php line 50]
    Exception : Test_balise_autoriser -> testAutoriserVerifAuteur -> Unexpected PHP Error [Uninitialized string offset : 0] severity [8] in [C :\laragon\www\test3\tests\unit\simpletest\dist\balises\autoriser.php line 50]
    Exception : Test_balise_autoriser -> testAutoriserVerifAuteur -> Unexpected PHP Error [A non-numeric value encountered] severity [2] in [C :\laragon\www\test3\tests\unit\simpletest\dist\balises\autoriser.php line 50]
    BOUM !!! - Passes : 12, Failures : 0, Exceptions : 9, Non Applicable : 0

    00_sql_create_drop_view.php : erreur
    Notice : Undefined index : field in C :\laragon\www\test3\tests\unit\sql\00_sql_create_drop_view.php on line 36
    Notice : Undefined index : key in C :\laragon\www\test3\tests\unit\sql\00_sql_create_drop_view.php on line 37
    Notice : Undefined index : field in C :\laragon\www\test3\tests\unit\sql\00_sql_create_drop_view.php on line 36
    Notice : Undefined index : key in C :\laragon\www\test3\tests\unit\sql\00_sql_create_drop_view.php on line 37
    Notice : Undefined index : field in C :\laragon\www\test3\tests\unit\sql\00_sql_create_drop_view.php on line 36
    Notice : Undefined index : key in C :\laragon\www\test3\tests\unit\sql\00_sql_create_drop_view.php on line 37
    Warning : count() : Parameter must be an array or an object that implements Countable in C :\laragon\www\test3\tests\test.inc on line 83
    Warning : count() : Parameter must be an array or an object that implements Countable in C :\laragon\www\test3\tests\test.inc on line 83
    Warning : count() : Parameter must be an array or an object that implements Countable in C :\laragon\www\test3\tests\test.inc on line 83
    Warning : count() : Parameter must be an array or an object that implements Countable in C :\laragon\www\test3\tests\test.inc on line 83
    Warning : count() : Parameter must be an array or an object that implements Countable in C :\laragon\www\test3\tests\test.inc on line 83
    Warning : count() : Parameter must be an array or an object that implements Countable in C :\laragon\www\test3\tests\test.inc on line 83
    Lecture des structures de table en echec

    10_sql_insert_select.php : erreur
    Champ maj sur update
    Le champ ’maj’ () n’a vraisemblablement pas recu de timestamp à l’insertion
    Le champ ’maj’ () n’a vraisemblablement pas été mis a jour lors de l’update
    Le champ ’maj’ () n’a vraisemblablement pas été mis a jour lors de l’updateq
    Selections multi tables
    selection sur 2 tables avec where en echec : attendu 3 reponses, présentes :

    30_sql_alter.php : erreur
    Notice : Undefined index : field in C :\laragon\www\test3\tests\unit\sql\30_sql_alter.php on line 54
    Notice : Trying to access array offset on value of type null in C :\laragon\www\test3\tests\unit\sql\30_sql_alter.php on line 54
    Alter : drop column
    sql_alter rate DROP COLUMN (plus de table ou sql_showtable en erreur ?)
    sql_alter rate DROP sans COLUMN (plus de table ou sql_showtable en erreur ?)
    sql_alter rate CHANGE (plus de table ou sql_showtable en erreur ?)
    sql_alter rate MODIFY varchar en text :
    sql_alter rate ADD COLUMN houba (plus de table ou sql_showtable en erreur ?)
    sql_alter rate ADD COLUMN hop AFTER (plus de table ou sql_showtable en erreur ?)

    Alter : renomme table
    sql_alter rate RENAME table

    Alter : index
    sql_alter rate DROP INDEX sons (plus de table ou sql_showtable en erreur ?)
    sql_alter rate ADD INDEX (wouaf) (plus de table ou sql_showtable en erreur ?)
    sql_alter rate ADD INDEX pluie (grrrr) (plus de table ou sql_showtable en erreur ?)
    sql_alter rate DROP INDEX pluie (plus de table ou sql_showtable en erreur ?)
    sql_alter rate ADD INDEX dring (grrrr, wouaf) (plus de table ou sql_showtable en erreur ?)
    Alter : primary key
    sql_alter rate DROP PRIMARY KEY (plus de table ou sql_showtable en erreur ?)
    sql_alter rate ADD PRIMARY KEY (plus de table)
    Alter : multiples
    sql_alter rate DROP INDEX dring, DROP COLUMN wouaf, DROP COLUMN grrrr (plus de table ou sql_showtable en erreur ?)
    sql_alter rate ADD COLUMN a INT, ADD COLUMN b INT, ADD COLUMN c INT, ADD INDEX abc (a,b,c) (plus de table ou sql_showtable en erreur ?)

  • Révision 24662 : réparer le super_cron en https

    23 août 2020, par bruno@eliaz.fr

    super_cron, il est super, mais un peu cron cron en https :p

    report de 542730b44f71bc6395aa43e80f8b0a12a22215db & fix #4345