Recherche avancée

Médias (0)

Mot : - Tags -/acrobat

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

Autres articles (112)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

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

  • De près ou de loin...

    29 avril 2011, par

    Ils ne le savent pas forcément mais sont indispensables
    MediaSPIP est un logiciel open-source, il se base sur d’autres logiciels, et d’autres logiciels lui sont également nécessaires pour fonctionner ... Les personnes ici listées ne savent pas forcément qu’elles ont un rôle important dans le développement, elles ont apporté leur connaissances dans le cadre de la création d’une partie de ces éléments nécessaires ou ont écrit des articles permettant de comprendre certaines choses... il semble indispensable (...)

Sur d’autres sites (4859)

  • parseutils : accept only full "ms" suffix

    3 mars 2018, par Rostislav Pehlivanov
    parseutils : accept only full "ms" suffix
    

    The commit which added those was pushed prematurely before anyone could object
    to illogical suffixes like just m for milliseconds. Without this, we'd be locked
    into never being able to implement the "m" suffix for minutes.

    Signed-off-by : Rostislav Pehlivanov <atomnuker@gmail.com>

    • [DH] libavutil/parseutils.c
  • How to get rid of errors "jitter buffer full" in ffmpeg ?

    31 janvier 2021, par jidckii

    How to get rid of errors jitter buffer full ?
    &#xA;I use ffmpeg from one of the latest snapshots.
    &#xA;ffmpeg version N-90078-gf611fef Copyright (c) 2000-2018 the FFmpeg developers

    &#xA;&#xA;

    The problem is that from the camera on rtsp there is such a stream :
    &#xA;http://ibb.co/fmckCc
    &#xA;It is not possible to fix this from the camera side.

    &#xA;&#xA;

    I accept it like this :

    &#xA;&#xA;

    ffmpeg \&#xA;-strict experimental \&#xA;-fflags &#x2B; genpts \&#xA;-fflags &#x2B; latm \&#xA;-seek2any 1 \&#xA;-avoid_negative_ts &#x2B; make_zero \&#xA;-max_delay 5000000 \&#xA;-rtsp_transport udp \&#xA;-i rtsp: // admin: @ 192.168.87.21: 554/0? .sdp \&#xA;-map 0 \&#xA;-r 15 \&#xA;-c: v copy \&#xA;-an \&#xA;-f mpegts udp: //239.0.0.1: 1234? ttl = 1? pkt_size = 1316&#xA;

    &#xA;&#xA;

    I later start to get errors from time to time

    &#xA;&#xA;

    [rtsp @ 0x154d180] jitter buffer full&#xA;[rtsp @ 0x154d180] RTP: missed 1 packets&#xA;[rtsp @ 0x154d180] jitter buffer full&#xA;[rtsp @ 0x154d180] RTP: missed 1 packets&#xA;[rtsp @ 0x154d180] jitter buffer full&#xA;[rtsp @ 0x154d180] RTP: missed 2 packets&#xA;[rtsp @ 0x154d180] jitter buffer full&#xA;[rtsp @ 0x154d180] RTP: missed 4 packets&#xA;

    &#xA;&#xA;

    because of this the picture crumbles.

    &#xA;&#xA;

    I increased the udp buffer in the linux kernel settings :

    &#xA;&#xA;

    net.core.rmem_max = 16777216&#xA;net.core.wmem_max = 16777216&#xA;net.ipv4.udp_mem = 8388608 12582912 16777216&#xA;net.ipv4.tcp_rmem = 4096 87380 8388608&#xA;net.ipv4.tcp_wmem = 4096 65536 8388608&#xA;

    &#xA;&#xA;

    It did not solve my problem.
    &#xA;Tell me, how can you deal with such errors ?

    &#xA;

  • How to get a online video's duration without downloading the full video ?

    16 février 2018, par David Zhuang

    To get a video’s duration and resolution, I’ve got this function :

    def getvideosize(url, verbose=False):
    try:
       if url.startswith('http:') or url.startswith('https:'):
           ffprobe_command = ['ffprobe', '-icy', '0', '-loglevel', 'repeat+warning' if verbose else 'repeat+error', '-print_format', 'json', '-select_streams', 'v', '-show_streams', '-timeout', '60000000', '-user-agent', BILIGRAB_UA, url]
       else:
           ffprobe_command = ['ffprobe', '-loglevel', 'repeat+warning' if verbose else 'repeat+error', '-print_format', 'json', '-select_streams', 'v', '-show_streams', url]
       logcommand(ffprobe_command)
       ffprobe_process = subprocess.Popen(ffprobe_command, stdout=subprocess.PIPE)
       try:
           ffprobe_output = json.loads(ffprobe_process.communicate()[0].decode('utf-8', 'replace'))
       except KeyboardInterrupt:
           logging.warning('Cancelling getting video size, press Ctrl-C again to terminate.')
           ffprobe_process.terminate()
           return 0, 0
       width, height, widthxheight, duration = 0, 0, 0, 0
       for stream in dict.get(ffprobe_output, 'streams') or []:
           if dict.get(stream, 'duration') > duration:
               duration = dict.get(stream, 'duration')
           if dict.get(stream, 'width')*dict.get(stream, 'height') > widthxheight:
               width, height = dict.get(stream, 'width'), dict.get(stream, 'height')
       if duration == 0:
           duration = 1800
       return [[int(width), int(height)], int(float(duration))+1]
    except Exception as e:
       logorraise(e)
       return [[0, 0], 0]

    But some online videos comes without duration tag. Can we do something to get its duration ?