Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (32)

  • L’utiliser, en parler, le critiquer

    10 avril 2011

    La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
    Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
    Une liste de discussion est disponible pour tout échange entre utilisateurs.

  • D’autres logiciels intéressants

    12 avril 2011, par

    On ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
    La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
    On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
    Videopress
    Site Internet : (...)

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

Sur d’autres sites (6718)

  • Anomalie #2728 : js de login déficient sous opera 11.64

    28 mai 2012, par Daniel LEMEE

    Ma session a a priori expiré aussi, maintenant, et je rencontre ce souci sur tous les navigateurs et OS testés, le pb étant effectivement lié à Javascript. Donc la seule solution pour se connecter à l’espace privé est de désactiver Javascript. Y-a-t’il une solution simple à implémenter autre que (...)

  • Wav to Ogg or MP3 in PHP

    27 mai 2012, par Kamil Krzyszczuk

    Is there any solution for converting Wav to Ogg or MP3 by using pure PHP ?
    Technically it's possible. But what about ready-made libraries ?

    Im talking about 1-7 sec wav.

  • using FFmpeg, how to decode H264 packets

    28 mars 2017, par Jun

    I’m new to FFmpeg struggling to decode H264 packets which can be obtained as an array of uint8_t.

    After many of investigations, I think it should be able to just put the array into an AVPacket like the below

    AVPacket *avpkt = (AVPacket *)malloc(sizeof(AVPacket) * 1);
    av_init_packet(avpkt);  
    avpkt->data = ct;   // ct is the array
    avpkt->length =....

    and decode by avcodec_decode_video2(). A part of the code is like

    ...
    codec = avcodec_find_decoder(CODEC_ID_H264);
    gVideoCodecCtx = avcodec_alloc_context();
    gFrame = avcodec_alloc_frame();
    avcodec_decode_video2(gVideoCodecCtx, gFrame, &frameFinished, packet);
    ...

    I guess I set all required properties properly but this function is returning only -1 :(

    I just found the -1 is coming from

    ret = avctx->codec->decode(avctx, picture, got_picture_ptr, avpkt) ;

    in the avcodec_decode_video2() ;

    Actually, what I’m wondering is if I can decode H264 packets (without RTP header) by avcodec_decode_video2().

    Thanks for the help in advance.


    /////////// added

    OK, I’m still trying to find a solution. What I’m doing now is the below

    ** the H264 stream in this RTP stream is encoded by FU-A

    1. receive a RTP packet

    2. look if the second byte of the RTP header is > 0 which means it’s the first packet (and possibly will be followed)

    3. see if the next RTP packet has > 0 at its second byte also, then it means the previous frame was a complete NAL or if this is < 0, the packet should be appended to the previous packet.

    4. remove all RTP header of the packets so it has only like FU indicator | FU header | NAL

    5. try play it with avcodec_decode_video2()

    but it’s only returning -1..... am I supposed to remove FU indicator and header too ??

    any suggestion will be very appreciated

    thanks in advance.