Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (49)

  • 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

  • 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

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

Sur d’autres sites (7972)

  • avformat/yuv4mpegenc : Simplify writing global and packet headers

    4 septembre 2020, par Andreas Rheinhardt
    avformat/yuv4mpegenc : Simplify writing global and packet headers
    

    YUV4MPEG writes a string as header for both the file itself as well as
    for every frame ; these strings contain magic strings and these were up
    until now included in the string to write via %s. Yet they are compile
    time constants, so one can use the compile-time string concatentation
    instead of inserting these strings at runtime.
    Furthermore, the global header has been written via snprintf() to
    a local buffer first before writing it. This can be simplified by using
    avio_printf().

    Reviewed-by : Paul B Mahol <onemda@gmail.com>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavformat/yuv4mpegenc.c
  • lavc/mjpegenc : Fix not writing RST tag after final slice.

    20 janvier 2020, par Carl Eugen Hoyos
    lavc/mjpegenc : Fix not writing RST tag after final slice.
    

    Fixes ticket #8412.

    • [DH] libavcodec/mjpegenc_common.c
  • Writing numpy arrays using cv2 VideoWriter

    8 juillet 2015, par JustInTime

    I have a problem with writing a toy example video using opencv2.3.1 VideoWriter, here is how I do it :

    writer = cv2.VideoWriter('test1.avi',cv.CV_FOURCC('P','I','M','1'),25,(640,480))
    for i in range(1000):
       x = np.random.randint(10,size=(480,640)).astype('uint8')
       writer.write(x)
    #del writer (with or without tested)

    I tried every possible combination resulting with a 0 bytes file if the extension was mpg, and 5.5kb if it was avi. I should say that some pointed out that I should build the ffmpeg library from source and not apt-get it. Well I did that on a fresh machine based on the help of this site http://vinayhacks.blogspot.com/2011/11/installing-opencv-231-with-ffmpeg-on-64.html. which also presented an error while compiling opencv(the error was related to ffmpeg). Now I am really out of ideas, How to generate a video using OPENCV ?

    Thanks in advance