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)

  • ffmpeg player out of sync after seek

    9 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. 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 = -1.0; //seconds    
    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 make video (of any format) compatible to play in android's default player ?

    24 janvier 2014, par Aarti

    I want to play video urls from server in device's video player,but unable to play all videos
    Testing on HTC Desire (4.1.1), Panasonic (4.1.3), Samsung G S2(2.3.6).

    I've already gone through following links

    Sorry, this video cannot be played - streaming mp4 to android and
    How to Play Streaming Audio/Video from a url ?
    but did not found working solution.

    I understand few imp things from above,

    1. Video must be baseline H264 encoded for playing successfully on all devices
    2. For encoding any kind of video to H264, we need to integret ffmpeg

    My questions are,

    1. How exactly I can convert any format of video to H264 baseline support ? Examples are appreciated.
    2. Is there any alternate way for FFMPEG ?
    3. How can I check if video is baseline H.264 ?

    I have tried playing videos with both Intent ACTION_VIEW & MediaController, result was same for both.

    Its very urgent. Any kind of help or hint appreciated. Thank You.

  • avformat/dashdec : Support signaling of last segment number

    28 mars 2018, par sanilraut
    avformat/dashdec : Support signaling of last segment number
    

    Last segment indicated by mpd is not parsed.
    Example stream : http://dash.akamaized.net/dash264/TestCasesIOP41/LastSegmentNumber/1/manifest_last_segment_num.mpd

    This patch supports parsing of Supplemental Descriptor with @schemeIdUri set to http://dashif.org/guide-
    lines/last-segment-number with the @value set to the last segment number.

    Reviewed-by : Steven Liu <lq@onvideo.cn>

    • [DH] libavformat/dashdec.c