Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (31)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (6522)

  • How to reduce CPU usage on ffmpeg when recording screen (Mac)

    23 septembre 2018, par Gabrielle

    I am trying to record my screen using ffmpeg, but the CPU usage grows A LOT, it gets to 85% of CPU and 20 threads... after 1 hour recording it is impossible to use the computer.

    I’ve tried to set threads=2 to reduce the 20 (I can see the threads on the Activity Monitor) but it didn’t work at all..

    This is the command I am using :

    ffmpeg -threads 2 -f avfoundation -i 1 -capture_cursor 1 -capture_mouse_clicks 1 -video_size 2560x1600 -b:v 2M -maxrate 2M -bufsize 1.5M -tune zerolatency -crf 17 -preset ultrafast -pix_fmt yuv420p -qp 0 -r 20 video.mkv -y -an

    I’ve tried to use .mkv and .mov and there is not much of a difference, others shows a very poor quality, I’ve tried to increase crf, decrease b and maxrate.

    Any idea of how to reduce the CPU usage ? I am already with a terrible video quality (transitions are a mess) and on top of that, I have my computer very slow...

    I know that stack already has some answers to it, but (1) none of them solved/helped my issue ; (2) they are a little bit old, so, maybe new versions came with new solutions to it...

  • Why ffmpeg takes so long time to decode 1 frame from high resolution gif

    29 août 2018, par Yueh-Ming Chien

    I am working on gif to png decode. My command is like :

    ffmpeg -probesize 20M -y -i "GIF_High resolution_4952x7000.gif" -y
    -frames:v 1 %03d.png

    Input : gif (4952x7000)

    Output : png

    And here’s output result :
    enter image description here

    It takes about 13 seconds.
    If I use python to call subprocess.Popen() to execute it, it causes UI to hang.
    And I found something weird in Process Monitor :
    enter image description here

    It stuck in process profiling for a long time. I don’t know why. Can anyone help ? I’ll appreciate that.

  • How to stop FFMPEG from running if connection to input stream is lost ?

    12 septembre 2018, par Ryan Griggs

    I am capturing thumbnails from a webcam RTMP stream every 1 second to JPG files. Here’s my command line :

    ffmpeg -i rtsp://192.168.1.89:554/11 -f image2 -r 1 thumb%03d.jpg

    How can I make FFMPEG die with an error if the input RTMP stream is lost for a given timeout period ? Currently, if I lose connection to the webcam, FFMPEG starts throwing "Unknown error" messages, but when the network reconnects, ffmpeg appears to reconnect to the stream, but does not output any more captured frames. I have to manually kill the process and restart it to again start capturing frames.

    It would be nice to simply have ffmpeg die when it loses connection for a specific timeout period. Then I could monitor the process and restart when it ends.

    Any ideas ?