Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (30)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (5410)

  • sauce : test filetype correctly for datatype 5 (binary text)

    14 décembre 2012, par Peter Ross

    sauce : test filetype correctly for datatype 5 (binary text)

  • Creating a convertAll() function that converts all .filetype in working directory

    5 janvier 2019, par Risviltsov

    I seem to not know proper bash syntax ; despite this, I’ve tried to create a tool that changes the dimensions of all files of a ffmpeg-accepted filetype in the working directory and converts it to another ffmpeg-accepted filetype. In this instance, this tool converts all .webm files over 1080x720 into 1080x-1 or -1x720 .mp4 files. If the .webm file is under 1080x720, the new .mp4 file will have the same dimensions.

    However, there’s a wrench in the tool.

    convertAll () {
    local wantedWidth = 1080
    local wantedHeight = 720
    for i in *.webm; do
    local newWidth = $i.width
    local newHeight = $i.height
    until [$newWidth <= $wantedWidth && $newHeight <= $wantedHeight]; do
    if [$videoWidth > $wantedWidth]; then
    newHeight = $newWidth*($wantedWidth/$newWidth)
    newWidth = $newWidth*($wantedWidth/$newWidth)
    fi
    if [$videoHeight > $wantedHeight]; then
    newWidth = $newWidth*($wantedHeight/$newHeight)
    newHeight = $newHeight*($wantedHeight/$newHeight)
    fi
    done
    ffmpeg -i "$i" -vf scale=$newWidth:$newHeight "${i%.*}.mp4";
    done
    echo "All files have been converted."
    }

    What this returns is a bunch of lines that look like this :

    bash: [: missing ']'
    bash: [: missing ']'
    bash: =: No such file or directory

    My best guess is that BASH can’t do mathematics, and that I’m declaring and editing my variables incorrectly.

    I’d like some input on this --- my lack of experience is really getting me here.

  • Localization : fix meaning in Bulgarian sentence (#2112)

    1er décembre 2017, par user890104
    Localization : fix meaning in Bulgarian sentence (#2112)
    

    The "maxlength" message has wrong meaning in Bulgarian. The current meaning is :
    Please enter more than 0 characters.
    The correct meaning should be :
    Please enter no more than 0 characters.
    I could use "less" (по-малко) to mean the same thing, but it does not sound natural in this context.