Advanced search

Medias (91)

Other articles (37)

  • Les notifications de la ferme

    1 December 2010, by

    Afin d’assurer une gestion correcte de la ferme, il est nécessaire de notifier plusieurs choses lors d’actions spécifiques à la fois à l’utilisateur mais également à l’ensemble des administrateurs de la ferme.
    Les notifications de changement de statut
    Lors d’un changement de statut d’une instance, l’ensemble des administrateurs de la ferme doivent être notifiés de cette modification ainsi que l’utilisateur administrateur de l’instance.
    À la demande d’un canal
    Passage au statut "publie"
    Passage au (...)

  • Support audio et vidéo HTML5

    10 April 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • HTML5 audio and video support

    13 April 2011, by

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

On other websites (5671)

  • ffmpeg how to calculate complete frame ['I' frame ] from [ 'P' frame ]. It is conceptually correct?

    15 February 2014, by Whoami

    I am trying to get the knowledge of ffmpeg streaming video handling.

    what I understood:

    I get from the IPed Camaera, the frames like 'IPPPPPPPPPPPPPPPPIPPPPPPP'..

    Frame 'I' is a complete frame, where as frame 'P' depends on the previous either 'P' or 'I' frame which ever is the closes.

    I get the frame by using avcodec_decode_video2

    while (av_read_frame (context, &packet) >=0)
    {  
           //LOGD (" Received PACKET...DTS and PTS  %ld and %ld ", packet.pts, packet.dts);

           if(packet.stream_index == videoStreamIndex ) {
                   avcodec_decode_video2 (pCodecCtx, pFrame, &finished, &packet);
                   if ( finished) {
                   // Here is my frame, getting the type by av_get_picture_type_char(pFrame->pict_type).
             }
    }

    Now, When i display just the frames that i have received, looks like whenever 'I' frame received, it displays properly, when received 'P' frames, the image goes for a toss.

    1) We need to manually do any calculation to convert 'P' Frame to 'I' Frame so that it can be rendered?

    2) If not (1), what do i have to take care?..Does DTS/PTS calcuation do the magic here ?

  • avcodec/liblc3enc: don't force unspec channel layouts

    4 April 2024, by James Almer
    avcodec/liblc3enc: don't force unspec channel layouts
    

    We only care about channel count. Layout details will be ignored either way.

    Signed-off-by: James Almer <jamrial@gmail.com>

    • [DH] libavcodec/liblc3enc.c
  • How do I end a pipe?

    5 September 2019, by Leo

    I have trouble using ffprobe from node.js. I need the audio lengths MP3 files. There is an npm package, get-audio-duration for this.

    The package calls ffprobe through an execa command. It works well for .flac files both when when using a filename and a stream. However for .mp3 files it fails for streams.

    I suspected some problems with execa so I checked from the command line (on Windows 10):

    type file.mp3 | ffprobe -

    (Where I left out the parameters to ffprobe for clarity.)

    This kind of works, but says duration=N/A.

    It looks to me like ffprobe didn’t get the info that the input is finished. Or, it dint care about it. (There is a 4 year old bug report about this on the ffmpeg issue site which was closed for no obvious reason.)

    Is it possible to somehow tell ffprobe that the pipe has ended?