Recherche avancée

Médias (91)

Autres articles (30)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

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

  • Revision 34526 : - Mieux gérer l’installation en la faisant au hit suivant - Mieux ...

    17 janvier 2010, par marcimat@… — Log

    - Mieux gérer l’installation en la faisant au hit suivant
    - Mieux gérer les cas tordus à l’activation d’un plugin : charger systématiquement le fichier cache des fonctions de plugin charger_fonction.php pour éviter de charger le nouveau fichier contenant les nouvelles fonctions qui dépendent peut-être de fonctions déclarées dans le fichier d’option du plugin (qui n’est pas chargé à ce stade - vu que charger_options.php ne connaissait pas encore ce plugin au moment de son appel)

  • Use ffmpeg to edit metadata titles for multiple files

    19 mars 2017, par Nicholas Wireman

    I’d like to be able to add/edit video metadata titles to multiple files at once or with a single command, but I don’t know how to tell ffmpeg to do this.

    I read a similar post on the Ubuntu Forums, but I have never used string manipulation in Linux before, so the commands I’m seeing in the post are way out of my comprehension at the moment, and much of the discussion goes over my head.

    I’ve got all of my video files in a filename format that includes the show name, the episode number, and episode title. For example :

    show_name - episode_number - episode_title.extension

    Bleach - 001 - A Shinigami Is Born !.avi

    Is there a simple way to read the title and episode number from the filename and put it into a metadata tag without having to go through each and every file manually ?

    EDIT 1 : So I found out that I can iterate through files in a directory, and echo the filename, and I was told by a friend to try bash to parse the strings and return values from that to use in the ffmpeg command line. The problem is, I have absolutely no idea how to do this. The string manipulation in bash is very confusing on first look, and I can’t seem to get it to output what I want into my variables. My test bash :

    for file in "Bleach - 206 - The Past Chapter Begins! The Truth from 110 Years Ago.mkv"; do   extension=${file##*.} showName=${file%% *} episode=${file:9:3}; echo Extension: $extension Show: $showName Episode: $episode;    done

    That outputs

    Extension : mkv Show : Bleach Episode : 206

    Which are all the variables I’m going to need, I just don’t know how to move those to be run in ffmpeg now.

    EDIT 2 : I believe I was able, through much trial and error, to find a bash command that would do exactly what I wanted.

    for file in *; do   newname=${file:0:-4}_2 ext=${file##*.} filename=${file} showname=${file%% *} episode=${file:9:3} nameext=${file##*- } title=${nameext%.*};     ffmpeg -i "$filename" -metadata title="$title" -metadata track=$episode -metadata album=$showname -c copy "$newname.$ext";    mv -f "$newname.$ext" "$filename";    done

    This lets me parse the information from the filename, copy it to some variables, and then run ffmpeg using those variables. It outputs to a second file, then moves that file to the original location, overwriting the original. One could remove that section out if you’re not sure about how it’s going to parse your files, but I’m glad I was able to get a solution that works for me.

  • FFMPEG batch remove the last 2 seconds of a list of videos

    22 avril 2016, par Lisfmeg

    Removing the first seconds of a video is easy and work easy.

    But I need a way to remove the last 2 seconds of all videos in a folder. (it’s the moment my mouse go to the screen-record-program (also ffmpeg btw.) and press quit/stop)

    The ffmpeg help give me that for my wish....

    -to time_stop       record or transcode stop time
    -sseof time_off     set the start time offset relative to EOF
    -seek_timestamp     enable/disable seeking by timestamp with -ss
    -ss time_off        set the start time offset

    I miss something like -toeof. But ffmpeg dont have it, yet.

    Some substr in diffrent languages offer just a negative value, so I tried ....

    ffmpeg -seek_timestamp 1 -i source.mp4 -to -120 -y test.mp4

    and

    ffmpeg -seek_timestamp 1 -i source.mp4 -to -00:02 -y test.mp4

    But that follow only in "-to value smaller than -ss ; aborting." :-(

    Anyone have idea ?

    I’m on windows and think I need linux console with bash now. But before I install a virtual linux machine and try to script something the next days ..... Is there maybe a easier way ?