Recherche avancée

Médias (3)

Mot : - Tags -/pdf

Autres articles (81)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

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

Sur d’autres sites (5337)

  • ffmpeg : add a data size threshold for muxing queue size

    15 octobre 2020, par Jan Ekström
    ffmpeg : add a data size threshold for muxing queue size
    

    This way the old max queue size limit based behavior for streams
    where each individual packet is large is kept, while for smaller
    streams more packets can be buffered (current default is at 50
    megabytes per stream).

    For some explanation, by default ffmpeg copies packets from before
    the appointed seek point/start time and puts them into the local
    muxing queue. Before, it getting utilized was much less likely
    since as soon as the filter chain was initialized, the encoder
    (and thus output stream) was also initialized.

    Now, since we will be pushing the encoder initialization to when the
    first AVFrame is decoded and filtered - which only happens after
    the exact seek point is hit as packets are ignored until then -
    this queue will be seeing much more usage.

    In more layman's terms, this attempts to fix cases such as where :
    - seek point ends up being 5 seconds before requested time.
    - audio is set to copy, and thus immediately begins filling the
    muxing queue.
    - video is being encoded, and thus all received packets are skipped
    until the requested time is hit.

    • [DH] doc/ffmpeg.texi
    • [DH] fftools/ffmpeg.c
    • [DH] fftools/ffmpeg.h
    • [DH] fftools/ffmpeg_opt.c
  • how to fix "FFmpeg cannot edit existing files in-place."-Problem in Java

    7 juillet 2019, par Suione

    I am trying to write an audio file to an existing videofile. Unfortunately I get the Logmessage, that I cannot edit existing files in-place.

    I have found some threads about the so called muxing between video and audio, but none of them could help me out really. Maybe some one of you can.
    Further this isn`t my could either. I am only the one who needs to use it, so I have to fix it.

    Thanks for your help

    String[] args = { FFMPEG_FILE.getAbsolutePath(), "-y", "-i", videoPath, "-ss", String.valueOf(-offset.toFrames() / 50.0f), "-i", audioPath, "-c", "copy", "-map", "0:v", "-map","1:a", "-bsf:v", "h264_mp4toannexb","-r", String.valueOf(project.getFramerate()), "-shortest",outputPath };

    ProcessBuilder pb = new ProcessBuilder(args).inheritIO();
    Process p = pb.start();
    int exit = p.waitFor();
    if (exit != 0) {
        throw new IOException("ffmpeg terminated with a failure");
    }

    EDIT : As someone commented outputPath was same same as videopath. So switched it to another, so this problem would not appear again. But I still have no sound in my outputvideos. I give you the LOG-information, so maybe you can read something out of it.

    INFO: start ffmpeg: [C:\Program Files\ffmpeg\bin\ffmpeg.exe, -y, -i, C:\Users\USERNAME\Desktop\Test_Workflow\1.mkv, -ss, 0.0, -i, C:\Users\USERNAME\Desktop\Test\resources/videos/P1000501.MP4\audio.ogg, -c, copy, -map, 0:v, -map, 1:a, -bsf:v, h264_mp4toannexb, -r, 25, -shortest, C:\Users\USERNAME\Desktop\Test\testoutput.mp4]
    ffmpeg version N-92087-gdcbd89e000 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 8.2.1 (GCC) 20180813
     configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
     libavutil      56. 19.101 / 56. 19.101
     libavcodec     58. 31.102 / 58. 31.102
     libavformat    58. 18.104 / 58. 18.104
     libavdevice    58.  4.105 / 58.  4.105
     libavfilter     7. 33.100 /  7. 33.100
     libswscale      5.  2.100 /  5.  2.100
     libswresample   3.  2.100 /  3.  2.100
     libpostproc    55.  2.100 / 55.  2.100
    Input #0, matroska,webm, from 'C:\Users\USERNAME\Desktop\Test_Workflow\1.mkv':
     Metadata:
       ENCODER         : Lavf56.4.101
     Duration: 00:00:04.60, start: 0.080000, bitrate: 1377 kb/s
       Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1080, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
    Input #1, ogg, from 'C:\Users\USERNAME\Desktop\Test\resources/videos/P1000501.MP4\audio.ogg':
     Duration: 00:04:20.65, start: 0.000000, bitrate: 86 kb/s
       Stream #1:0(und): Audio: vorbis, 48000 Hz, stereo, fltp, 112 kb/s
       Metadata:
         CREATION_TIME   : 2018-11-09T13:20:07.000000Z
         LANGUAGE        : und
         ENCODER         : Lavc58.31.102 libvorbis
         MAJOR_BRAND     : mp42
         MINOR_VERSION   : 1
         COMPATIBLE_BRANDS: mp42avc1
    [mp4 @ 000001e67c0a00c0] track 1: codec frame size is not set
    Output #0, mp4, to 'C:\Users\USERNAME\Desktop\Test\testoutput.mp4':
     Metadata:
       encoder         : Lavf58.18.104
       Stream #0:0: Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 25 tbr, 12800 tbn, 25 tbc (default)
       Stream #0:1(und): Audio: vorbis (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 112 kb/s
       Metadata:
         CREATION_TIME   : 2018-11-09T13:20:07.000000Z
         LANGUAGE        : und
         ENCODER         : Lavc58.31.102 libvorbis
         MAJOR_BRAND     : mp42
         MINOR_VERSION   : 1
         COMPATIBLE_BRANDS: mp42avc1
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
     Stream #1:0 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    frame=  113 fps=0.0 q=-1.0 Lsize=     824kB time=00:00:04.41 bitrate=1530.8kbits/s speed= 634x    
    video:772kB audio:43kB subtitle:0kB other streams:0kB global headers:4kB muxing overhead: 1.092082%
  • Anomalie #4517 (En cours) : Minipres "site en travaux" return un code 200

    10 juillet 2020, par b b

    Le patch suivant devrait régler le problème, tu confirmes ?

    diff —git a/ecrire/inc_version.php b/ecrire/inc_version.php
    index c77eaebb60..64cfc7c84b 100644
    
    — - a/ecrire/inc_version.php +++ b/ecrire/inc_version.php @@ -536,7 +536,7 @@ if (!(_FILE_CONNECT // Si on est dans le site public, dire que qq s’en occupe include_spip(’inc/minipres’) ; utiliser_langue_visiteur() ;
    - echo minipres(_T(’info_travaux_titre’), "

    " . _T(’info_travaux_texte’) . "

    ") ;
    + echo minipres(_T(’info_travaux_titre’), "

    " . _T(’info_travaux_texte’) . "

    ", array(’status’ => 503)) ;
    exit ;
    }
    // autrement c’est une install ad hoc (spikini...), on sait pas faire