Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (99)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (2208)

  • FFMPEG .bat script not running

    22 août 2018, par MrGreen

    I’ve got a folder full of .avi video files. I want to change the container of each of those to .mp4 using a .bat script.
    This is the code :

    for i in "*.avi" do ffmpeg -i "$i" -c copy "outputs/${i%.avi}.mp4"; done

    But when i run the .bat cmd pops up for a split second and closes immediately. The folder for the output is there as well as the ffmpeg.exe.
    Whats wrong ?

  • Trying to use ffmpeg script in php issue

    24 août 2018, par user5947524

    Currently I am using the PHP line of code below which allows me to use ffmpeg to watermark a video. The $video_path, $scaled, and $scaled_video are already set.

    exec('ffmpeg -i "' . $video_path . '" -vf "movie="' . $scaled . '" [watermark]; [in][watermark] overlay=10:main_h-overlay_h [out]" "' . $scaled_video . '"');

    How can I use the below line in PHP similarly, the semicolons are confusing me like crazy.

    ffmpeg -i video_path.mp4 -i scaled.png -filter_complex "overlay=10:main_h-overlay_h-10" scaled_video.mp4

    So I basically just need help writing this so there are no errors in the PHP code

  • Parsing Values To Shell Bash Script

    30 septembre 2014, par user1503606

    I am trying to make a simple bash script for a command so i can make it reusable for me the command has been taken from another post to convert videos with ffmpeg then upload.

    Here is what i have so far.

    #!/bin/bash
    MOVIES=$1
    EXT=$2
    BUCKET=$3
    find "$MOVIES" -name "*.$EXT" -exec sh -c 'ffmpeg -i "$0" -c:v libx264 -crf 22 -c:a libfaac -movflags faststart "${0%%.mov}.mp4" && s3cmd put "${0%%.mov}.mp4" "$BUCKET""$(basename "${0%%.mov}.mp4")"' {} \;
    exit;

    I am having issues with the third var if i run it like this.

    sh batch.sh ~/Documents/screengrabs/ mov s3://bucket/

    I am getting a error it encodes properly.

    ERROR: Parameter problem: Destination must be S3Uri. Got: file://49A22352-9F41-48B9-BF97-610CBF699025-630-0000055828D0D55F.mp4

    This means it is not parsing the $3 parameter $BUCKET properly.

    Any help this is my first bash script attempt.

    Thanks

    Update still not working

    #!/bin/bash
    MOVIES="$1"
    EXT="$2"
    BUCKET="$3"

    find "$MOVIES" -name "*.${EXT}" -exec sh -c 'ffmpeg -i "$0" -c:v libx264 -crf 22 -c:a libfaac -movflags faststart "${0%%.mov}.mp4" && s3cmd put "${0%%.mov}.mp4" "${BUCKET}/sam.mp4"' {} \;

    exit;

    WORKING

    #!/bin/bash
    MOVIES=$1
    EXT=$2
    export BUCKET=$3
    find "$MOVIES" -name "*.$EXT" -exec sh -c 'ffmpeg -i "$0" -c:v libx264 -crf 22 -c:a libfaac -movflags faststart "${0%%.mov}.mp4" && s3cmd put "${0%%.mov}.mp4" "$BUCKET""$(basename "${0%%.mov}.mp4")"' {} \;
    exit;