Recherche avancée

Médias (91)

Autres articles (74)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (10519)

  • avformat/matroskadec : Introduce a "last known good" position

    17 mai 2019, par Andreas Rheinhardt
    avformat/matroskadec : Introduce a "last known good" position
    

    Currently, resyncing during reading packets works as follows :
    The current position is recorded, then a call to matroska_parse_cluster
    is made and if said call fails, the demuxer tries to resync from the
    earlier position. If the call doesn't fail, but also doesn't deliver a
    packet, then this is looped.

    There are two problems with this approach :
    1. The Matroska file format aims to be forward-compatible ; to achieve
    this, a demuxer should simply ignore and skip elements it doesn't
    know about. But it is not possible to reliably distinguish unknown
    elements from junk. If matroska_parse_cluster encounters an unknown
    element, it can therefore not simply error out ; instead it returns zero
    and the loop is iterated which includes an update of the position that
    is intended to be used in case of errors, i.e. the element that is
    skipped is not searched for level 1 element ids to resync to at all if
    later calls to matroska_parse_cluster return an error.
    Notice that in case that sync has been lost there can be a chain of
    several unknown/possibly junk elements before an error is detected.

    2. Even if a call to matroska_parse_cluster delivers a packet, this does
    not mean that everything is fine. E.g. it might be that some of the
    block's data is missing and that the data that was presumed to be from
    the block just read actually contains the beginning of the next element.
    This will only be apparent at the next call of matroska_read_packet,
    which uses the (false) end of the earlier block as resync position so
    that in the (not unlikely) case that the call to matroska_parse_cluster
    fails, the data believed to be part of the earlier block is not searched
    for a level 1 element to resync to.

    To counter this, a "last known good" position is introduced. When an
    element id that is known to be allowed at this position in the hierarchy
    (according to the syntax currently in use for parsing) is read and some
    further checks (regarding the length of the element and its containing
    master element) are passed, then the beginning of the current element is
    treated as a "good" position and recorded as such in the
    MatroskaDemuxContext. Because of 2., only the start of the element is
    treated as a "good" position, not the whole element. If an error occurs
    later during parsing of clusters, the resync process starts at the last
    known good position.

    Given that when the header is damaged the subsequent resync never skips over
    data and is therefore unaffected by both issues, the "last known good"
    concept is not used there.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavformat/matroskadec.c
  • capturing x11grab display from ffmpeg giveing "segmentation fault1 q=0.0"

    26 juin 2019, par user2369563

    In Debian 9, I am trying to record screen using ffmpeg over x11grab. it's working great but sometimes its give error as shown below.&#xA;Any idea what causing this ?

    &#xA;&#xA;

    exec error: Error: Command failed: ffmpeg -y  -f x11grab -s 1920x1080 -framerate 30 -i :1.0&#x2B;0,0 -vsync 1 -c:v libx264 -preset ultrafast -crf 0 -pix_fmt yuv444p output.mkv&#xA;ffmpeg version 3.2.14-1~deb9u1 Copyright (c) 2000-2019 the FFmpeg developers&#xA;  built with gcc 6.3.0 (Debian 6.3.0-18&#x2B;deb9u1) 20170516&#xA;  configuration: --prefix=/usr --extra-version=&#x27;1~deb9u1&#x27; --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-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --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-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared&#xA;  libavutil      55. 34.101 / 55. 34.101&#xA;  libavcodec     57. 64.101 / 57. 64.101&#xA;  libavformat    57. 56.101 / 57. 56.101&#xA;  libavdevice    57.  1.100 / 57.  1.100&#xA;  libavfilter     6. 65.100 /  6. 65.100&#xA;  libavresample   3.  1.  0 /  3.  1.  0&#xA;  libswscale      4.  2.100 /  4.  2.100&#xA;  libswresample   2.  3.100 /  2.  3.100&#xA;  libpostproc    54.  1.100 / 54.  1.100&#xA;[x11grab @ 0x55f87adcffa0] Stream #0: not enough frames to estimate rate; consider increasing probesize&#xA;Input #0, x11grab, from &#x27;:1.0&#x2B;0,0&#x27;:&#xA;  Duration: N/A, start: 1561540173.584858, bitrate: N/A&#xA;    Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1920x1080, 30 fps, 1000k tbr, 1000k tbn, 1000k tbc&#xA;[libx264 @ 0x55f87adda860] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2&#xA;[libx264 @ 0x55f87adda860] profile High 4:4:4 Predictive, level 4.0, 4:4:4 8-bit&#xA;[libx264 @ 0x55f87adda860] 264 - core 148 r2748 97eaef2 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=0 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=0 chroma_qp_offset=0 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc=cqp mbtree=0 qp=0&#xA;Output #0, matroska, to &#x27;output.mkv&#x27;:&#xA;  Metadata:&#xA;    encoder         : Lavf57.56.101&#xA;    Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv444p, 1920x1080, q=-1--1, 30 fps, 1k tbn, 30 tbc&#xA;    Metadata:&#xA;      encoder         : Lavc57.64.101 libx264&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))&#xA;Press [q] to stop, [?] for help&#xA;Segmentation fault1 q=0.0 size=   10942kB time=00:00:02.40 bitrate=37332.4kbits/s speed=0.923x&#xA;

    &#xA;

  • capturing x11grab display from ffmpeg giveing "segmentation fault1 q=0.0"

    26 juin 2019, par user2369563

    In Debian 9, I am trying to record screen using ffmpeg over x11grab. it’s working great but sometimes its give error as shown below.
    Any idea what causing this ?

    exec error: Error: Command failed: ffmpeg -y  -f x11grab -s 1920x1080 -framerate 30 -i :1.0+0,0 -vsync 1 -c:v libx264 -preset ultrafast -crf 0 -pix_fmt yuv444p output.mkv
    ffmpeg version 3.2.14-1~deb9u1 Copyright (c) 2000-2019 the FFmpeg developers
     built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
     configuration: --prefix=/usr --extra-version='1~deb9u1' --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-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --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-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
     libavutil      55. 34.101 / 55. 34.101
     libavcodec     57. 64.101 / 57. 64.101
     libavformat    57. 56.101 / 57. 56.101
     libavdevice    57.  1.100 / 57.  1.100
     libavfilter     6. 65.100 /  6. 65.100
     libavresample   3.  1.  0 /  3.  1.  0
     libswscale      4.  2.100 /  4.  2.100
     libswresample   2.  3.100 /  2.  3.100
     libpostproc    54.  1.100 / 54.  1.100
    [x11grab @ 0x55f87adcffa0] Stream #0: not enough frames to estimate rate; consider increasing probesize
    Input #0, x11grab, from ':1.0+0,0':
     Duration: N/A, start: 1561540173.584858, bitrate: N/A
       Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1920x1080, 30 fps, 1000k tbr, 1000k tbn, 1000k tbc
    [libx264 @ 0x55f87adda860] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
    [libx264 @ 0x55f87adda860] profile High 4:4:4 Predictive, level 4.0, 4:4:4 8-bit
    [libx264 @ 0x55f87adda860] 264 - core 148 r2748 97eaef2 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=0 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=0 chroma_qp_offset=0 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc=cqp mbtree=0 qp=0
    Output #0, matroska, to 'output.mkv':
     Metadata:
       encoder         : Lavf57.56.101
       Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv444p, 1920x1080, q=-1--1, 30 fps, 1k tbn, 30 tbc
       Metadata:
         encoder         : Lavc57.64.101 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    Stream mapping:
     Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
    Press [q] to stop, [?] for help
    Segmentation fault1 q=0.0 size=   10942kB time=00:00:02.40 bitrate=37332.4kbits/s speed=0.923x