Recherche avancée

Médias (0)

Mot : - Tags -/tags

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

Autres articles (72)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (11840)

  • youtube-dl - How do I ensure that the "original" video formats are downloaded ?

    25 juin 2018, par Schytheron

    I am building a C# GUI (Windows only) for youtube-dl where I allow the user to pick the desired video quality and framerate but I am having problems with format selection. youtube-dl sometimes downloads either the wrong video file or the wrong audio file (often it is audio) and after merging them I end up with a .mkv file because according to FFmpeg the files I am trying to merge are incompatible.

    These are the format selection queries I have tried to far :

    bestvideo[height<=?%height%][fps<=?%fps%]+bestaudio/best

    and

    public string[] qualities = { "4320", "2160", "1440", "1080", "720", "480", "360", "240", "144" };
    public string[] framerates = { "60", "50", "48", "30", "24" };
    private void buildFormat(int qualSkip,int fpsSkip)
           {
               string[] qualitiesMin = qualities.Skip(qualSkip).ToArray();
               string[] frameratesMin = framerates.Skip(fpsSkip).ToArray();
               format = "-f ";
               foreach (string quality in qualitiesMin)
               {
                   foreach (string framerate in frameratesMin)
                   {
                       format += "bestvideo[height=?" + quality + "][fps=?" + framerate + "]+bestaudio/";
                   }
               }
               format += "best";
           }

    In the first one I had a problem where on some videos youtube-dl downloaded a video in a lower framerate than what I requested (for example, if I request 1080p60FPS I get 1080p30FPS). I tried to fix this in the second method by searching for the best video for all qualities and framerates that are equal to or lower than the one I picked (for example, if I pick 1080p60FPS it would look for videos from 1080p60->1080p30->720p60->720p30->...->144p30).

    The second method however looks overly convoluted and stupid and another problem still remains. youtube-dl always picks the best audio quality no matter what video quality I choose. I want the audio quality to scale with the video quality (for example, if I pick 144p I want poor audio quality). There has got to be a better way.

    Maybe I am explaining this poorly but I basically want youtube-dl to ALWAYS (consistently) download the exact same video and audio format as the one that is displayed in the youtube video player itself for each picked video quality (see image below). How do I do that ?

    Example 1, Video and audio format codes of video in 4K (the numbers in the red circles are the format codes) :
    enter image description here

    Example 2, Video and audio format of same video but this time in 720p :
    enter image description here

    (should also pick a lower framerate video of same quality if that framerate is not available in the YouTube quality selector, for example 1080p30FPS in a 1080p60FPS video)

    Thanks !

  • "no archive symbol table (run ranlib)" issue with static linking FFmpeg for android

    9 octobre 2017, par Programist

    I am trying to build FFmpeg for android as static libraries on a MacOS Sierra machine.

    Following is my buildscript.sh which is very much based upon the one in here

    #!/bin/bash

    cd ffmpeg-3.3.4

    NDK=/path/to/android/ndk/android-ndk-r15c
    SYSROOT=$NDK/platforms/android-21/arch-arm64/
    TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64
    AR=$TOOLCHAIN/bin/arm-linux-androideabi-ar
    CPREFIX=$TOOLCHAIN/bin/arm-linux-androideabi-
    CC=$TOOLCHAIN/bin/arm-linux-androideabi-gcc
    CXX=$TOOLCHAIN/bin/arm-linux-androideabi-g++
    LD=$TOOLCHAIN/bin/arm-linux-androideabi-ld
    RANLIB=$TOOLCHAIN/bin/arm-linux-androideabi-ranlib
    STRIP=$TOOLCHAIN/bin/arm-linux-androideabi-strip
    X264LIB=$X264/android/arm/lib/
    X264INC=$X264/android/arm/include/

    function build_ffmpeg_android {

    ./configure \
       --prefix=$PREFIX \
       --disable-stripping
       --arch=arm \
       --cpu=cortex-a8 \
       --target-os=linux \
       --enable-cross-compile \
       --enable-pic \
       --disable-programs \
       --enable-static \
       --disable-shared \
       --cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
       --disable-doc \
       --enable-postproc \
       --enable-swscale \
       --enable-avfilter \
       --enable-avresample \
       --disable-opencl \
       --disable-securetransport \
       --enable-gpl \
       --sysroot=$SYSROOT \
       --extra-cflags="-Os -fpic $ADDI_CFLAGS -I$X264INC"  \
       --extra-ldflags="$ADDI_LDFLAGS -s -L$X264LIB -lx264" \
       --enable-gpl \
       --enable-decoders \
       --enable-encoders \
       --enable-muxers \
       --enable-demuxers \
       --enable-parsers \
       --enable-protocols \
       --enable-filters \
       --enable-avresample \
       --enable-libfreetype \
       --disable-indevs \
       --enable-indev=lavfi \
       --disable-outdevs \
       --enable-hwaccels \
       --enable-ffmpeg \
       --disable-ffplay \
       --disable-ffprobe \
       --disable-ffserver \
       --disable-network \
       --enable-libx264 \
       --enable-zlib \
       --enable-muxer=md5
       make clean
       make -j9
       make install
    }

    CPU=arm
    PREFIX=$(pwd)/android/$CPU
    ADDI_CFLAGS="-marm"

    build_ffmpeg_android

    The output of above script is placed inside ffmpeg-3.3.4/android/arm.

    Problem :
    When trying to link to these .a libraries from my app using -lavformat -lavcodec -lswscale -lavutil -lavfilter -lswresample -lavdevice,
    I get the following linker error for each of them

    :-1: error: error: avformat: no archive symbol table (run ranlib)
    :-1: error: error: avcodec: no archive symbol table (run ranlib)
    :-1: error: error: swscale: no archive symbol table (run ranlib)
    :-1: error: error: avutil: no archive symbol table (run ranlib)
    :-1: error: error: avfilter: no archive symbol table (run ranlib)
    :-1: error: error: swresample: no archive symbol table (run ranlib)
    :-1: error: error: avdevice: no archive symbol table (run ranlib)

    Looking at this discussion here, I am doing it correct by selecting arm-linux-androideabi-ar in CPREFIX.

    Trying to solve the error, I’ve also added the following configure flag for ranlib to be picked up specifically for android but doesn’t seem to help.

    RANLIB=$TOOLCHAIN/bin/arm-linux-androideabi-ranlib

    Question :
    What else am I missing here ?
    What is needed in my buildscript.sh to pick the correct ranlib & stop complaining about archive symbol table when linking from my app ?

  • error in ".setDataSource(MainActivity.this, uri) ;" in Android 5.0

    17 septembre 2016, par maxShmax

    When I pick the video file and press button for convert it to GIF - I get "App has been stopped".

    The error is specify to ".setDataSource(MainActivity.this, uri) ;" in this part of code :

    fFmpegMediaMetadataRetriever = new FFmpegMediaMetadataRetriever();
    fFmpegMediaMetadataRetriever.setDataSource(MainActivity.this, uri);

    In Andoid 4 and 6 it’s working well.

    First photo is a log, second - crashlytics.

    As I understand, error in JNI library, right ? How to fix this error ?

    Log here

    crashlytics here