Recherche avancée

Médias (0)

Mot : - Tags -/interaction

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

Autres articles (53)

  • L’espace de configuration de MediaSPIP

    29 novembre 2010, par

    L’espace de configuration de MediaSPIP est réservé aux administrateurs. Un lien de menu "administrer" est généralement affiché en haut de la page [1].
    Il permet de configurer finement votre site.
    La navigation de cet espace de configuration est divisé en trois parties : la configuration générale du site qui permet notamment de modifier : les informations principales concernant le site (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

Sur d’autres sites (3880)

  • avformat/avformat : Update av_read_frame() documentation

    1er décembre 2019, par Andreas Rheinhardt
    avformat/avformat : Update av_read_frame() documentation
    

    This commit updates the documentation of av_read_frame() to match its
    actual behaviour in several ways :

    1. On success, av_read_frame() always returns refcounted packets.
    2. It can handle uninitialized packets.
    3. On error, it always returns blank packets.

    This will allow callers to not initialize or unref unnecessarily.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] doc/APIchanges
    • [DH] libavformat/avformat.h
  • How to get DirectShow device list with ffmpeg in c++ ?

    24 août 2018, par fyo

    I’m trying to get dshow device list with ffmpeg. I cannot get it but ffmpeg gets it by its own. Here is the code. It returns AVERROR(ENOSYS) for avdevice_list_input_sources. But avformat_open_input prints all devices. How can I get dshow devices and options in c++ code.

       avdevice_register_all();
       AVInputFormat *iformat = av_find_input_format("dshow");
       printf("========Device Info=============\n");
       AVDeviceInfoList *device_list = NULL;
       AVDictionary* options = NULL;
       //av_dict_set(&amp;options, "list_devices", "true", 0);
       int result = avdevice_list_input_sources(iformat, NULL, options, &amp;device_list);

       if (result &lt; 0)
           printf("Error Code:%s\n", av_err2str(result));//Returns -40 AVERROR(ENOSYS)
       else printf("Devices count:%d\n", result);

       AVFormatContext *pFormatCtx = avformat_alloc_context();
       AVDictionary* options2 = NULL;
       av_dict_set(&amp;options2, "list_devices", "true", 0);
       avformat_open_input(&amp;pFormatCtx, NULL, iformat, &amp;options2);
       printf("================================\n");
  • Right choice to play audio and video content

    22 juin 2012, par deimus

    What I'm doing :

    I need to play audio and video files that are not supported by Apple on iPhone/iPad for example mkv/mka files which my contain several audio channels.

    I'm using libffmpeg to find audio and video streams in media file.
    Video is being decoded with avcodec_decode_video2 and audio with avcodec_decode_audio3
    the return values are following for each function are following

    • avcodec_decode_video2 - returns AVFrame structure which encapsulates information about the video video frame from the pakcage, specifically is has data field which is a pointer to the picture/channel planes.
    • avcodec_decode_audio3 - returns samples of type int16_t * which I guess is the raw audio data

    So basically I've done all this and successfully decoding the media content.

    What I have to do :
    I've to play the audio and video accordingly using Apples services. The playback I need to perform should support mixing of audio channels while playing video, i.e. let say mkv file contains two audio channel and a video channel. So I would like to know which service will be the appropriate choice for me ? My research showed that AudioQueue service might be useful audio playback, and probably AVFoundation for video.

    Please help to find the right technology for my case i.e. video playeback + audio playback with possible audio channel mixing.