Recherche avancée

Médias (33)

Mot : - Tags -/creative commons

Autres articles (101)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (9985)

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

  • 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(&options, "list_devices", "true", 0);
       int result = avdevice_list_input_sources(iformat, NULL, options, &device_list);

       if (result < 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(&options2, "list_devices", "true", 0);
       avformat_open_input(&pFormatCtx, NULL, iformat, &options2);
       printf("================================\n");
  • 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