Recherche avancée

Médias (91)

Autres articles (71)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

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

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

Sur d’autres sites (10504)

  • FFmpeg stops temporarily when downloading HLS segment files

    9 mai 2022, par Nemdr

    I am downloading a video from a website in the HLS (M3U8) format, by downloading the segment (.ts) files. I am not re-encoding, but just copying the codecs, the command that I use :

    


    ffmpeg -user_agent "my ua" -referer "my referer" -i https://website/file.m3u8 -c copy outputfile.mp4 


    


    Sometimes the download suddenly stops in the middle of the download, and after a few seconds or a minute, it resumes. I am thinking that perhaps this has to do with the speed at which I am downloading, maybe the CDN temporarily rate limits me ?

    


    I have tried using this option : -http_multiple 0 to use only 1 HTTP connection to download the segment files, but this happens sometimes with this option as well. What could be the reason behind the sudden pauses ? And is there something I can do to slow down the download speed ? I have tried using the -re option as well, which downloads the segments at the native speed as if I'm watching the video, but that's too slow.

    


    Another possibility is that ffmpeg cannot find the next segment files, because the segment files in the .m3u8 manifest file are relative URLs, not full URLs, so ffmpeg has to search for the URL ??

    


  • Animated Gif using PHP 5 and ffmpeg [closed]

    1er décembre 2012, par user1828200

    I make an Animated Gif, by download a video from youtube with youtube-dl and then convert it into AVI with ffmpegand then make animated gif through convert. It works, but speed is very slow.

    Here is my code

    Youtube Download :

    shell_exec("youtube-dl -o JNJNoaIU7qs.flv --format=5 --audio-quality=9 http://www.youtube.com/watch?v=JNJNoaIU7qs);

    Convert to AVI , because I want to make Small Gif so time manipulation is not done with youtube-dl thats why i convert avi with time manipulation

    shell_exec("ffmpeg -i JNJNoaIU7qs.flv -sameq -ss 00:00:5 -t 00:00:10 JNJNoaIU7qs.avi");

    Make Gif

    shell_exec("convert -quiet -delay 0  JNJNoaIU7qs.avi JNJNoaIU7qs.gif");

    It creates the GIF files, but it is very slow, how can I increase the speed of conversion ?

  • TCP or UDP ? Delays building up on production for video stream

    31 janvier 2020, par Ben Beri

    I am creating a video stream from a camera with FFMPEG and nodejs stream Duplex class.

    this.ffmpegProcess = spawn('"ffmpeg"', [

     '-i', '-',
     '-loglevel', 'info',

     /**
      * MJPEG Stream
      */

     '-map', '0:v',
     '-c:v', 'mjpeg',
     '-thread_type', 'frame', // suggested for performance on StackOverflow.
     '-q:v', '20', // force quality of image. 2-31 when 2=best, 31=worst
     '-r', '25', // force framerate
     '-f', 'mjpeg',
     `-`,

    ], {
     shell: true,
     detached: false,
    });

    On local network, we are testing it with a few computers and every thing works very stable with latency of maximum 2 seconds.

    However, we have imported the service to AWS production, when we connect the first computer we have a latency of around 2 seconds, but if another client connects to the stream, they both start delaying a lot, where the latency builds up to 10+ seconds, and in addition the video is very slow, as in the motion between frames.

    Now I asked about TCP or UDP is because we are using TCP for the stream, which means that every packet that is sent is implementing the TCP syn-ack-synack protocol and sequence.

    My question is, could TCP really be causing such an issue that the delays get up to 10 seconds with very slow motion ? because on local network it works very just fine.