Recherche avancée

Médias (91)

Autres articles (76)

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

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (9132)

  • x86 : simple_idct : 12bits versions

    12 octobre 2015, par Christophe Gisquet
    x86 : simple_idct : 12bits versions
    

    On 12 frames of a 444p 12 bits DNxHR sequence, _put function :
    C : 78902 decicycles in idct, 262071 runs, 73 skips
    avx : 32478 decicycles in idct, 262045 runs, 99 skips

    Difference between the 2 :
    stddev : 0.39 PSNR:104.47 MAXDIFF : 2

    This is unavoidable and due to the scale factors used in the x86
    version, which cannot match the C ones.

    In addition, the trick of adding an initial bias to the input of a
    pass can overflow, as the input coefficients are already 15bits,
    which is the maximum this function can handle.

    Overall, however, the omse on 12 bits samples goes from 0.16916 to
    0.16883. Reducing rowshift by 1 improves to 0.0908, but causes
    overflows.

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/x86/idctdsp_init.c
    • [DH] libavcodec/x86/simple_idct.h
    • [DH] libavcodec/x86/simple_idct10.asm
  • Merge branch ’scale-filter-factor’ of https://github.com/lkiesow/FFmpeg

    25 janvier 2014, par Michael Niedermayer
    Merge branch ’scale-filter-factor’ of https://github.com/lkiesow/FFmpeg
    

    * ’scale-filter-factor’ of https://github.com/lkiesow/FFmpeg:
    Documentation for scale filter factor
    Documentation for scale filter factor
    Fixed factor for scale filter
    Factors for scale filter

    Merged-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] doc/filters.texi
    • [DH] libavfilter/vf_scale.c
  • Why does ffmpeg hang indefinitely when composing videos ?

    11 octobre 2022, par Brendan Hill

    I am executing ffmpeg commands in a Java microservice (which runs dockerised in kubernetes in a temporary pod created by KEDA from an Amazon SQS queue... but unlikely to be relevant).

    &#xA;

    About 30% of the time, the ffmpeg process hangs indefinitely :

    &#xA;

    &#xA;/usr/local/bin/ffmpeg &#xA;     -i /tmp/transcode-3b928f5f-3cd9-4cd6-9175-b7c1621aa7ce13592236077853079159/person1.mkv &#xA;     -i /tmp/transcode-3b928f5f-3cd9-4cd6-9175-b7c1621aa7ce13592236077853079159/person2.mkv&#xA;     -filter_complex [0:v][1:v]hstack=inputs=2[v];[0:a]aresample=async=1000[0sync];[1:a]aresample=async=1000[1sync];[0sync][1sync]amix[a] &#xA;     -map [v] &#xA;     -map [a] &#xA;     -c:v libx264 &#xA;     -crf 18 &#xA;     -ac 2 &#xA;     -vsync 1 &#xA;     -r 25 &#xA;     -shortest /tmp/transcode-3b928f5f-3cd9-4cd6-9175-b7c1621aa7ce13592236077853079159/composed.mp4&#xA;&#xA;

    &#xA;

    This causes the Java code to wait indefinitely :

    &#xA;

    &#xA;        Process proc = Runtime.getRuntime().exec(cmd);&#xA;&#xA;        StreamConsumer outConsumer = new StreamConsumer(proc.getInputStream(), stdout);&#xA;        StreamConsumer errConsumer = new StreamConsumer(proc.getErrorStream(), stderr);&#xA;&#xA;        // execute data read/write in separate threads&#xA;        outExecutor.submit(outConsumer);&#xA;        errorExecutor.submit(errConsumer);&#xA;&#xA;        proc.waitFor() // Hangs indefinitely, with ~30% probability&#xA;&#xA;

    &#xA;

    It is not specifically about the video files because they generally work on retry (with similar 30% failure probability so sometimes several retries are necessary). Of course, since it hangs indefinitely instead of exiting with failure, it has to wait hours before we risk another retry.

    &#xA;

      &#xA;
    1. Why is ffmpeg hanging indefinitely and how to fix ?

      &#xA;

    2. &#xA;

    3. Can I get ffmpeg to fail early instead of hanging indefinitely (so I can trigger retry immediately) ?

      &#xA;

    4. &#xA;

    5. I see many questions and posts about ffmpeg hanging indefinitely. Is ffmpeg inherently unstable ?

      &#xA;

    6. &#xA;

    &#xA;