Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (54)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (9098)

  • HLS Playback Issues on Android with FFMPEG

    25 mai 2014, par Florian

    I am using the FFMPEG built of AppUnite with the latest patch for stagefright support in order to playback http live streams : https://review.appunite.com/#/c/1779/

    As the stream does not start at 0, I added the following code to avoid a black screen :

    struct Player {
      + int64_t video_start_time;
    }

    void player_get_video_duration(struct Player *player) {
    + player->video_start_time = 0;

    + for (i = 0; i < player->capture_streams_no; ++i) {
    +    AVStream *stream = player->input_streams[i];
    +       if (stream->start_time > 0) {
    +          player->video_start_time = av_rescale_q(
    +             stream->start_time, stream->time_base, AV_TIME_BASE_Q);
    +
    +          LOGI(3, "player_set_data_source stream[%d] start_time: %ld",
    +             i, player->video_start_time);
    +
    +           break;
    +       }
    +   }
    }

    enum WaitFuncRet player_wait_for_frame(
      struct Player *player, double time, int stream_no) {
    - int64_t current_time = av_gettime();
    + int64_t current_time = av_gettime() + player->video_start_time;
    }

    However, as soon as the sleep_time in player_wait_for_frame drops below 0, playback freezes and then hangs waiting for a frame that never arrives. The queues allocated by player_alloc_queues function seem being not big enough to hold the real-time stream pushed in between player_open_input and player_start_decoding_threads. Increasing the number of nodes in the queue does not resolve the issue however. The issue seems to be clearly in the player_wait_for_frame method but I am unable to find a solution.

    I spent quite a lot time trying to resolve this nasty issue, but without success so far. Any help really appreciated !!!

  • scale issues when adding images to a video

    27 septembre 2019, par Geo

    When I add two images to a video, the second image added is scaled down for some reason.

    I have two images arrow.png and icon1.png and one background.mp4 video, when I added the two images onto the video, the result is that the first image is added with the right size, but the second image is added with reduced size, probably in half of the specified size.

    this is my command :

    ffmpeg -i background.mp4 -i arrow.png -i icon1.png -filter_complex "[1:v]scale=311:175,setsar=1,format=bgra[img1];
    [img1]rotate=30*PI/180:c=none:ow=rotw(30*PI/180):oh=roth(30*PI/180)[rotate1];[2:v]scale=319:179,setsar=1,format=bgra[img2];
    [img2]rotate=59*PI/180:c=none:ow=rotw(59*PI/180):oh=roth(59*PI/180)[rotate2];[0][rotate1]overlay=242:-22:enable='between(t,0,6)',scale=hd720[overlay1];
    [overlay1][rotate2]overlay=34:13:enable='between(t,0,6)',scale=hd720" -c:a copy -c:v libx264 -preset ultrafast -y test01.mp4

    I am expecting the same size as the specified

  • FFMPEG DASH Issues

    5 octobre 2022, par user726720

    I have a couple of questions regarding ffmpeg.

    


      

    1. First is i can't seem to get the frame rate correctly.

      


      enter image description here

      


      I'm expecting 25, i have tried both , both give me the same result.

      


      -r 25 and -filter:v fps=25


      


      Here is my complete command im using

      


      ffmpeg -re -i file.mxf -pix_fmt yuv420p -vsync 1 -map 0:v:0 -map 0:a:0 -c:a aac -c:v libx264 -use_template 1 -use_timeline 1 -init_seg_name  "init-stream$RepresentationID$-$Bandwidth$.mp4" -media_seg_name "chunk-stream$RepresentationID$-$Number%05d$.$ext$" -b:v 2000k -b:a 48k -ac 2 -profile:v main -level:v 3.0 -s 640x360  -filter:v fps=25 -vsync passthrough -increment_tc 1 -adaptation_sets "id=0,streams=v id=1,streams=a" -g 100 -keyint_min 100 -seg_duration 5 -frag_duration 5 -dash_segment_type auto -f dash stream.mpd


      


    2. 


    3. My second question is related to the use of audio, with the above command im acheiving the below results, with the use of AAC

      


      enter image description here

      


      But my target is to acheive the below, how do i go about this

      


      enter image description here

      


        

      1. How do i change the muxing mode to dash
      2. 


      


      enter image description here

      


      Like the below

      


      enter image description here

      


    4.