Recherche avancée

Médias (0)

Mot : - Tags -/performance

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (78)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

Sur d’autres sites (4819)

  • Install gstreamer on EC2 Amazon Linux AMI ?

    6 décembre 2015, par vy32

    I’m trying to install QT5.5 on Amazon EC2 Linux, which apparently requires that I install some kind of multimedia support. It looks like that comes from gstreamer.

    yum search gstreamer turns up :

    [ec2-user@ip-172-30-1-58 ~]$ yum search gstreamer
    Loaded plugins: priorities, update-motd, upgrade-helper
    23 packages excluded due to repository priority protections
    ============================================== N/S matched: gstreamer ==============================================
    gstreamer-ffmpeg.x86_64 : GStreamer FFmpeg-based plug-ins
    gstreamer-ffmpeg-debuginfo.x86_64 : Debug information for package gstreamer-ffmpeg
    gstreamer-plugins-bad.x86_64 : GStreamer streaming media framework "bad" plug-ins
    gstreamer-plugins-bad-debuginfo.x86_64 : Debug information for package gstreamer-plugins-bad
    gstreamer-plugins-bad-nonfree.x86_64 : Non Free GStreamer streaming media framework "bad" plug-ins
    gstreamer-plugins-bad-nonfree-debuginfo.x86_64 : Debug information for package gstreamer-plugins-bad-nonfree
    gstreamer-plugins-ugly.x86_64 : GStreamer streaming media framework "ugly" plug-ins
    gstreamer-plugins-ugly-debuginfo.x86_64 : Debug information for package gstreamer-plugins-ugly
    gstreamer-plugins-ugly-devel-docs.noarch : Development documentation for the GStreamer "ugly" plug-ins
    gstreamer1-libav.x86_64 : GStreamer 1.0 libav-based plug-ins
    gstreamer1-libav-debuginfo.x86_64 : Debug information for package gstreamer1-libav
    gstreamer1-plugins-bad-freeworld.x86_64 : GStreamer 1.0 streaming media framework "bad" plug-ins
    gstreamer1-plugins-bad-freeworld-debuginfo.x86_64 : Debug information for package gstreamer1-plugins-bad-freeworld
    gstreamer1-plugins-ugly.x86_64 : GStreamer 1.0 streaming media framework "ugly" plug-ins
    gstreamer1-plugins-ugly-debuginfo.x86_64 : Debug information for package gstreamer1-plugins-ugly
    gstreamer1-plugins-ugly-devel-docs.noarch : Development documentation for the GStreamer "ugly" plug-ins
    gstreamer1-vaapi.x86_64 : GStreamer plugins to use VA API video acceleration
    gstreamer1-vaapi-debuginfo.x86_64 : Debug information for package gstreamer1-vaapi
    gstreamer1-vaapi-devel.x86_64 : Development files for gstreamer1-vaapi
    qt-gstreamer.x86_64 : C++ bindings for GStreamer with a Qt-style API
    qt-gstreamer-debuginfo.x86_64 : Debug information for package qt-gstreamer
    qt-gstreamer-devel.x86_64 : Header files and development documentation for qt-gstreamer

     Name and summary matches only, use "search all" for everything.
    [ec2-user@ip-172-30-1-58 ~]$ %

    However, when I try to install one of these, I get this error :

    $ sudo yum install -y gstreamer-ffmpeg
    Loaded plugins: priorities, update-motd, upgrade-helper
    23 packages excluded due to repository priority protections
    Resolving Dependencies
    --> Running transaction check
    ---> Package gstreamer-ffmpeg.x86_64 0:0.10.13-15.el7.nux will be installed
    --> Processing Dependency: liborc-0.4.so.0()(64bit) for package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64
    --> Processing Dependency: libgstvideo-0.10.so.0()(64bit) for package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64
    --> Processing Dependency: libgstreamer-0.10.so.0()(64bit) for package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64
    --> Processing Dependency: libgstpbutils-0.10.so.0()(64bit) for package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64
    --> Processing Dependency: libgstbase-0.10.so.0()(64bit) for package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64
    --> Processing Dependency: libgstaudio-0.10.so.0()(64bit) for package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64
    --> Finished Dependency Resolution
    Error: Package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64 (nux-dextop)
              Requires: liborc-0.4.so.0()(64bit)
    Error: Package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64 (nux-dextop)
              Requires: libgstreamer-0.10.so.0()(64bit)
    Error: Package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64 (nux-dextop)
              Requires: libgstbase-0.10.so.0()(64bit)
    Error: Package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64 (nux-dextop)
              Requires: libgstaudio-0.10.so.0()(64bit)
    Error: Package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64 (nux-dextop)
              Requires: libgstpbutils-0.10.so.0()(64bit)
    Error: Package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64 (nux-dextop)
              Requires: libgstvideo-0.10.so.0()(64bit)
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest
    [ec2-user@ip-172-30-1-58 ~]$

    Supplying the suggested --skip-broken doesn’t help :

    [ec2-user@ip-172-30-1-58 ~]$ sudo yum install -y gstreamer-ffmpeg --skip-broken
    Loaded plugins: priorities, update-motd, upgrade-helper
    23 packages excluded due to repository priority protections
    Resolving Dependencies
    --> Running transaction check
    ---> Package gstreamer-ffmpeg.x86_64 0:0.10.13-15.el7.nux will be installed
    --> Processing Dependency: liborc-0.4.so.0()(64bit) for package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64
    --> Processing Dependency: libgstvideo-0.10.so.0()(64bit) for package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64
    --> Processing Dependency: libgstreamer-0.10.so.0()(64bit) for package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64
    --> Processing Dependency: libgstpbutils-0.10.so.0()(64bit) for package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64
    --> Processing Dependency: libgstbase-0.10.so.0()(64bit) for package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64
    --> Processing Dependency: libgstaudio-0.10.so.0()(64bit) for package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64

    Packages skipped because of dependency problems:
       gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64 from nux-dextop
    [ec2-user@ip-172-30-1-58 ~]$

    So how do I install gstreamer-ffmpeg ? Why aren’t the dependencies automatically being followed ?

  • How to concate videos which some have audio and some haven't audio in FFMPEG [duplicate]

    21 juin 2019, par Nikunj Paradva

    What i am doing :->

    I am currently concat videos using FFMPEG. while selecting input videos I don’t know videos have audio stream or not. then i concate that videos with this command which is written below,

    I got this error because of one input have no sound stream

    What i have to do :->

    • how to check that input video have audio or not ?
    • how to concate this video inputs ?(one with audio another with no audio)
    • if possible all this thing in single command ?

    FFMPEG Command :-

    [-y,
      -i, /storage/emulated/0/Received/MP4_20190220_114210.mp4,
      -i, /storage/emulated/0/Received/VID-20190404-WA0010.mp4,
      -strict, experimental,
      -filter_complex, [0:v]scale=iw*min(854/iw\,480/ih):ih*min(854/iw\,480/ih), pad=854:480:(854-iw*min(854/iw\,480/ih))/2:(480-ih*min(854/iw\,480/ih))/2,setsar=1:1[v0];
                       [1:v]scale=iw*min(854/iw\,480/ih):ih*min(854/iw\,480/ih), pad=854:480:(854-iw*min(854/iw\,480/ih))/2:(480-ih*min(854/iw\,480/ih))/2,setsar=1:1[v1];
                       [v0][0:a][v1][1:a] concat=n=2:v=1:a=1,
      -preset, ultrafast,
      /storage/emulated/0/Video/Video_1561115811161.mp4]

    I got this Error While Executing.

    ffmpeg version n4.0-39-gda39990 Copyright (c) 2000-2018 the FFmpeg developers
         built with gcc 4.9.x (GCC) 20150123 (prerelease)
         configuration: --target-os=linux --cross-prefix=/root/bravobit/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/root/bravobit/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-ffprobe --enable-libopus --enable-libvorbis --enable-libfdk-aac --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-libvpx --enable-libass --enable-yasm --enable-pthreads --disable-debug --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-linux-perf --disable-doc --disable-shared --enable-static --enable-runtime-cpudetect --enable-nonfree --enable-network --enable-avresample --enable-avformat --enable-avcodec --enable-indev=lavfi --enable-hwaccels --enable-ffmpeg --enable-zlib --enable-gpl --enable-small --enable-nonfree --pkg-config=pkg-config --pkg-config-flags=--static --prefix=/root/bravobit/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/root/bravobit/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/root/bravobit/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-cxxflags=
         libavutil      56. 14.100 / 56. 14.100
         libavcodec     58. 18.100 / 58. 18.100
         libavformat    58. 12.100 / 58. 12.100
         libavdevice    58.  3.100 / 58.  3.100
         libavfilter     7. 16.100 /  7. 16.100
         libavresample   4.  0.  0 /  4.  0.  0
         libswscale      5.  1.100 /  5.  1.100
         libswresample   3.  1.100 /  3.  1.100
         libpostproc    55.  1.100 / 55.  1.100
       Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Received/MP4_20190220_114210.mp4':
         Metadata:
           major_brand     : iso6
           minor_version   : 1
           compatible_brands: mp42iso6avc1isom
           creation_time   : 2019-02-20T06:12:15.000000Z
         Duration: 00:00:23.46, start: 0.000000, bitrate: 309 kb/s
           Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 426x426, 243 kb/s, 24 fps, 24 tbr, 12288 tbn, 48 tbc (default)
           Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 32000 Hz, stereo, fltp, 64 kb/s (default)
       Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Received/VID-20190404-WA0010.mp4':
         Metadata:
           major_brand     : mp42
           minor_version   : 1
           compatible_brands: mp41mp42isom
           creation_time   : 2018-11-24T20:20:48.000000Z
         Duration: 00:00:59.51, start: 0.066667, bitrate: 649 kb/s
           Stream #1:0(und): Video: h264 (avc1 / 0x31637661), yuv420p(tv, bt709), 640x640, 646 kb/s, 29.98 fps, 30 tbr, 15360 tbn, 60 tbc (default)
           Metadata:
             creation_time   : 2018-11-24T20:20:48.000000Z
             handler_name    : Core Media Video
       Stream specifier ':a' in filtergraph description [0:v]scale=iw*min(854/iw\,480/ih):ih*min(854/iw\,480/ih), pad=854:480:(854-iw*min(854/iw\,480/ih))/2:(480-ih*min(854/iw\,480/ih))/2,setsar=1:1[v0];[1:v]scale=iw*min(854/iw\,480/ih):ih*min(854/iw\,480/ih), pad=854:480:(854-iw*min(854/iw\,480/ih))/2:(480-ih*min(854/iw\,480/ih))/2,setsar=1:1[v1];[v0][0:a][v1][1:a] concat=n=2:v=1:a=1 matches no streams.

    Your help would be appreciated.

  • FFMPEG Video Corrupt When Not Perfect Square

    23 avril 2022, par Bigbob556677

    I am writing frames from OpenCV using the following method. These code works totally fine when using a perfectly square resolution like 1000x1000 or 500x500, but when trying to do 1920x1200 or any other rectangular resolution, the written MP4 contains what is seen in the attached image. The MP4 file plays that still frame for the exact number of excepted seconds.

    


    What could possibly be causing this kind of behavior ?

    


      

    • The camera width and height match the output resolution
    • 


    • What is seen in the attachment is actually a frame from the camera, its just corrupted in the way seen.
    • 


    • File size matches excpected output roughly
    • 


    


    process = sp.Popen(shlex.split(f'ffmpeg -y -hide_banner -loglevel error
 -s {fwidth}x{fheight} -pixel_format bgr24 -f rawvideo 
-r {self.fps} -i pipe: -vcodec libx265 -pix_fmt yuv420p 
-crf 24 {filename}'), stdin=sp.PIPE)

for frame in frameList:
    process.stdin.write(frame.tobytes())

# Close and flush stdin
process.stdin.close()

# Wait for sub-process to finish
process.wait()

# Terminate the sub-process
process.terminate()


    


    enter image description here

    


    Attached is the ffprobe log

    


    ffprobe version 3.4.8-0ubuntu0.2 Copyright (c) 2007-2020 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
  configuration: --prefix=/usr --extra-version=0ubuntu0.2 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
  WARNING: library configuration mismatch
  avcodec     configuration: --prefix=/usr --extra-version=0ubuntu0.2 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libavresample   3.  7.  0 /  3.  7.  0
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/var/www/html/students/RH-PITCH_VIDEO.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    encoder         : Lavf57.83.100
  Duration: 00:00:03.13, start: 0.000000, bitrate: 452 kb/s
    Stream #0:0(und): Video: hevc (Main) (hev1 / 0x31766568), yuv420p(tv, progressive), 1200x1100, 432 kb/s, 160 fps, 160 tbr, 10240 tbn, 160 tbc (default)
    Metadata:
      handler_name    : VideoHandler