Recherche avancée

Médias (91)

Autres articles (52)

  • 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

  • Initialisation de MediaSPIP (préconfiguration)

    20 février 2010, par

    Lors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
    Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
    Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
    Dans un premier temps il active ou désactive des options de SPIP qui ne le (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (8705)

  • Talk at Web Directions South, Sydney : HTML5 audio and video

    27 novembre 2010, par silvia

    On 14th October I gave a talk at Web Directions South on “HTML5 audio and video – using these exciting new elements in practice”. I wanted to give people an introduction into how to use these elements while at the same time stirring their imagination as to the design possibilities now that these (...)

  • ffmpeg : playing media files does not release processor after media ends ?

    2 septembre 2017, par Blake Senftner

    I have a commercial C++ application which uses FFMPEG’s libav series of dlls to play media in a Windows application. I basically started with the dranger tutorial about two years ago, and created a library that can playback USB cameras, IP camera / online streams, and media files on disk. (http://dranger.com/ffmpeg/)

    My question is directed at anyone who has created their own similar library :

    I recently noticed after playing a video file from disk (as opposed to a live stream from USB or IP source), my 8 core i7 workstation will show 28-29% CPU usage after a media file has ended. My application can play an unlimited number of videos, and each "virtual video panel" (not a window, just a "virtual tab" created using wxWidgets that holds an OpenGL context that I use to glDrawPixels() to the visible app panel) will play any of the three media types fine (USB, IP stream or media file) and when I stop a USB or IP stream my application’s CPU usage drops to zero. But when I "stop" a media file playing or the media file ends on its own the CPU usage does not drop - until the application quits.

    Three media files playing will take my application to 80-83% CPU, and it never drops. UNLESS I reuse that same "virtual video panel" to play a USB or IP stream. If I stop those streams, CPU usage is released.

    MP4 (h264) video files exhibit this "holding a processor" problem.

    MP4 (mpeg2) files do not.

    MP4 (h265) files do not.

    MPG (mpeg1) files do not.

    ASF (MS MPEG-4 Video v3) files do not.

    MKV (vp8) files do not.

    MOV files using h265 do not, as well as MOV (h264) files do not.

    FLV (sorensen) files do not, as well as FLV (h264) files do not.

    So it is not just the h264 codec.

    Anyone know what is going on, and how I tell libav to release CPU usage when a media file is no longer playing ?

  • Muxing files with different run times

    16 novembre 2019, par Dhruv Kanojia

    I’ve got a few files I want to mux.
    File 1 : MP4 File with runtime of 23 Minutes 45 Seconds
    File 2 : MP4 File with runtime of 23 Minutes 39 Seconds
    File 3 : Subtitle File
    File 4 : Subtitle File
    File 5 : Subtitle File
    File 6 : Subtitle File
    File 7 : Subtitle File
    File 8 : Subtitle File
    File 9 : Subtitle File

    I’m trying to mux these files. Now, since there’s a runtime difference, I’m getting weird errors like :

    [matroska @ 0x55e029fbd1a0] Only audio, video, and subtitles are supported for Matroska.
    av_interleaved_write_frame(): Invalid argument
    Error writing trailer of /root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [Dual Audio].mkv: Invalid argument

    I can mux files with same run time just fine... but, I’m stuck on this one. Can someone help me out here.

    The command I’m using :

    ffmpeg -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [enUS].mp4" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [jaJP].mp4" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [enUS] .ass" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [itIT] .ass" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [esLA] .ass" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [frFR] .ass" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [esES] .ass" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [deDE] .ass" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [ruRU] .ass" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [ptBR] .ass" -map 1 -map 2 -map 3 -map 4 -map 5 -map 6 -map 7 -map 8  -map 0:v -map 0:a -map 1:a -c copy -metadata:s:a:0 title="English Audio" -metadata:s:a:1 title="Japanese Audio" -metadata:s:a:0 language=eng -metadata:s:a:1 language=jpn -metadata:s:s:0 title="English (US) Subtitle" -metadata:s:s:1 title="Italian Subtitle" -metadata:s:s:2 title="Spanish (Latin America) Subtitle" -metadata:s:s:3 title="French Subtitle" -metadata:s:s:4 title="Spanish Subtitle" -metadata:s:s:5 title="Deutsch Subtitle" -metadata:s:s:6 title="Russian Subtitle" -metadata:s:s:7 title="Portuguese Subtitle"  "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [Dual Audio].mkv"