Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (70)

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

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

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (4469)

  • How to execute the ffmpeg thumbnail extraction command using sub-process in django ?

    18 janvier 2017, par Nitish Kumar

    The following code we are using to extract the thumbnail images from video

    ffmpeg -i low.mkv -vf thumbnail=10,setpts=N/TB -r 1 -vframes 10 inputframes%03d.png

    This code is working absolutely fine on terminal, but it is giving an error when we are processing the same with subprocess in django.

    Our aim is to generate 10 Thumbnails from any length of the video

    Here is the code

    vaild_fps = "'thumbnail=10,setpts=N/TB -r 1 -vframes 10'"

    subprocess.call([settings.FFMPEG_PATH,
           '-i',
           input_file_path,
           '-vf',
           vaild_fps,
           thumbnail_output_file_path,            
       ]
    )

    Error No such filter : ’thumbnail=10,setpts=N/TB -r 1 -vframes 10’

    Error opening filters !

  • ffmpeg compare 2 images Mac

    13 janvier, par Mary

    I am trying to compare two png/jpg images using ffmpeg commands in a Mac terminal from ffmpeg-image-diff location , but I have lots of errors .
I have tried
variant1 :

    


     ffmpeg -i image1.jpg -I image2.jpg -filter_complex "[0:v]format=yuv420p[main];[1:v]format=yuv420p[ref]; [main][ref]psnr=stats_file=psnrs.txt:shortest=1" -f null -


    


    variant2 :

    


    ffmpeg -i image1.png -i image2.png -filter_complex [1:v]negate[inv],[0:v][inv]mix=inputs=2 outdiff.png


    


    , but I'm getting every time

    


    Error opening input file image1.jpg.
Error opening input files: No such file or directory


    


    variant3 :

    


    ffmpeg -i image1jpg -i image2.jpg -filter_complex "[0:v]pad=iw*2:ih[bg]; [bg][1:v:0]overlay=w" output.jpg,


    


    but I have received with no output image created ...

    


    Input #0, png_pipe, from 'image1.jpg':
  Duration: N/A, bitrate: N/A
  Stream #0:0: Video: png, rgba(pc, gbr/bt709/iec61966-2-1), 888x640 [SAR 3779:3779 DAR 111:80], 25 fps, 25 tbr, 25 tbn


    


    I just want to have the differences between the 2 images in the output image.

    


    I have added the 2 images inside the ffmpeg-image-diff folder enter image description here
Can someone please help me ? Is there any other ffmpeg commands for images comparison ?
do I need to install any other libraries from ffmpeg ?, I saw that I have also have this in the terminal

    


    configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/7.1_4 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags='-Wl,-ld_classic' --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libharfbuzz --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-audiotoolbox --enable-neon
  libavutil      59. 39.100 / 59. 39.100
  libavcodec     61. 19.100 / 61. 19.100
  libavformat    61.  7.100 / 61.  7.100
  libavdevice    61.  3.100 / 61.  3.100
  libavfilter    10.  4.100 / 10.  4.100
  libswscale      8.  3.100 /  8.  3.100
  libswresample   5.  3.100 /  5.  3.100
  libpostproc    58.  3.100 / 58.  3.100


    


    Thanks in advance,
Mary

    


  • reading videos in matlab not working (the following codec(s) to be installed on your system)

    20 février 2016, par Ehab AlBadawy

    When I try to read a video in matlab v = VideoReader('t.avi'); I get this error :

    The file requires the following codec(s) to be installed on your system:
       video/x-msvideo

    and some time it needs mpeg codec when I try to load mpeg or mp4 video.

    I found someone referring to rename libstdc++.so.6.0 to libstdc++.so.6.0.10 but I found that I already have libstdc++.so.6.0.13

    I’m using matlab 2013 with archlinux.

    Update : I get this warring in the terminal when trying to read a video

    Failed to load plugin '/usr/lib/gstreamer-0.10/libgstpango.so':
    /usr/lib/libharfbuzz.so.0: undefined symbol: FT_Face_GetCharVariantIndex