Recherche avancée

Médias (91)

Autres articles (49)

  • Emballe Médias : Mettre en ligne simplement des documents

    29 octobre 2010, par

    Le plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
    Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
    D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (5608)

  • Video not saving when I use the fourcc 'X264'

    14 mars 2021, par user42

    I'm new to opencv and ffmpeg so I don't know if this is a noob question. I'm writing a video with the following statement :

    


    out = cv2.VideoWriter('videoname.mp4', cv2.VideoWriter_fourcc(*'X264'), 10, (frame_width, frame_height))

    


    My program runs however, the video does not save. I tried looking for solutions online but none of them seem to work. What I have already tried :

    


      

    1. It works correctly when I used *'XVID' or *'MJPG' but the file size is larger than what I require.
    2. 


    3. Using 0x00000021 as the fourcc argument
    4. 


    5. Trying variations of x264, X264, H264, h264 as I read it might be case sensitive. This also does not work.
    6. 


    7. Specifying the channel when installing ffmpeg with the command conda install -c conda-forge ffmpeg (even though I already have built ffmpeg from source, I tried this)
    8. 


    9. Trying to install x264 using sudo apt-get install ffmpeg x264 libx264-dev. I get the following result :
    10. 


    


    Reading package lists... Done
Building dependency tree       
Reading state information... Done
libx264-dev is already the newest version (2:0.152.2854+gite9a5903-2).
x264 is already the newest version (2:0.152.2854+gite9a5903-2).
ffmpeg is already the newest version (7:3.4.8-0ubuntu0.2).
0 upgraded, 0 newly installed, 0 to remove and 82 not upgraded.


    


    Can someone help me where I could possibly be going wrong ? I require the video codec to be x264 when saving the video to get a small file size.

    


    Other info :
OpenCV version used : 4.2.0
Platform : Ubuntu 18.04

    


  • is it necessary in Anaconda for Matplotlib to install ffmpeg for animation saving ?

    2 mai 2018, par Vasyl Kolomiets

    For animation saving I have read some propositions
    1) manual installing ffmpeg this way :

     conda install -c conda-forge ffmpeg

    2) manual installing ImageMagick and changing matplotlib configuration file "matplotlibrc" this way :

    #animation.ffmpeg_args: ''         # Additional arguments to pass to ffmpeg
    #animation.avconv_path: 'avconv'   # Path to avconv binary. Without full path
                                      # $PATH is searched
    #animation.avconv_args: ''         # Additional arguments to pass to avconv
    #animation.mencoder_path: 'mencoder'
                                      # Path to mencoder binary. Without full path
                                      # $PATH is searched
    #animation.mencoder_args: ''       # Additional arguments to pass to mencoder
    #animation.convert_path: 'convert' # Path to ImageMagick's convert binary.
    animation.convert_path: F:\Games\ImageMagick-7.0.7-Q16\magick.exe
                                      # On Windows use the full path since convert
                                      # is also the name of a system tool.

    where line with pass to installed ImageMagick was added manually

    animation.convert_path: F:\Games\ImageMagick-7.0.7-Q16\magick.exe

    Two questions :
    1 - what way is better for Anaconda ?
    2 - really Anaconda has no better way ????

  • avcodec_encode_video2 coding gets H264 video frames, sent through live555 services, VLC playback, unable to display

    2 mars 2018, par donghui.R

    avcodec_encode_video2 encoding to get AVPacket H264 video frames, live555 RTSP stream service sent, client VLC play, can not be displayed. But the direct preservation of AVPacket H264 video frames is H264 files, which can be played with VLC, but it is very fast. Do not know if I need to deal with H264 video frames more closely ??