Recherche avancée

Médias (1)

Mot : - Tags -/iphone

Autres articles (97)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

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

Sur d’autres sites (10673)

  • g++ Linking Error on Mac while compiling FFMPEG

    7 mai 2013, par Saptarshi Biswas

    g++ on Snow Leopard is throwing linking errors on the following piece of code

    test.cpp

    #include <iostream>
    using namespace std;
    #include <libavcodec></libavcodec>avcodec.h>    // required headers
    #include <libavformat></libavformat>avformat.h>
    int main(int argc, char**argv) {
       av_register_all();             // offending library call
       return 0;
    }
    </iostream>

    When I try to compile this using the following command

    g++ test.cpp -I/usr/local/include -L/usr/local/lib \
    -lavcodec -lavformat -lavutil -lz -lm -o test

    I get the error
    Undefined symbols :
    "av_register_all()", referenced from :
    _main in ccUD1ueX.o
    ld : symbol(s) not found
    collect2 : ld returned 1 exit status

    Interestingly, if I have an equivalent c code,
    test.c

    #include
    #include <libavcodec></libavcodec>avcodec.h>
    #include <libavformat></libavformat>avformat.h>
    int main(int argc, char**argv) {
       av_register_all();
       return 0;
    }

    gcc compiles it just fine

    gcc test.c -I/usr/local/include -L/usr/local/lib \
    -lavcodec -lavformat -lavutil -lz -lm -o test

    I am using Mac OS X 10.6.5

    $ g++ --version
    i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)
    $ gcc --version
    i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)

    FFMPEG's libavcodec, libavformat etc. are C libraries and I have built them on my machine like thus :

    ./configure --enable-gpl --enable-pthreads --enable-shared \
    --disable-doc --enable-libx264
    make &amp;&amp; sudo make install

    As one would expect, libavformat indeed contains the symbol av_register_all

    $ nm /usr/local/lib/libavformat.a | grep av_register_all
    0000000000000000 T _av_register_all
    00000000000089b0 S _av_register_all.eh

    I am inclined to believe g++ and gcc have different views of the libraries on my machine. g++ is not able to pick up the right libraries. Any clue ?

  • Why does my yuva444p video always lose alpha channel after transcoding to vp9 ?

    1er avril, par Ian Ye

    I'm trying to convert a video with alpha channel using FFmpeg, but the transparency information gets lost in the output.

    &#xA;

    Here is the input video (prores, yuva444p) detail with ffprobe :

    &#xA;

     Stream #0:1[0x2](und): Video: prores (4444) (ap4h / 0x68347061), yuva444p12le(bt709), 360x480, 73314 kb/s, 60.13 fps, 60 tbr, 600 tbn (default)&#xA;      Metadata:&#xA;        creation_time   : 2019-05-21T21:23:03.000000Z&#xA;        handler_name    : Core Media Video&#xA;        vendor_id       : appl&#xA;        encoder         : Apple ProRes 4444&#xA;

    &#xA;

    And my command is below :

    &#xA;

    ffmpeg -i alpha_prores.mov -c:v libvpx-vp9 -pix_fmt yuva420p -auto-alt-ref 0 out.webm&#xA;

    &#xA;

    There is the output info :

    &#xA;

    Output #0, webm, to &#x27;out.webm&#x27;:&#xA;  Metadata:&#xA;    major_brand     : qt&#xA;    minor_version   : 0&#xA;    compatible_brands: qt&#xA;    com.apple.quicktime.creationdate: 2019-05-14T13:47:17-0700&#xA;    com.apple.quicktime.location.ISO6709: &#x2B;37.3367-122.0094/&#xA;    com.apple.quicktime.make: Apple&#xA;    com.apple.quicktime.model: iPhone X&#xA;    com.apple.quicktime.software: 12.1.2&#xA;    encoder         : Lavf61.7.100&#xA;  Stream #0:0(und): Video: vp9, yuva420p(tv, bt709, progressive), 360x480, q=2-31, 60 fps, 1k tbn (default)&#xA;      Metadata:&#xA;        creation_time   : 2019-05-21T21:23:03.000000Z&#xA;        handler_name    : Core Media Video&#xA;        vendor_id       : appl&#xA;        encoder         : Lavc61.19.101 libvpx-vp9&#xA;      Side data:&#xA;        cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A&#xA;

    &#xA;

    We can see pix_fmt is still yuva420p, but after finished, I use ffprobe to check it, and the result changed !

    &#xA;

      Stream #0:0: Video: vp9 (Profile 0), yuv420p(tv, bt709, progressive), 360x480, SAR 1:1 DAR 3:4, 60 fps, 60 tbr, 1k tbn (default)&#xA;      Metadata:&#xA;        alpha_mode      : 1&#xA;        HANDLER_NAME    : Core Media Video&#xA;        VENDOR_ID       : appl&#xA;        ENCODER         : Lavc61.19.101 libvpx-vp9&#xA;        DURATION        : 00:00:05.950000000&#xA;

    &#xA;

    The pix_fmt turn to yuv420p, which means lose alpha channel. Also we can see there is an extra info in metadata alpha_mode: 1.

    &#xA;

    By the way, the result webm video can display its transparent pixel correctly in browser.

    &#xA;

    When I try to overlay it on a mp4 video, transparent pixels turn to black pixels :

    &#xA;

    ffmpeg -i background.mp4 -i out.webm -filter_complex "[0][1]overlay=x=10:y=10" output2.mp4&#xA;

    &#xA;

    And when I overlay the prores video on the same mp4, result is correct.

    &#xA;

    ffmpeg -i background.mp4 -i alpha_prores.mov -filter_complex "[0][1]overlay=x=10:y=10" output2.mp4&#xA;

    &#xA;

    So I wonder the difference between yuva and alpha_mode:1.

    &#xA;

    And the reason why vp9 would lose alpha channel when overlay on a mp4 video.

    &#xA;

    It's better if you can provide other pixel format for my purpose(I want it can display correctly when overlay on mp4) !

    &#xA;

    Thanks !

    &#xA;

  • How to create Automator service for multiple ffmpeg command

    31 janvier 2017, par user413734

    There are many tutorials for creating an automator service that calls an ffmpeg one liner script, like so e.g :

    http://apple.stackexchange.com/questions/129929/automating-ffmpeg-using-automator-service

    But I would like this service to do more than just a one liner. There is the option to chain commands with && but that makes it rather confusing.
    How can I create an automator service that does one transformation and after it is done the next line etc, e.g :

    for f in "$@"
    do
       ffmpeg -i "$f" -c:v copy -c:a copy "${f%.*}.mp4"
       ffmpeg -ss 00:00:01 -i "$f" -frames:v 1 "${f%.*}.jpg"
       ....
    done

    Or attach this service to one folder that if I drop a file it automatically does the require conversions.

    Thanks