Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (106)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

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

Sur d’autres sites (10387)

  • Android Media player by FFmpeg2.3.3 and SDL2-2.0.3 has a error when SDL_init().The error is about SDL_main.h

    25 avril 2019, par Hanamaki

    I use FFmpeg2.3.3 and SDL2-2.0.3 to develop an Android video player.I built the .apk success,but when I ran it,it’s an error at SDL_init().I got message by SDL_error().The message was :

    SDL_Init(14144) : Application didn’t initialize properly, did you include SDL_main.h in the file containing your main() function ?

    but I have #include "SDL_main.h" in the source.

  • ffmpeg player out of sync after seek

    15 juillet 2015, par sat

    I have a ffmpeg/SDL video player based on Dranger’s tutorial07 : https://github.com/illuusio/ffmpeg-tutorial/blob/master/tutorial07.c

    The image and the audio are not synchronized anymore, once seeked backwards to the beginning of the video. The image seems to be in the correct position unlike the audio. However, the video becomes synchronized subsequently being seeked forwards once.

    I trigger seeking in the main function’s loop by keypress :

    incr = -get_video_clock(is) //to restart the video    
    if(global_video_state) {
       pos = get_master_clock(global_video_state);
       pos += incr;
       stream_seek(global_video_state, (int64_t)(pos * AV_TIME_BASE), incr);
    }

    Then stream_seek sets seek parameters of global structure :

    void stream_seek(VideoState *is, int64_t pos, int rel) {
       if(!is->seek_req) {
           is->seek_pos = pos;
           is->seek_flags = rel < 0 ? AVSEEK_FLAG_BACKWARD : 0;
           is->seek_req = 1;
       }
    }

    And here is the seek part of the decode_thread’s main loop :

    if(is->seek_req) {
       int stream_index = -1;
       int64_t seek_target = is->seek_pos;

       if(is->videoStream >= 0) {
           stream_index = is->videoStream;

       } else if(is->audioStream >= 0) {
           stream_index = is->audioStream;
       }

       if(stream_index >= 0) {
           seek_target = av_rescale_q(seek_target, AV_TIME_BASE_Q, pFormatCtx->streams[stream_index]->time_base);
       }

       if(av_seek_frame(is->pFormatCtx, stream_index, seek_target, is->seek_flags) < 0) {
           fprintf(stderr, "%s: error while seeking\n", is->pFormatCtx->filename);

       } else {
           if(is->audioStream >= 0) {
               packet_queue_flush(&is->audioq);
               packet_queue_put(&is->audioq, &flush_pkt);
           }

           if(is->videoStream >= 0) {
               packet_queue_flush(&is->videoq);
               packet_queue_put(&is->videoq, &flush_pkt);
           }
       }

       is->seek_req = 0;
    }
  • How to get Continuous live streaming without buffering in azure media player using FFMPEG(Latency is not a issue) ?

    29 août 2019, par vinay

    I am streaming from the ip camera which uses RTSP protocol and ingesting the feed to RTMP(to Azure media server) using the following command

    ffmpeg command : ffmpeg -f lavfi -i anullsrc -rtsp_transport tcp -i rtsp ://CloudAppUser:admin@192.168.8.145/MediaInput/h264/stream_1 -vcodec libx264 -t 12:00:00 -pix_fmt + -c:v copy -c:a aac -strict experimental -f flv rtmp ://channel1-cloudstream-inso.channel.media.azure.net:1934/live/980b582afc12e421b85b4jifd8e8662b/df

    I am able to watch the stream but it is buffering once in every 30 seconds , and I want to know the reason behind this buffering

    Please any one change this command , so that it should not buffer

    I am executing this command from my terminal

    I would like to watch my live stream in azure media player without any buffering and latency below 1 minute is not an issue