Recherche avancée

Médias (1)

Mot : - Tags -/wave

Autres articles (111)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (7611)

  • lavc/vp9 : Add RGB* formats for VAAPI hwaccel

    28 février 2023, par Fei Wang
    lavc/vp9 : Add RGB* formats for VAAPI hwaccel
    

    Signed-off-by : Fei Wang <fei.w.wang@intel.com>

    • [DH] libavcodec/vp9.c
  • configure : Alphabetical order for av1 codecs

    14 juin 2024, par Fei Wang
    configure : Alphabetical order for av1 codecs
    

    Signed-off-by : Fei Wang <fei.w.wang@intel.com>

    • [DH] configure
  • cannot seek to frame 0 in opencv ?

    12 décembre 2017, par Wang

    For some video I cannot seek to frame <11 with cap.set(cv2.CAP_PROP_POS_FRAMES, x). Any x <11 will result in seek to frame 11th. any x<=0 will result in seek to frame 10th.
    Why does this happen ? How can I fix this ?

    def check_frame_seek(fname, frames, x, msec=False, seek=True):
       cap = cv2.VideoCapture(fname)
       _info = "start frame: {:d}; seek to {}".format(
           int(cap.get(cv2.CAP_PROP_POS_FRAMES)),
           x
       )
       if seek:
           if msec:
               _ret = cap.set(cv2.CAP_PROP_POS_MSEC, x)
               _info +="ms;"
           else:
               _ret = cap.set(cv2.CAP_PROP_POS_FRAMES, x)
               _info +="frame;"
           _info += "support seek?({});".format(_ret)
       _ret, framenow = cap.read()

       if _ret:
           for _i, _frame in enumerate(frames):
               if not _frame is None:
                   if (np.all(framenow == _frame)):
                       _info +="loaded=={}.".format(_i)
       else:
           _info += "cannot read."
       cap.release()
       print(_info)


    def load_all_frames(fname):
       cap = cv2.VideoCapture(fname)
       frames = []
       _ret, _frame = cap.read()
       while (_ret):
           print(
               "frame: {:d}".format(
                   int(cap.get(cv2.CAP_PROP_POS_FRAMES))
               )
           )
           frames.append(_frame)
           _ret, _frame = cap.read()
       print(
           "total frame number: {}; cap.get = {}".format(
               len(frames),
               cap.get(cv2.CAP_PROP_FRAME_COUNT)
           )
       )
       return frames

    def main():
       fname = "video"
       frames  = load_all_frames(fname)

       check_frame_seek(fname, frames, 0)
       check_frame_seek(fname, frames, -1)
       check_frame_seek(fname, frames, 49)
       check_frame_seek(fname, frames, 50)
       check_frame_seek(fname, frames, 51)
       check_frame_seek(fname, frames, 1)
       check_frame_seek(fname, frames, 10)
       check_frame_seek(fname, frames, 11)
       check_frame_seek(fname, frames, 12)
       check_frame_seek(fname, frames, 30)

    The out put is :

    total frame number: 50; cap.get = 49.0

    [h264 @ 0x55aabd321540] Missing reference picture
    [h264 @ 0x55aabd321540] decode_slice_header error
    [h264 @ 0x55aabd350120] Missing reference picture
    [h264 @ 0x55aabd3505e0] Missing reference picture
    [h264 @ 0x55aabd350aa0] reference picture missing during reorder
    [h264 @ 0x55aabd350aa0] reference picture missing during reorder
    [h264 @ 0x55aabd350aa0] reference picture missing during reorder
    [h264 @ 0x55aabd350aa0] Missing reference picture
    [h264 @ 0x55aabd350aa0] Missing reference picture
    [h264 @ 0x55aabd350aa0] Missing reference picture
    [h264 @ 0x55aabd321540] Missing reference picture
    [h264 @ 0x55aabd350120] mmco: unref short failure
    [h264 @ 0x55aabd350aa0] reference picture missing during reorder
    [h264 @ 0x55aabd350aa0] Missing reference picture
    start frame: 0; seek to 0frame;support seek?(True);loaded==10.
    start frame: 0; seek to -1frame;support seek?(True);loaded==10.
    start frame: 0; seek to 49frame;support seek?(True);loaded==49.
    start frame: 0; seek to 50frame;support seek?(True);loaded==49.
    start frame: 0; seek to 51frame;support seek?(True);loaded==49.
    start frame: 0; seek to 1frame;support seek?(True);loaded==11.
    start frame: 0; seek to 10frame;support seek?(True);loaded==11.
    start frame: 0; seek to 11frame;support seek?(True);loaded==11.
    start frame: 0; seek to 12frame;support seek?(True);loaded==12.
    start frame: 0; seek to 30frame;support seek?(True);loaded==30.

    The ffprobe result of the problematic videos :

    Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1920x1080 [SAR 16:15 DAR 256:135], 50 fps, 50 tbr, 90k tbn, 100 tbc

    The ffmpeg :

    ffmpeg version 3.3.3
    configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --disable-ffserver --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libtheora --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab --enable-libwavpack --enable-nvenc --enable-libzimg
     libavutil      55. 58.100 / 55. 58.100
     libavcodec     57. 89.100 / 57. 89.100
     libavformat    57. 71.100 / 57. 71.100
     libavdevice    57.  6.100 / 57.  6.100
     libavfilter     6. 82.100 /  6. 82.100
     libavresample   3.  5.  0 /  3.  5.  0
     libswscale      4.  6.100 /  4.  6.100
     libswresample   2.  7.100 /  2.  7.100
     libpostproc    54.  5.100 / 54.  5.100