Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (55)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • 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

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (6082)

  • 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.

  • Using ffmpeg to split video files by size

    8 juillet 2016, par user2548469

    I’m trying to write a batch file using ffmpeg to automate the redundant daily task of taking footage from work that’s recorded in 4gb blocks (which is standard in most DSLR cameras & GoPro’s), and split the clips into 2gb files for streaming purposes. The idea is to have the script check external drive FOOTAGE’s folder @import and split files after 2gb (since the max size is 4gb, this will alleviate the need for more than one split).

    I’m also trying to amend the filenames of the split files, so FILE1 is 4gb, it splits into FILE1_1 and FILE1_2 which are 2gb each, respectively. Everything I’ve tried has just copied the original file into two new, identical files - no split or anything.

    After doing some Googling and reading some of the answers here, I found this post, but it’s based on duration, not size (recording video footage at varying levels of quality makes this pointless) : Split into equal parts and convert many mp4 videos using ffmpeg

    Can someone help me with this ? I haven’t come across any usable solutions utilizing what I understand to be the method, using -fs limit_size, and I really want to understand how this works.

    UPDATE : Also found this, but it hasn’t been updated in four years and I don’t see anything in there regarding splitting that will prove helpful :

    https://github.com/kcm1700/VideoSplitter/blob/master/

  • How to build ffmpeg in Android NDK under Windows

    30 août 2016, par Oliver Wickenden

    I’m trying to build ffmpeg in Android NDK under Windows to put into an app but having issues.
    I found various guides on how to do this but they were all many years old and no longer worked.

    What I’ve done so far is install NDK and downloaded the latest ffmpeg 3.1.2 source code into the sources folder. I also installed cygwin.

    I then created a script, build_android.sh, with the code (taken from another guide) :

    #!/bin/bash
    NDK=/cygdrive/c/Android/ndk/android-ndk-r12b
    SYSROOT=$NDK/platforms/android-24/arch-arm64/
    TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64
    function build_one
    {
       ./configure \
      --prefix=$PREFIX \
      --disable-shared \
      --enable-static \
      --disable-doc \
      --disable-ffmpeg \
      --disable-ffplay \
      --disable-ffprobe \
      --disable-ffserver \
      --disable-avdevice \
      --disable-doc \
      --disable-symver \
      --cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
      --target-os=linux \
      --arch=arm \
      --enable-cross-compile \
      --sysroot=$SYSROOT \
      --extra-cflags="-Os -fpic $ADDI_CFLAGS" \
      --extra-ldflags="$ADDI_LDFLAGS" \
      $ADDITIONAL_CONFIGURE_FLAG
    make clean
    make
    make install
    }
    CPU=arm
    PREFIX=$(pwd)/android/$CPU
    ADDI_CFLAGS="-marm"
    build_one

    When I run this I get :

    Makefile:198: /tests/Makefile: No such file or directory
    make: *** No rule to make target '/tests/Makefile'.  Stop.

    Anyone know how to successfully build ffmpeg in NDK or have any guides that work with the latest version ?

    Thanks,
    Oliver