Recherche avancée

Médias (1)

Mot : - Tags -/publier

Autres articles (99)

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

  • tools/target_swr_fuzzer : do not use negative numbers of samples

    30 novembre 2024, par Michael Niedermayer
    tools/target_swr_fuzzer : do not use negative numbers of samples
    

    Fixes : signed integer overflow : -277109688 * 8 cannot be represented in type 'int'
    Fixes : 376118159/clusterfuzz-testcase-minimized-ffmpeg_SWR_fuzzer-5884436320681984

    Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] tools/target_swr_fuzzer.c
  • avformat/mpegts* : reduce use of magic numbers

    1er décembre 2024, par Scott Theisen
    avformat/mpegts* : reduce use of magic numbers
    

    Note ISO/IEC 13818-1 defines an Extension_descriptor with descriptor_tag value
    0x3f (63), so I kept the DVB comment.

    I don't know what defines stream_type value 0x8a as DTS.

    I don't have any Blu-ray standards so I don't know where those stream_type
    values are defined.

    Signed-off-by : Marton Balint <cus@passwd.hu>

    • [DH] libavformat/mpegts.c
    • [DH] libavformat/mpegts.h
    • [DH] libavformat/mpegtsenc.c
  • Unable to find correct bash syntax for comparing numbers

    17 octobre 2024, par kali

    Part of a long script I'm simply trying to compare two numbers, one is constant and the other one is retrieved via ffprobe (The 474 in the error messages is the height found by ffprobe)

    &#xA;

    CURRENT_RES=$(ffprobe -v quiet -select_streams v:0 -show_entries stream=height -of csv=s=x:p=0 "${fn}")&#xA;  if [[ $CURRENT_RES -gt 1080 ]]; then&#xA;    echo "leaving preset normal"&#xA;    SLOW_PRESET=("" "")&#xA;  else&#xA;    echo "setting preset to slow"&#xA;    SLOW_PRESET=(-preset slow)&#xA;  fi;&#xA;

    &#xA;

    produces :

    &#xA;

    /usr/local/bin/startScreen.sh: line 95: [[: 474&#xA;&#xA;474: syntax error in expression (error token is "474")&#xA;setting preset to slow&#xA;

    &#xA;

    I also tried arithmetic operators like :

    &#xA;

      if (($CURRENT_RES>1080)); then&#xA;    echo "leaving preset normal"&#xA;    SLOW_PRESET=("" "")&#xA;  else&#xA;    echo "setting preset to slow"&#xA;    SLOW_PRESET=(-preset slow)&#xA;  fi;&#xA;

    &#xA;

    got a slightly different, but essentially same error message like :

    &#xA;

    /usr/local/bin/startScreen.sh: line 95: ((: 474&#xA;&#xA;474>1080: syntax error in expression (error token is "474>1080")&#xA;setting preset to slow&#xA;

    &#xA;

    What's even more baffling is there 15 lines below this block there is another comparison which works perfectly fine !

    &#xA;

    if [[ $CURRENT_RES -gt $CONVERT_HEIGHT ]]; then&#xA;

    &#xA;

    I thought may be the inline written 1080 number is confusing the if expression so I tried assigning 1080 to variable and reusing it, which changed nothing.

    &#xA;

    edit : (dropping this here in case someone else falls into same mistake)&#xA;following up on Shawn's advice from comments using cat -v showed 474 was repeated twice.&#xA;For debugging purposes ran :

    &#xA;

    ffprobe -v quiet -select_streams v:0 -show_entries stream=height -of json "filename.mp4"&#xA;

    &#xA;

    to find this weird format :

    &#xA;

    {&#xA;    "programs": [&#xA;        {&#xA;            "streams": [&#xA;                {&#xA;                    "height": 472&#xA;                }&#xA;            ]&#xA;        }&#xA;    ],&#xA;    "streams": [&#xA;        {&#xA;            "height": 472&#xA;        }&#xA;    ]&#xA;}&#xA;

    &#xA;

    finally changed the ffprobe command to :

    &#xA;

    CURRENT_RES=$(ffprobe -v quiet -select_streams v:0 -show_entries stream=height -of json "${fn}" | jq .streams[0].height)&#xA;

    &#xA;

    to resolve the issue.

    &#xA;