Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (81)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (10817)

  • Minimal configure flags to configure png files to mp4 and gif ?

    24 avril 2012, par Jona

    I'm trying to configure and build ffmpeg only with the most minimum libraries needed to read set of images of png type and convert those images into a movie. The movie output support I need are gif and mp4.

    I was able to get mp4 output but gif output I can't get it to work just crashes or exist without errors.

    Could not find input stream matching output stream #1.0

    There might be some extra configure flags that can be removed too...

    Here is my configure :

    ./configure \
    --target-os=linux \
    --prefix=$PREFIX \
    --enable-cross-compile \
    --extra-libs="-lgcc" \
    --arch=arm \
    --enable-gpl \
    --enable-version3 \
    --enable-nonfree \
    --sysroot=$NDK_SYSROOT \
    --extra-cflags="-I../x264 -Ivideokit -O3 -fpic -DANDROID -DHAVE_SYS_UIO_H=1 -Dipv6mr_interface=ipv6mr_ifindex -fasm -Wno-psabi -fno-short-enums  -fno-strict-aliasing -finline-limit=300 $OPTIMIZE_CFLAGS " \
    --extra-ldflags="-L../x264 -Wl,-rpath-link=/usr/lib -L/usr/lib  -nostdlib -lc -lm -ldl -llog" \
    --disable-shared \
    --enable-static \
    --enable-stripping \
    --enable-asm \
    \
    --disable-ffplay \
    --disable-ffprobe \
    --disable-ffserver \
    --disable-doc \
    --disable-network \
    \
    --disable-protocols \
    --disable-demuxers \
    --disable-decoders \
    --disable-encoders \
    --disable-muxers \
    --enable-libx264 \
    --enable-protocol=file \
    --enable-demuxer=image2 \
    --enable-demuxer=image2pipe \
    --enable-demuxer=mjpeg \
    --enable-demuxer=rawvideo \
    --enable-demuxer=yuv4mpegpipe \
    --enable-decoder=png \
    --enable-encoder=libx264 \
    --enable-encoder=png \
    --enable-encoder=mjpeg \
    --enable-encoder=gif \
    --enable-encoder=mpeg4 \
    --enable-encoder=mpeg2video \
    --enable-muxer=image2 \
    --enable-muxer=image2pipe \
    --enable-muxer=mjpeg \
    --enable-muxer=mp4 \
    --enable-muxer=mpeg2video \
    --enable-muxer=rawvideo \
    --enable-muxer=yuv4mpegpipe \
    --enable-muxer=gif \
  • ffmpeg multiple loglevel parameters

    9 juillet 2013, par django

    From the document at here
    ffmpeg has following loglevel parameters.

    Simple usage would be
    "ffmpeg -loglevel error rest_of_ffmpeg_options"

    How can I use 3 loglevels together ?
    I tried following but in this case error works while warning and fatal are ignored.
    Inshort which ever is first after -loglevel is the only level working.

    -loglevel error warning fatal

    -loglevel [repeat+]loglevel | -v [repeat+]loglevel

       ‘quiet’

           Show nothing at all; be silent.
       ‘panic’

           Only show fatal errors which could lead the process to crash, such as and assert failure. This is not currently used for anything.
       ‘fatal’

           Only show fatal errors. These are errors after which the process absolutely cannot continue after.
       ‘error’

           Show all errors, including ones which can be recovered from.
       ‘warning’

           Show all warnings and errors. Any message related to possibly incorrect or unexpected events will be shown.
       ‘info’

           Show informative messages during processing. This is in addition to warnings and errors. This is the default value.
       ‘verbose’

           Same as info, except more verbose.
       ‘debug’

           Show everything, including debugging information.
  • Using command line find to encode files and save to same directory

    15 janvier 2017, par Ali Samii

    I am trying to execute a find bash command to process hundreds of video files that are all named video-original.mp4 but are in subdirectories of a parent directory.

    Here’s an example of the directory structure :

    videos
    ├── 01a
    │   └── video-original.mp4
    ├── 01b
    │   └── video-original.mp4
    ├── 02a
    │   └── video-original.mp4
    ├── 02b
    │   └── video-original.mp4
    ├── 03a
    │   └── video-original.mp4
    └── 03b
       └── video-original.mp4

    I am using the following command :

    find ./ -name 'video-original.mp4' -exec bash -c 'ffmpeg -i "$0" -f mp4 -vcodec libx264 -preset veryslow -profile:v high -acodec aac -movflags faststart video.mp4 -hide_banner' {} \;

    The problem I am having is that it is saving the file video.mp4 in the parent videos directory, instead of in the subdirectory next to the original video-original.mp4

    Afterwards, I want to delete the file video-original.mp4. Currently, my process entails waiting for all the videos to be reencoded, and then once complete, issuing a separate command to delete the file video-original.mp4 :

    find ./ -name 'video-original.mp4' -exec bash -c 'rm -rf "$0"' {} \;

    And my final step would be to extract a screenshot of the new video.mp4 at 10 seconds and save it as thumbnail.jpg. Again, I am currently doing that as a separate step that I execute after the previous two steps are completed.

    find ./ -name 'video.mp4' -exec bash -c 'ffmpeg -i "$0" -ss 00:00:10 -vframes 1 thumbnail.jpg' {} \;

    What I would like to do is combine these three steps into a single command so the end result will be :

    videos
    ├── 01a
    │   ├── thumbnail.jpg
    │   └── video.mp4
    ├── 01b
    │   ├── thumbnail.jpg
    │   └── video.mp4
    ├── 02a
    │   ├── thumbnail.jpg
    │   └── video.mp4
    ├── 02b
    │   ├── thumbnail.jpg
    │   └── video.mp4
    ├── 03a
    │   ├── thumbnail.jpg
    │   └── video.mp4
    └── 03b
       ├── thumbnail.jpg
       └── video.mp4

    Finally, it would be great to save that as a bash script and include it in my path in /usr/local/bin or ~/bin as an executable so I could just issue the command reencode and it would run. Would be even better if the input file could have any video file, for example, random_name.mp4 or random_name.mov or random_name.webm, basically any video file (but skipping video.mp4 at the encoding step).