Recherche avancée

Médias (33)

Mot : - Tags -/creative commons

Autres articles (104)

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

  • libav : Filling AVFrame with RGB24 sample data ?

    31 mai 2012, par Ashika Umanga Umagiliya

    I am trying to fill sample data for a AVFrame initialized with RGB24 format.
    I use following code snippet to populate RGB data.
    But in the encoded video,I can only see grayscale strip covering only 1/3 of the videoframe.
    This code snippet suppose to fill only Red color.
    Any tips what Im doing wrong here ?

    AVFrame *targetFrame=.....
    int height=imageHeight();
    int width=imageWidth();


     for(y=0;ydata[0][(y* width)+x]=(x%255); //R  
      targetFrame->data[0][(y* width)+x+1]=0;     //G
      targetFrame->data[0][(y* width)+x+2]=0;     //B


     }
      }
  • Named pipes and can they stream data ?

    30 juillet 2013, par chembrad

    I asked a previous question here :

    Stream video from ffmpeg and capture with OpenCV

    and I want to know more about named pipes in general. Can I use named pipes to stream data ? For example, can I continuously add data to the pipe (via ffmpeg) in conjunction with reading data with another application ? Or is there another method to do this ?

  • Do I need an AVFormatContext for decoding raw audio data ?

    4 décembre 2023, par CheekyChips

    I am streaming encoded audio data to my program, in raw byte arrays. The audio data could have any encoding but when I receive the data I will know the encoding, sample rate, etc, so I know how to interpret it. Using ffmpeg/libav libraries, I want to decode the audio chunks when I receive them and do some processing with them (e.g. resampling). My question is, since I am getting raw encoded audio data that is not wrapped in a file format, do I still need to create a AVFormatContext and use av_read_frame() to get the encoded AVPacket ? Or should I just create an AVPacket using av_packet_from_data(AVPacket *pkt, uint8_t *data, int size) and manually set the properties like encoding, sample rate, etc ? It is my understanding that AVFormatContext is meant for representing file formats, i.e. wrappers, so I don't know if it would work if I use raw encoded audio data (which I would access through a custom AVIOContext). Also, since I want to support lots of different audio codecs as input, I don't know if the different frame sizes for different codecs will make it difficult to create an AVPacket, if I have the wrong number of samples in my data array, so maybe an AVFormatContext would be better.

    


    Which is the better approach for decoding raw encoded audio chunks - creating an AVFormatContext or AVPackets ?