Recherche avancée

Médias (91)

Autres articles (89)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Qualité du média après traitement

    21 juin 2013, par

    Le bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
    Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...)

Sur d’autres sites (10560)

  • Opencv Videocapture fails to read http url videos

    16 mars 2019, par Purav Zumkhawala

    I want to read HTTP URL videos in my Ubuntu system without downloading them. I can do this in windows OS but when I try to run the same code in Ubuntu using the same opencv VideoCapture method it fails to get any frames.

    Why is this so ?

    I have used same opencv version in both Ubuntu and Windows, can anyone guide me towards a workaround, a tutorial using which I can compile opencv and stream url videos or any other library that supports this functionality in Ubuntu ?

    I have tried almost everything but with no productive result which has led me to finally ask this as a question.

    opencv build information :

     OpenCV modules:
       To be built:                 calib3d core dnn features2d flann gapi highgui imgcodecs imgproc java_bindings_generator ml objdetect photo python3 python_bindings_generator stitching video videoio
       Disabled:                    world
       Disabled by dependency:      -
       Unavailable:                 java js python2 ts
       Applications:                -
       Documentation:               NO
       Non-free algorithms:         NO

     GUI:
       QT:                          YES (ver 4.8.7 EDITION = OpenSource)
         QT OpenGL support:         NO
       GTK+:                        NO
       VTK support:                 NO

     Media I/O:
       ZLib:                        /lib64/libz.so (ver 1.2.3)
       JPEG:                        /opt/libjpeg-turbo/lib64/libjpeg.a (ver 62)
       WEBP:                        build (ver encoder: 0x020e)
       PNG:                         build (ver 1.6.35)
       TIFF:                        build (ver 42 - 4.0.9)
       JPEG 2000:                   build (ver 1.900.1)
       OpenEXR:                     build (ver 1.7.1)
       HDR:                         YES
       SUNRASTER:                   YES
       PXM:                         YES
       PFM:                         YES

     Video I/O:
       DC1394:                      NO
       FFMPEG:                      YES
         avcodec:                   YES (ver 58.21.104)
         avformat:                  YES (ver 58.17.101)
         avutil:                    YES (ver 56.18.102)
         swscale:                   YES (ver 5.2.100)
         avresample:                NO
       GStreamer:                   NO
       v4l/v4l2:                    linux/videodev2.h

     Parallel framework:            pthreads

     Trace:                         YES (with Intel ITT)

     Other third-party libraries:
       Lapack:                      NO
       Eigen:                       NO
       Custom HAL:                  NO
       Protobuf:                    build (3.5.1)

     OpenCL:                        YES (no extra features)
       Include path:                /io/opencv/3rdparty/include/opencl/1.2
       Link libraries:              Dynamic load

     Python 3:
       Interpreter:                 /opt/python/cp36-cp36m/bin/python (ver 3.6.5)
       Libraries:                   libpython3.6m.a (ver 3.6.5)
       numpy:                       /opt/python/cp36-cp36m/lib/python3.6/site-packages/numpy/core/include (ver 1.11.3)
       packages path:               lib/python3.6/site-packages

     Python (for build):            /opt/python/cp36-cp36m/bin/python

     Java:                          
       ant:                         NO
       JNI:                         NO
       Java wrappers:               NO
       Java tests:                  NO

     Install to:                    /io/_skbuild/linux-x86_64-3.6/cmake-install
  • Opencv Videocapture fails to read https url videos

    23 novembre 2020, par Purav Zumkhawala

    I want to read HTTPS URL videos in my Ubuntu system without downloading them. I can do this in windows OS but when I try to run the same code in Ubuntu using the same opencv VideoCapture method it fails to get any frames.

    



    Why is this so ?

    



    I have used same opencv version in both Ubuntu and Windows, can anyone guide me towards a workaround, a tutorial using which I can compile opencv and stream url videos or any other library that supports this functionality in Ubuntu ?

    



    I have tried almost everything but with no productive result which has led me to finally ask this as a question.

    



    opencv build information :

  OpenCV modules:
    To be built:                 calib3d core dnn features2d flann gapi highgui imgcodecs imgproc java_bindings_generator ml objdetect photo python3 python_bindings_generator stitching video videoio
    Disabled:                    world
    Disabled by dependency:      -
    Unavailable:                 java js python2 ts
    Applications:                -
    Documentation:               NO
    Non-free algorithms:         NO

  GUI: 
    QT:                          YES (ver 4.8.7 EDITION = OpenSource)
      QT OpenGL support:         NO
    GTK+:                        NO
    VTK support:                 NO

  Media I/O: 
    ZLib:                        /lib64/libz.so (ver 1.2.3)
    JPEG:                        /opt/libjpeg-turbo/lib64/libjpeg.a (ver 62)
    WEBP:                        build (ver encoder: 0x020e)
    PNG:                         build (ver 1.6.35)
    TIFF:                        build (ver 42 - 4.0.9)
    JPEG 2000:                   build (ver 1.900.1)
    OpenEXR:                     build (ver 1.7.1)
    HDR:                         YES
    SUNRASTER:                   YES
    PXM:                         YES
    PFM:                         YES

  Video I/O:
    DC1394:                      NO
    FFMPEG:                      YES
      avcodec:                   YES (ver 58.21.104)
      avformat:                  YES (ver 58.17.101)
      avutil:                    YES (ver 56.18.102)
      swscale:                   YES (ver 5.2.100)
      avresample:                NO
    GStreamer:                   NO
    v4l/v4l2:                    linux/videodev2.h

  Parallel framework:            pthreads

  Trace:                         YES (with Intel ITT)

  Other third-party libraries:
    Lapack:                      NO
    Eigen:                       NO
    Custom HAL:                  NO
    Protobuf:                    build (3.5.1)

  OpenCL:                        YES (no extra features)
    Include path:                /io/opencv/3rdparty/include/opencl/1.2
    Link libraries:              Dynamic load

  Python 3:
    Interpreter:                 /opt/python/cp36-cp36m/bin/python (ver 3.6.5)
    Libraries:                   libpython3.6m.a (ver 3.6.5)
    numpy:                       /opt/python/cp36-cp36m/lib/python3.6/site-packages/numpy/core/include (ver 1.11.3)
    packages path:               lib/python3.6/site-packages

  Python (for build):            /opt/python/cp36-cp36m/bin/python

  Java:                          
    ant:                         NO
    JNI:                         NO
    Java wrappers:               NO
    Java tests:                  NO

  Install to:                    /io/_skbuild/linux-x86_64-3.6/cmake-install


    


  • FFMPEG-PHP Code example to trim MP3 file

    15 décembre 2012, par revive

    I've searched here and online,. and have not found clear PHP examples for taking a single MP3 file, and trimming it to a smaller file (removing both beginning and end portions and retaining only the content between a specified start time and end time)..

    What I'm trying to do is pass the start time, end time and mp3 file name to a PHP script, that will then use FFMPEG-PHP to effectively trim or concat that orig file.. without re-encoding it (and retaining all the orig. file metadata, etc.)

    If you provide an example of how to process an MP3 file like this, within one PHP file, it will help a lot ! I'm trying my best to help out our church, and simply don't know FFMPEG-PHP enough to sort this out solo.. :)

    Thanks !!