Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

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

Autres articles (47)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

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

Sur d’autres sites (4653)

  • mov : Do not allow updating the time scale after it has been set

    15 juillet 2013, par Martin Storsjö
    mov : Do not allow updating the time scale after it has been set
    

    The time scale is set in mdhd, and later validated in the
    enclosing trak atom once all of its children have been parsed.

    A loose mdhd atom outside of a trak atom could update the time
    scale of the last stream without any validation.

    Reported-by : Mateusz "j00ru" Jurczyk and Gynvael Coldwind
    Cc : libav-stable@libav.org
    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] libavformat/mov.c
  • I don't know the time unit to use for av_dict_set to set a timeout

    9 juin 2020, par ICYMYM

    I am confused. I am using the av_dict_set function to set a time-out, but when I searched for information about av_dict_set, the time unit seems to be different. I don't know how to set it now. Can anyone help ?

    &#xA;&#xA;

    I found some code like the following :

    &#xA;&#xA;

    pFormatCtx = avformat_alloc_context();&#xA;&#xA;av_dict_set(&amp;opts, "rtsp_transport", "tcp", 0);&#xA;//av_dict_set(&amp;opts, "timeout", "5000000", 0);&#xA;if(strncmp(stream_url, "rtmp:", sizeof("rtmp:")) == 0){&#xA;    av_dict_set(&amp;opts, "timeout", "6", 0); // in secs&#xA;}&#xA;else if(strncmp(stream_url, "http:", sizeof("http:")) == 0){&#xA;    av_dict_set(&amp;opts, "timeout", "6000", 0); // in ms&#xA;}&#xA;&#xA;if(avformat_open_input(&amp;pFormatCtx, stream_url, NULL, &amp;opts)!=0)&#xA;{&#xA;  return 1;&#xA;}&#xA;

    &#xA;&#xA;

    Maybe it should set the time unit according to the different protocols (http or rtsp).

    &#xA;&#xA;

    Is the code above right ?

    &#xA;

  • FFmpeg concat demuxer negative start time

    6 février 2021, par modfun

    Problem

    &#xA;

    When using FFmpeg concat demuxer with the -c:v copy option, the initial start time is negative, introducing a black frame for around 0.02 seconds. The video then plays with no other problems. Another question was asked here without any answers.

    &#xA;

    The black frame appears in Quicktime but not VLC.

    &#xA;

    Input

    &#xA;

    The command below shows the start time is at -0.023220, not 0.0

    &#xA;

    ffmpeg -f concat -safe 0 -i moments.txt -c:v copy combined.mp4&#xA;ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with Apple clang version 12.0.0 (clang-1200.0.32.28)&#xA;  configuration: --prefix=/usr/local/Cellar/ffmpeg/4.3.1_9 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack&#xA;  libavutil      56. 51.100 / 56. 51.100&#xA;  libavcodec     58. 91.100 / 58. 91.100&#xA;  libavformat    58. 45.100 / 58. 45.100&#xA;  libavdevice    58. 10.100 / 58. 10.100&#xA;  libavfilter     7. 85.100 /  7. 85.100&#xA;  libavresample   4.  0.  0 /  4.  0.  0&#xA;  libswscale      5.  7.100 /  5.  7.100&#xA;  libswresample   3.  7.100 /  3.  7.100&#xA;  libpostproc    55.  7.100 / 55.  7.100&#xA;Input #0, concat, from &#x27;moments.txt&#x27;:&#xA;  Duration: N/A, start: -0.023220, bitrate: 1067 kb/s&#xA;    Stream #0:0(und): Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, progressive), 720x1280, 836 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 29.97 tbc&#xA;    Metadata:&#xA;      handler_name    : Core Media Video&#xA;    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 230 kb/s&#xA;    Metadata:&#xA;      handler_name    : Core Media Audio&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (copy)&#xA;  Stream #0:1 -> #0:1 (aac (native) -> aac (native))&#xA;Press [q] to stop, [?] for help&#xA;Output #0, mp4, to &#x27;combined.mp4&#x27;:&#xA;  Metadata:&#xA;    encoder         : Lavf58.45.100&#xA;    Stream #0:0(und): Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, progressive), 720x1280, q=2-31, 836 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 30k tbc&#xA;    Metadata:&#xA;      handler_name    : Core Media Video&#xA;    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s&#xA;    Metadata:&#xA;      handler_name    : Core Media Audio&#xA;      encoder         : Lavc58.91.100 aac&#xA;frame=  318 fps=0.0 q=-1.0 Lsize=    2208kB time=00:00:10.70 bitrate=1689.9kbits/s speed=72.1x&#xA;video:2026kB audio:168kB subtitle:0kB other streams:0kB global headers:2kB muxing overhead: 0.673558%&#xA;[aac @ 0x7fd530866a00] Qavg: 472.463&#xA;&#xA;

    &#xA;

    Observations

    &#xA;

    The negative start time does not occur if I encode the video rather than copy it but encoding takes significantly more time.

    &#xA;

    Thanks for the help !

    &#xA;