Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (26)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

Sur d’autres sites (8421)

  • PHP serving two different video files

    6 septembre 2016, par inan

    I’m currently serving with PHP .ts segments while FFmpeg is running.
    My idea was to show during the stream my own advert. So I decided to add between the .ts segments my own video file.

    The problem is, if the advertising file is not existing everything is working fine until the file for my advert exists. The script continues but is not showing the advert.

    I tried to serve just only the advert file and it’s working. So I can assume, everything with the file is alright.

    Is there a limitation, to serve just only one file extension or container etc ?

    I’m watching the streams with VLC and Enigma2

    A part of my code :

    while(streamIsRunning()){
    // Serving .ts segments
    while (!feof($file_handler) && ClientConnected($clientpid)) {
       $response = stream_get_line($file_handler, 4096);
       echo $response;
       flush();
    }

    // Serve Advert if exists
    if (file_exists($myAdvert)) {
       $file_handler = fopen($myAdvert, "rb") or exit ("Stream Not Working");
       while (!feof($file_handler) && ClientConnected($clientpid)) {
           $response = stream_get_line($file_handler, 4096);
           echo $response;
           flush();
      }
    }
    }
  • ffmpeg - scrolling text with specified boundaries and cut video when text ends

    19 février 2017, par Elma Paul

    Having this working ffmpeg filter with overlayed scrolling text

    f -i text_bg.mp4 -vf "drawtext=enable:fontsize=200:fontcolor=White:fontfile='ARIALN.TTF':text='asdfhlajsdh LKFJAHSDFH':x=-(mod(8*n\,w+tw)-tw):y=h/2-th/2" outtt.mp4 -y

    I have two questions :
    1.) How can I set specified boundaries for drawtext ? Just fix positions where the text will dissapear. Like here in picture
    scrolling text with specified boundaries example
    2.) How is it possible to cut the video(specify time) according to the text length.Meaning that the video will finish after ends the text line +plus one second ?

  • First image not showing image to video using ffmpeg

    3 octobre 2014, par death_relic0

    I am very new to ffmpeg and trying to convert a series of images to a video.

    The command I am using (copied/modified from a tutorial)

    ffmpeg -framerate 1/5 -start_number 1 -i dog%01d.jpg -c:v libx264 -r 30 -pix_fmt rgb24 dog.mp4

    Basically, I have 4 images labelled dog1.jpg, dog2.jpg, dog3.jpg and dog4.jpg.

    The problem is the output video I get has image starting at "dog2.jpg" and ending at "dog4.jpg" meaning that it is missing the first image in the sequence (i.e dog1.jpg).

    I tried with different image combinations and the same behavior happened, the resulting video never had the first image in the sequence.

    Any ideas ?