Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (66)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

Sur d’autres sites (9856)

  • Creating a pipe between C# and Ffmpeg

    15 décembre 2011, par John Oliver

    I have a C# program that creates a video and saves it to the disk in real-time. Instead of doing that, I want it to write it directly in a pipe connected with ffmpeg...

    The function that keeps saving the video in the disk, which I can not control, receives an IntPtr with a reference to the file.

    So, I need to create a pipe or something like that with ffmpeg, get a pointer to that, and use that pointer in the function, so that it streams the file to ffmpeg and not the disk...

    Regards,
    John Oliver

  • Evolution #2371 : médiatheque : pipe entre les boutons et présentation inhomogene

    17 octobre 2011, par cedric -

    les boutons sont utilisés quand le clic provoque une modification de la base de donnée. Les liens quand le clic permet d’accèder à une autre page (navigation). C’est donc cohérent. pour les pipes disgracieux, a voir.

  • Pipe raw OpenCV images to FFmpeg

    15 février 2017, par BrianTheLion

    Here’s a fairly straightforward example of reading off a web cam using OpenCV’s python bindings :

    '''capture.py'''
    import cv, sys
    cap = cv.CaptureFromCAM(0)                    # 0 is for /dev/video0
    while True :
       if not cv.GrabFrame(cap) : break
       frame = cv.RetrieveFrame(cap)
       sys.stdout.write( frame.tostring() )

    Now I want to pipe the output to ffmpeg as in :

    $ python capture.py | ffmpeg -f image2pipe -pix_fmt bgr8 -i - -s 640x480 foo.avi

    Sadly, I can’t get the ffmpeg magic incantation quite right and it fails with

      libavutil     50.15. 1 / 50.15. 1
      libavcodec    52.72. 2 / 52.72. 2
      libavformat   52.64. 2 / 52.64. 2
      libavdevice   52. 2. 0 / 52. 2. 0
      libavfilter    1.19. 0 /  1.19. 0
      libswscale     0.11. 0 /  0.11. 0
      libpostproc   51. 2. 0 / 51. 2. 0
    Output #0, avi, to ’out.avi’ :
        Stream #0.0 : Video : flv, yuv420p, 640x480, q=2-31, 19660 kb/s, 90k tbn, 30 tbc
    [image2pipe @ 0x1508640]max_analyze_duration reached
    [image2pipe @ 0x1508640]Estimating duration from bitrate, this may be inaccurate
    Input #0, image2pipe, from ’pipe :’ :
      Duration : N/A, bitrate : N/A
        Stream #0.0 : Video : 0x0000, bgr8, 25 fps, 25 tbr, 25 tbn, 25 tbc
    swScaler : 0x0 -> 640x480 is invalid scaling dimension
    
    • The captured frames are definitely 640x480.
    • I’m pretty sure the pixel order for the OpenCV image type (IplImage) is GBR, one byte per channel. At least, that’s what seems to be coming off the camera.

    I’m no ffmpeg guru. Has anyone done this successfully ?