Recherche avancée

Médias (1)

Mot : - Tags -/iphone

Autres articles (81)

  • 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

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

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (11606)

  • ffmpeg's av_parser_init(AV_CODEC_ID_V210) returns null

    31 mai 2017, par VorpalSword

    I’m trying to read in a .mov file that has video encoded in V210 pixel format (AKA : uncompressed, YCbCr, 10 bits per component) for some image quality tests I’m doing.

    My tech stack is ffmpeg 3.3.1 / gcc / Darwin.

    The decode_video.c example compiles, links & runs just fine but it has the codec ID hard-coded as AV_CODEC_ID_MPEG1VIDEO. I reasonably/naïvely thought that changing this to AV_CODEC_ID_V210 would get me a long way to decoding my test files.

    Unfortunately not. The call to av_parser_init returns null.

    Can anyone tell me why ? And how to fix this ? Thanks.

    #include
    #include
    #include

    #include <libavcodec></libavcodec>avcodec.h>

    ... // irrelevant code omitted, see linked example for details

    avcodec_register_all();

    pkt = av_packet_alloc();
    if (!pkt)
       exit(1);

    /* set end of buffer to 0 (this ensures that no overreading happens for damaged MPEG streams) */
    memset(inbuf + INBUF_SIZE, 0, AV_INPUT_BUFFER_PADDING_SIZE);

    /* find the MPEG-1 video decoder */
    // codec = avcodec_find_decoder(AV_CODEC_ID_MPEG1VIDEO); this works!
    codec = avcodec_find_decoder(AV_CODEC_ID_V210);  // this injects my problem
    if (!codec) {
       fprintf(stderr, "Codec not found\n");
       exit(1);
    }

    printf ("codec->id: %d, %d\n", AV_CODEC_ID_V210, codec->id); // codec->id: 128, 128

    parser = av_parser_init(codec->id);
    if (!parser) {
       fprintf(stderr, "parser not found\n");
       exit(1);  // program exits here when AV_CODEC_ID_V210 used
    }
  • ffmpeg compilation problem : avcodec_find_decoder always returns null

    15 mars 2016, par Adion

    I recently tried to upgrade the ffmpeg libraries I use in my Mac OS X application by downloading and compiling ffmpeg from source.

    My code works correctly with pre-compiled libraries of the same version on windows.
    On Mac OS X, the library appears to work (it can open the file and find the streams and codecs used), but when it gets to avcodec_find_decoder, this function always returns null.

    The code has worked with an older version of the library (compiled a year ago on Mac OS X 10.5)

    I configured fmpeg using

    ./configure --extra-cflags="-arch i386" --extra-ldflags='-arch i386' --arch=x86_32 --target-os=darwin --enable-cross-compile --disable-indev=jack --enable-shared --disable-static

    I checked config.mak, and it appears to have the decoders for the file types I tried enabled (ogg, vorbis, avi, mkv, ...)
    I also checked that the correct header files have been used and that the newly compiled library is used.

    I have found only some older posts relating to this issue, but without any solution :

    http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2007-January/021399.html

    http://libav-users.943685.n4.nabble.com/avcodec-find-decoder-problem-td944800.html

    Edit : checking further, it appears av_codec_next(NULL) returns null as well, which means there isn’t a single codec available, or that first_avcodec in utils.c is not set (I actually haven’t found at all where this variable is set, I would have assumed av_register_all, but I can’t find it there)

  • aarch64 : vp9 : use alternative returns in the core loop filter function

    14 novembre 2016, par Janne Grunau
    aarch64 : vp9 : use alternative returns in the core loop filter function
    

    Since aarch64 has enough free general purpose registers use them to
    branch to the appropiate storage code. 1-2 cycles faster for the
    functions using loop_filter 8/16, ... on a cortex-a53. Mixed results
    (up to 2 cycles faster/slower) on a cortex-a57.

    • [DBH] libavcodec/aarch64/vp9lpf_neon.S