Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (21)

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

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

Sur d’autres sites (4862)

  • FFmpeg av_read_frame returns packets from audio stream

    1er août 2018, par yultan

    I am currently trying to learn the FFmpeg API, following this tutorial. However, I already have issues with the first lesson on video decoding. My code is basically the same as the one from the tutorial except I am using C++. My issue is that the video stream does not match the one from the packet returned by av_read_frame.

    The video stream is obtained looping on the available streams until the video stream is found.

    for(int i = 0; i < pFormatCtx->nb_streams; i++) { // nb_streams == 2

       if(pFormatCtx->streams[i]->codec->codec_type==AVMEDIA_TYPE_VIDEO) {
           videoStream = i;
           break; // videoStream == 0
       }
    }

    Then when retrieving the frame data, it seams grabbing the audio channel.

    while(av_read_frame(pFormatCtx, &packet) >= 0) { // read returns 0

       // Is this a packet from the video stream?
       if(packet.stream_index == videoStream) {
           //packet.stream_index == 1, which correspond to the audio stream
       }
    }

    I have not found examples online where this test is actually failing. Have I miss some way to specify the stream_index that is not in the tutorial ? Maybe the tutorial is not up to date and is doing something wrong ? If so, what is the correct way to extract the frame data ? In case that matters, I am using the latest FFmpeg 4.0.2 build, on Windows 64-bits, compiling with Visual Studio 2017.

    On videos with no sound, the two streams match and I am able to decode and display the frames correctly.

  • lavu/opt : Use "&&" instead of "*" in boolean expression.

    5 mai 2017, par Carl Eugen Hoyos
    lavu/opt : Use "&&" instead of "*" in boolean expression.
    

    Fixes the following warning :
    libavutil/opt.c:101:47 : warning : '*' in boolean context, suggest '&&' instead

    • [DH] libavutil/opt.c
  • Revision ef003078e8 : Renaming "onyx" to "encoder". Actual renames : vp9_onyx_if.c -> vp9_encoder.c

    19 avril 2014, par Dmitry Kovalev

    Changed Paths :
     Modify /vp9/encoder/vp9_aq_variance.h


     Modify /vp9/encoder/vp9_bitstream.c


     Modify /vp9/encoder/vp9_context_tree.h


     Modify /vp9/encoder/vp9_encodemb.h


     Modify /vp9/encoder/vp9_encodemv.h


     Add /vp9/encoder/vp9_encoder.c
    (from /vp9/encoder/vp9_onyx_if.c
    :b0d9bfe420fbcb745b3cefc5569e4d272b3c8ac9)
     Add /vp9/encoder/vp9_encoder.h
    (from /vp9/encoder/vp9_onyx_int.h
    :b0d9bfe420fbcb745b3cefc5569e4d272b3c8ac9)
     Modify /vp9/encoder/vp9_firstpass.c


     Modify /vp9/encoder/vp9_lookahead.c


     Modify /vp9/encoder/vp9_mcomp.c


     Delete /vp9/encoder/vp9_onyx_if.c


     Delete /vp9/encoder/vp9_onyx_int.h


     Modify /vp9/encoder/vp9_picklpf.c


     Modify /vp9/encoder/vp9_picklpf.h


     Modify /vp9/encoder/vp9_pickmode.c


     Modify /vp9/encoder/vp9_pickmode.h


     Modify /vp9/encoder/vp9_quantize.c


     Modify /vp9/encoder/vp9_rdopt.c


     Modify /vp9/encoder/vp9_rdopt.h


     Modify /vp9/encoder/vp9_segmentation.h


     Modify /vp9/encoder/vp9_speed_features.c


     Modify /vp9/encoder/vp9_svc_layercontext.c


     Modify /vp9/encoder/vp9_temporal_filter.c


     Modify /vp9/encoder/vp9_tokenize.c


     Modify /vp9/vp9_cx_iface.c


     Modify /vp9/vp9cx.mk



    Renaming "onyx" to "encoder".

    Actual renames :
    vp9_onyx_if.c -> vp9_encoder.c
    vp9_onyx_int.h -> vp9_encoder.h

    Change-Id : I80532a80b118d0060518e6c6a0d640e3f411783c