Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (71)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (9028)

  • Concatenating image with video for Freeze frame effect

    12 mai 2015, par Code_Ed_Student

    I am currently trying to achieve with ffmepg a freeze frame effect. This is something easy to do with adobe after effects shown here. However I would like to achieve a freeze frame effect(of 5 seconds duration) followed by the 15 second video for the final output video. This should amount to a final duration of 20 seconds. However with the settings below, I am getting a still image with the video following but it does not show a "freeze frame effect". How can I achieve a "freeze frame effect" in ffmpeg ?

    //create image

    ffmpeg -i "/media/test/test.mp4" -ss 00:00:00.023222 -vframes 1 "/media/test/test.png"

    //create freeze image effect

    ffmpeg -i "/media/test/test.mp4" -loop 1 -i "/media/test/test.jpg" -an \
    -filter_complex "[1:v]trim=start=0:end=5[ol];[0:v]setpts=[nv];[nv][ol]overlay=eof_action=pass[final]" \
    -map '[final]' -c:a aac -strict experimental -c:v libx264 -q 1 "/media/test/test_effect.mp4"
  • Seek and pause video stream from ffserver

    9 mai 2015, par Bresiu

    I managed to successfully feed ffserver from ffmpeg. ffmpeg takes input as PIPE :

    ffmpeg -loglevel fatal -f image2pipe -re -vcodec png -i - -vcodec libx264 http://localhost:8090/%s.ffm

    External java process generates svg/png images and pushes to ffpmepg

    My ffserver config allows me to buffer live feeds in ffm file without defining the size of the file.

    My stream configuration looks like this :

    <stream>
      Feed feed2.ffm
      Format mpjpeg
      VideoFrameRate 25
      VideoSize 640x880
      VideoQMin 1
      VideoQMax 5
      NoAudio
      Strict -1
    </stream>

    The problem is that, despite that I can watch streams in VLC by opening network :

    http://0.0.0.0:8090/live2.mjpg

    But I can not seek through already buffered movie.
    Is there a way to achieve seeking through movie, pausing, and resume playing from "now" ? I have tried already rtsp with h264, mpg and sdp but without success :

    <stream></stream>sdp/h264>
      Format rtp
      Feed feed2.ffm
      VideoCodec libx264
      VideoSize 640x880
      VideoQMin 1
      VideoQMax 5
      NoAudio
      Strict -1
      VideoFrameRate 25

    Is rtsp solution for this problem, or I need something else ?

    Can this be achieved from dynamic file since I am using PIPE ?

  • make error in OpenCV installation on ubuntu (ffmpeg CODEC_ID_XXXX was not declared in scope)

    22 avril 2015, par Anurag Priyadarshi

    I am trying to install OpenCV following this tutorial. I am through cmake.(The configuration is given at the end.) However make shows error :make[2]: ***[modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.cpp.o] Error 1
    One link pointed out reason as different version of opencv and ffmpeg, but I found a piece of code in cap_ffmpeg_impl.hpp that appears to be handling it.

    #if LIBAVCODEC_BUILD >= CALC_FFMPEG_VERSION(54,25,0)
    #  define CV_CODEC_ID AVCodecID
    #  define CV_CODEC(name) AV_##name
    #else
    #  define CV_CODEC_ID CodecID
    #  define CV_CODEC(name) name
    #endif

    Not sure if it is ok for this to be commented.

    Also, I could try installing ffmpeg seperately, but I am not sure how dependencies are handled in this installation around libav.

    Would be thankful for any help in solving this problem, as well as tips/links for OpenCV installation in general.

    make configuration :

    -- General configuration for OpenCV 2.4.11 ====================================
    Version control:               unknown
    --
    --   Platform:
    --     Host:                        Linux 3.16.0-32-generic i686
    --     CMake:                       2.8.12.2
    --     CMake generator:             Unix Makefiles
    --     CMake build tool:            /usr/bin/make
    --     Configuration:               RELEASE
    --
    --   C/C++:
    --     Built as dynamic libs?:      YES
    --     C++ Compiler:                /usr/bin/c++  (ver 4.9.1)
    --     C++ flags (Release):         -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -pthread -march=i686 -fomit-frame-pointer -msse -msse2 -msse3 -mfpmath=sse -ffunction-sections -O2 -DNDEBUG  -DNDEBUG
    --     C++ flags (Debug):           -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -pthread -march=i686 -fomit-frame-pointer -msse -msse2 -msse3 -mfpmath=sse -ffunction-sections -g  -O0 -DDEBUG -D_DEBUG
    --     C Compiler:                  /usr/bin/cc
    --     C flags (Release):           -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -pthread -march=i686 -fomit-frame-pointer -msse -msse2 -msse3 -mfpmath=sse -ffunction-sections -O2 -DNDEBUG  -DNDEBUG
    --     C flags (Debug):             -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -pthread -march=i686 -fomit-frame-pointer -msse -msse2 -msse3 -mfpmath=sse -ffunction-sections -g  -O0 -DDEBUG -D_DEBUG
    --     Linker flags (Release):      
    --     Linker flags (Debug):        
    --     Precompiled headers:         YES
    --
    --   OpenCV modules:
    --     To be built:                 core flann imgproc highgui features2d calib3d ml video legacy objdetect photo gpu ocl nonfree contrib java python stitching superres ts videostab
    --     Disabled:                    world
    --     Disabled by dependency:      -
    --     Unavailable:                 androidcamera dynamicuda viz
    --
    --   GUI:
    --     QT 5.x:                      YES (ver 5.3.0)
    --     QT OpenGL support:           YES (Qt5::OpenGL 5.3.0)
    --     OpenGL support:              YES (/usr/lib/i386-linux-gnu/libGLU.so /usr/lib/i386-linux-gnu/libGL.so /usr/lib/i386-linux-gnu/libSM.so /usr/lib/i386-linux-gnu/libICE.so /usr/lib/i386-linux-gnu/libX11.so /usr/lib/i386-linux-gnu/libXext.so)
    --     VTK support:                 NO
    --
    --   Media I/O:
    --     ZLib:                        /usr/lib/i386-linux-gnu/libz.so (ver 1.2.8)
    --     JPEG:                        /usr/lib/i386-linux-gnu/libjpeg.so (ver )
    --     PNG:                         /usr/lib/i386-linux-gnu/libpng.so (ver 1.2.51)
    --     TIFF:                        /usr/lib/i386-linux-gnu/libtiff.so (ver 42 - 4.0.3)
    --     JPEG 2000:                   /usr/lib/i386-linux-gnu/libjasper.so (ver 1.900.1)
    --     OpenEXR:                     /usr/lib/i386-linux-gnu/libImath.so /usr/lib/i386-linux-gnu/libIlmImf.so /usr/lib/i386-linux-gnu/libIex.so /usr/lib/i386-linux-gnu/libHalf.so /usr/lib/i386-linux-gnu/libIlmThread.so (ver 1.6.1)
    --
    --   Video I/O:
    --     DC1394 1.x:                  NO
    --     DC1394 2.x:                  YES (ver 2.2.1)
    --     FFMPEG:                      YES
    --       codec:                     YES (ver 56.1.0)
    --       format:                    YES (ver 56.1.0)
    --       util:                      YES (ver 54.3.0)
    --       swscale:                   YES (ver 3.0.0)
    --       gentoo-style:              YES
    --     GStreamer:                   NO
    --     OpenNI:                      NO
    --     OpenNI PrimeSensor Modules:  NO
    --     PvAPI:                       NO
    --     GigEVisionSDK:               NO
    --     UniCap:                      NO
    --     UniCap ucil:                 NO
    --     V4L/V4L2:                    Using libv4l1 (ver 1.2.1) / libv4l2 (ver 1.2.1)
    --     XIMEA:                       NO
    --     Xine:                        NO
    --
    --   Other third-party libraries:
    --     Use IPP:                     NO
    --     Use Eigen:                   YES (ver 3.2.1)
    --     Use TBB:                     YES (ver 4.2 interface 7000)
    --     Use OpenMP:                  NO
    --     Use GCD                      NO
    --     Use Concurrency              NO
    --     Use C=:                      NO
    --     Use Cuda:                    NO
    --     Use OpenCL:                  YES
    --
    --   OpenCL:
    --     Version:                     dynamic
    --     Include path:                /home/keeda/Downloads/data_analysis/opencv-2.4.11/3rdparty/include/opencl/1.2
    --     Use AMD FFT:                 NO
    --     Use AMD BLAS:                NO
    --
    --   Python:
    --     Interpreter:                 /usr/bin/python2 (ver 2.7.8)
    --     Libraries:                   /usr/lib/i386-linux-gnu/libpython2.7.so (ver 2.7.8)
    --     numpy:                       /usr/local/lib/python2.7/dist-packages/numpy/core/include (ver 1.9.1)
    --     packages path:               lib/python2.7/dist-packages
    --
    --   Java:
    --     ant:                         /usr/bin/ant (ver 1.9.4)
    --     JNI:                         /usr/lib/jvm/default-java/include /usr/lib/jvm/default-java/include /usr/lib/jvm/default-java/include
    --     Java tests:                  YES
    --
    --   Documentation:
    --     Build Documentation:         YES
    --     Sphinx:                      /usr/bin/sphinx-build (ver 1.2.2)
    --     PdfLaTeX compiler:           /usr/bin/pdflatex
    --     Doxygen:                     NO
    --
    --   Tests and samples:
    --     Tests:                       YES
    --     Performance tests:           YES
    --     C/C++ Examples:              YES
    --
    --   Install path:                  /usr/local
    --
    --   cvconfig.h is in:              /home/keeda/Downloads/data_analysis/opencv-2.4.11/build
    -- -----------------------------------------------------------------