Recherche avancée

Médias (91)

Autres articles (32)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

  • Participer à sa documentation

    10 avril 2011

    La documentation est un des travaux les plus importants et les plus contraignants lors de la réalisation d’un outil technique.
    Tout apport extérieur à ce sujet est primordial : la critique de l’existant ; la participation à la rédaction d’articles orientés : utilisateur (administrateur de MediaSPIP ou simplement producteur de contenu) ; développeur ; la création de screencasts d’explication ; la traduction de la documentation dans une nouvelle langue ;
    Pour ce faire, vous pouvez vous inscrire sur (...)

  • Encodage et transformation en formats lisibles sur Internet

    10 avril 2011

    MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
    Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
    Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)

Sur d’autres sites (4539)

  • Video Codec For Commercial Use [on hold]

    17 décembre 2015, par mFeinstein

    I am new in video programming and I need to make a commercial application that needs to export some video. I was going to use OpenCV, but the documentation says it can’t write a video larger than 2Gb and that’s not something that my project can tolerate.

    I have an industrial camera and I will receive each frame of the camera in my C++ code and I want to transform the frames in a video. So far I am thinking about using FFmpeg for the video generation, but I am afraid of all these patented codecs.

    Are there any codecs that are free for commercial use ?

    Edit :

    Some are flaging this post as not related to programing or opinion based.

    1. I am not asking for an opinion, but a list of commercial free codecs. I am not asking which are good or bad (which is opinion based) I just can’t find a list online.

    2. This is about programing, there are lots of posts here in SO about legal issues on software like licensing, there is even one with a "legal" tag. I found many posts related to codecs licenses but none with a list of free ones. Of course this is programing related, I will develop and architecture my code around my options.

  • OpenCV VideoCapture can't read from stream

    18 décembre 2018, par Josep Valls

    I can open a stream in VLC but in OpenCV I cannot capture frames. (Python 2.7, OpenCV 3.4.3 binary distribution x86, Windows 10). I’ve been following this guide : https://medium.com/@tomgrek/hackers-guide-to-the-aws-deeplens-1b8281bc6e24 but I cannot seem to read from random streams online (not sure whether I should be able to, I saw this question opencv videocapture can’t open MJPEG stream about compiling with ffmpeg but I just downloaded the binary available in Sourceforge).

    • I am using an AWS Deeplens, updated to the latest version.

    • Installed ffmpeg, latest version.

    Then, in /etc/ffserver.conf I added :

    <stream>
    File "/opt/awscam/out/ch1_out.h264"
    VideoFrameRate 6
    VideoSize 320x240
    NoAudio
    </stream>

    <stream>
    File "/opt/awscam/out/ch2_out.mjpeg"
    VideoFrameRate 3
    VideoSize 640x480
    Format mjpeg
    NoAudio
    </stream>
    • I start ffserver -f /etc/ffserver.conf
    • On my Windows machine, I use WSL and open an SSH tunnel into the AWS Deeplens ssh -L 8090:localhost:8090 aws_cam@192.168.0.10
    • At this point, in my Windows machine I can open VLC and if I point to http://localhost:8090/camera.mjpeg I can see the stream from the camera.

    But if I run the following code :

    cam = cv2.VideoCapture("http://localhost:8090/camera.mjpeg")
    success, frame = cam.read()
    opened = cam.isOpened()
    success, frame, opened

    I get :

    False, None, False

    If I browse to http://localhost:8090/stat.html, I see :

    Available Streams
    Path    Served Conns     bytes  Format  Bit rate kbits/s    Video kbits/s   Codec   Audio kbits/s    Codec  Feed
    test1.mpg   0   0   mpeg    96  64  mpeg1video  32  mp2 feed1.ffm
    test.asf    0   0   asf_stream  320 256 msmpeg4 64  wmav2   feed1.ffm
    stat.html   17  42150   -   -   -       -  
    index.html  0   0   -   -   -       -  
    camera.h264 3   6805k   h264    0   0   libx264 0       /opt/awscam/out/ch1_out.h264
    camera.mjpeg    12  41073k  mjpeg   0   0   mjpeg   0       /opt/awscam/out/ch2_out.mjpeg

    And every time I call VideoCapture() I see how the number of Served for the camera.mjpeg stream increased by a 2 or 3 and the bytes, increases a few megabytes but I don’t see anything in OpenCV. I have not tried any other video device in my Windows 10 but I can read images no problem. I also tried a random stream online, also opens in VLC but not in OpenCV, tried this one : http://136.176.70.200/mjpg/video.mjpg

    Any ideas ?

  • How to read .mp4 files in opencv

    9 mai 2016, par Noah

    I am totally newbie in OpenCV, C++. Trying to read an mp4 video but found OpenCV does not support mp4, it only reads avi(I am not sure whether I am write or wrong). After an online research came to know ffmpeg is the best option to convert mp4 to avi for further processing.

    I am using OpenCV 3.0 with visual studio 2012. I saw there is a dll file, opencv_ffmpeg300.dll in OpenCV C:\opencv\build\x86\vc11\bin folder. Is there any way I can use this dll file to read and convert my video ?

    It will be really appreciating if someone can provide me some guidelines, I am lost in the OpenCV world totally.

    For video,

    Video I/O:
      Video for Windows:           YES
      DC1394 1.x:                  NO
      DC1394 2.x:                  NO
      FFMPEG:                      YES (prebuilt binaries)
        codec:                     YES (ver 55.18.102)
        format:                    YES (ver 55.12.100)
        util:                      YES (ver 52.38.100)
        swscale:                   YES (ver 2.3.100)
        resample:                  NO
        gentoo-style:              YES
      OpenNI:                      NO
      OpenNI PrimeSensor Modules:  NO
      OpenNI2:                     NO
      PvAPI:                       NO
      GigEVisionSDK:               NO
      DirectShow:                  YES
      Media Foundation:            NO
      XIMEA:                       NO
      Intel PerC:                  NO