Recherche avancée

Médias (0)

Mot : - Tags -/page unique

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

Autres articles (40)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

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

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

  • OpenCV not building videoio.hpp in Ubuntu but builds in MacOSX

    26 novembre 2019, par CuriousCoder

    I have been trying to use the VideoWriter class from videoio.hpp in OpenCV. However, my code builds in MacOSX but not in Ubuntu 18.04.
    I am aware that the VideoWriter class uses AVFoundation in MacOSX and FFMPEG in Ubuntu [Source].
    The code fails to build in Ubuntu 18.04 even though FFMPEG is installed, but the same code is successfully builds in MacOSX. I get the following error when I try to build the code in Ubuntu :

    error : ‘VideoWriter’ in namespace ‘cv’ does not name a type

    I tried my best going through the documentation, but I couldn’t find any lead about this unfortunately. Also, I tried going though the questions in GitHub and Stackoverflow and other blog posts but none of them address this issue. It will be very nice if anyone can give any ideas to solve this issue.

  • ffmpeg : test if format is seekable

    20 mai 2021, par Diederick C. Niehorster

    How do i test if a format is seekable ?

    


    I have written code against the latest fmmpeg's (4.4) libavformat, libavcodec, etc. My code reads and decodes video files. Now i also want to support reading from avdevices, such as dshow (DirectShow) on Windows. That is possible through the same interface as i have already implemented, it just requires using the dshow format. Super nice ! But in my video file reader, i have some seek logic implemented, which is engaged in various instances. The problem is that the dshow format is not seekable (avformat_seek_file() returns -22, invalid argument). How do i detect that a format is not seekable ? I know that the AVFormatContext's pb member (AVIOContext) has a seekable field, but the dshow format leaves pb null (as it should be since the AVFMT_NOFILE flag is set for the format). How do i test if a format is seekable (so that if it is not, i can disable the seek logic) ? The implementation of avformat_seek_file() and the various functions it calls seems to have various callbacks, so i am not sure if simply this would do the trick : bool isSeekable = !!context->pb && context->pb->seekable!=0.

    


  • 24 cores, 25 ffmpeg session - cpu looks good but load average high

    9 août 2012, par thevoipman

    I don't know if it's my script or just the system itself, but I definitely don't want to take anything down.

    I am running a centos 6.3 64bit with about 25 sessions of ffmpeg encoding

    1. I am trying to speed up ffmpeg encoding, but it seems like whatever ram or cpu I have, the encoding process still take very long. I have used -threads 0 or even -threads 16 to see if it speed up but it doesn't.

    2. My load average is very high, how can I lower this without terminating ffmpeg tasks ?

    top - 19:33:28 up 13:09,  2 users,  load average: 161.95, 161.07, 161.02
    Tasks: 523 total,   3 running, 520 sleeping,   0 stopped,   0 zombie
    Cpu(s): 14.0%us,  1.1%sy, 84.4%ni,  0.1%id,  0.0%wa,  0.0%hi,  0.4%si,  0.0%st
    Mem:  65943668k total, 65676464k used,   267204k free,   137428k buffers
    Swap:  8388600k total,   170992k used,  8217608k free, 56438576k cached
    1. Here is my cpu usage :
     08/09/2012      _x86_64_        (24 CPU)

    07:34:15 PM  CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest   %idle
    07:34:15 PM  all   10.83   86.27    0.55    0.03    0.00    0.14    0.00    0.00    2.19
    07:34:15 PM    0   18.68   69.92    5.82    0.39    0.00    3.22    0.00    0.00    1.97
    07:34:15 PM    1   11.11   86.26    0.45    0.02    0.00    0.00    0.00    0.00    2.16
    07:34:15 PM    2   11.07   86.34    0.42    0.02    0.00    0.00    0.00    0.00    2.17
    07:34:15 PM    3   10.89   86.50    0.43    0.02    0.00    0.00    0.00    0.00    2.16
    07:34:15 PM    4   11.05   86.31    0.45    0.02    0.00    0.00    0.00    0.00    2.17
    07:34:15 PM    5   11.07   86.34    0.41    0.01    0.00    0.00    0.00    0.00    2.16
    07:34:15 PM    6   12.79   84.56    0.48    0.06    0.00    0.07    0.00    0.00    2.05
    07:34:15 PM    7   11.32   86.34    0.18    0.01    0.00    0.00    0.00    0.00    2.15
    07:34:15 PM    8   11.49   86.15    0.18    0.01    0.00    0.00    0.00    0.00    2.17
    07:34:15 PM    9   11.95   85.67    0.19    0.01    0.00    0.00    0.00    0.00    2.18
    07:34:15 PM   10   11.73   85.90    0.19    0.01    0.00    0.00    0.00    0.00    2.18
    07:34:15 PM   11   11.56   86.08    0.18    0.01    0.00    0.00    0.00    0.00    2.17
    07:34:15 PM   12   13.59   82.43    1.33    0.09    0.00    0.00    0.00    0.00    2.56
    07:34:15 PM   13    8.72   88.76    0.29    0.02    0.00    0.00    0.00    0.00    2.21
    07:34:15 PM   14    8.84   88.67    0.28    0.02    0.00    0.00    0.00    0.00    2.20
    07:34:15 PM   15    8.76   88.71    0.32    0.02    0.00    0.00    0.00    0.00    2.19
    07:34:15 PM   16    8.73   88.75    0.29    0.02    0.00    0.00    0.00    0.00    2.21
    07:34:15 PM   17    8.76   88.75    0.26    0.02    0.00    0.00    0.00    0.00    2.21
    07:34:15 PM   18   10.35   87.16    0.24    0.02    0.00    0.00    0.00    0.00    2.23
    07:34:15 PM   19    9.16   88.48    0.17    0.01    0.00    0.00    0.00    0.00    2.17
    07:34:15 PM   20    9.45   88.19    0.18    0.01    0.00    0.00    0.00    0.00    2.18
    07:34:15 PM   21    9.62   88.01    0.17    0.01    0.00    0.00    0.00    0.00    2.20
    07:34:15 PM   22    9.73   87.88    0.17    0.01    0.00    0.00    0.00    0.00    2.20
    07:34:15 PM   23    9.44   88.21    0.16    0.01    0.00    0.00    0.00    0.00    2.18

    Please let me know if I'm seeing any trouble coming up if I keep on adding more ffmpeg's tasks