Recherche avancée

Médias (91)

Autres articles (82)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

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

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

Sur d’autres sites (6237)

  • FFMPEG BlockingIOError : [Errno 11] Resource temporarily unavailable

    18 septembre 2021, par mugetsu

    I have a multiprocess pool calling different instances of ffmpeg and outputing a video file. Some of these videos are hundreds of megabytes and take a while to create. I'm seemingly getting IO bottlenecked :

    


      File "", line 2, in write_videofile
  File "/home/xxx/.local/lib/python3.7/site-packages/moviepy/decorators.py", line 135, in use_clip_fps_by_default
    return f(clip, *new_a, **new_kw)
  File "", line 2, in write_videofile
  File "/home/xxx/.local/lib/python3.7/site-packages/moviepy/decorators.py", line 22, in convert_masks_to_RGB
    return f(clip, *a, **k)
  File "/home/xxx/.local/lib/python3.7/site-packages/moviepy/video/VideoClip.py", line 307, in write_videofile
    logger=logger)
  File "/home/xxx/.local/lib/python3.7/site-packages/moviepy/video/io/ffmpeg_writer.py", line 216, in ffmpeg_write_video
    ffmpeg_params=ffmpeg_params) as writer:
  File "/home/xxx/.local/lib/python3.7/site-packages/moviepy/video/io/ffmpeg_writer.py", line 129, in __init__
    self.proc = sp.Popen(cmd, **popen_params)
  File "/usr/lib64/python3.7/subprocess.py", line 800, in __init__
    restore_signals, start_new_session)
  File "/usr/lib64/python3.7/subprocess.py", line 1482, in _execute_child
    restore_signals, start_new_session, preexec_fn)
BlockingIOError: [Errno 11] Resource temporarily unavailable
"""


    


    This is weird but iotop never shows me with more than 10% io. My CPU is doing fine too, I have plenty of idle cores when this is running.

    


    The error here shows that its happening on ffmpeg_write, so clearly an IO constraint.

    


    Is there a way to make the write call threaded(I assume that's the fix) ? Is that ok even though this is happening in a multiprocess pool ?

    


  • FFMPEG on cygwin failed to compile libx264 error : unknown type name ‘HMODULE’

    6 mai 2020, par Ivan Lee

    I am trying to compile libx264 in ffmpeg under cygwin environment.

    



    I have followed some directions from several sources from Koohiimaster's blog, FFMPEG compilation guide, SO post 1, SO post 2 but I always stuck at the same step which is the libx264 compilation (make) process.

    



    As mentioned in the FFMPEG compilation guide these steps should be followed in order to make libx264 works

    



    cd ~/ffmpeg_sources
wget http://download.videolan.org/pub/x264/snapshots/last_x264.tar.bz2
tar xjvf last_x264.tar.bz2
cd x264-snapshot*
PATH="$HOME/bin:$PATH" ./configure --prefix="$HOME/ffmpeg_build" bindir="$HOME/bin" --enable-static --disable-opencl
PATH="$HOME/bin:$PATH" make
make install


    



    but when i enter this command PATH="$HOME/bin:$PATH" make the compiler always stop with the following errors :

    



    In file included from input/avs.c:49:0:
./extras/avisynth_c.h:825:3: error: unknown type name ‘HMODULE’
HMODULE handle;
^


    



    I was wondering whether this is libx264 source's bug, but after I tried several earlier source version, it produce the same error. Any thoughts to solve this problem ?

    


  • FFMPEG on cygwin failed to compile libx264 error : unknown type name ‘HMODULE’

    6 mai 2020, par Ivan Lee

    I am trying to compile libx264 in ffmpeg under cygwin environment.

    



    I have followed some directions from several sources from Koohiimaster's blog, FFMPEG compilation guide, SO post 1, SO post 2 but I always stuck at the same step which is the libx264 compilation (make) process.

    



    As mentioned in the FFMPEG compilation guide these steps should be followed in order to make libx264 works

    



    cd ~/ffmpeg_sources
wget http://download.videolan.org/pub/x264/snapshots/last_x264.tar.bz2
tar xjvf last_x264.tar.bz2
cd x264-snapshot*
PATH="$HOME/bin:$PATH" ./configure --prefix="$HOME/ffmpeg_build" bindir="$HOME/bin" --enable-static --disable-opencl
PATH="$HOME/bin:$PATH" make
make install


    



    but when i enter this command PATH="$HOME/bin:$PATH" make the compiler always stop with the following errors :

    



    In file included from input/avs.c:49:0:
./extras/avisynth_c.h:825:3: error: unknown type name ‘HMODULE’
HMODULE handle;
^


    



    I was wondering whether this is libx264 source's bug, but after I tried several earlier source version, it produce the same error. Any thoughts to solve this problem ?