Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (53)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (4641)

  • avcodec/osq : avoid using too large numbers for shifts and integers in update_residue_...

    14 septembre 2023, par Michael Niedermayer
    avcodec/osq : avoid using too large numbers for shifts and integers in update_residue_parameter()
    

    Fixes : 2.96539e+09 is outside the range of representable values of type 'int'
    Fixes : Assertion n>=0 && n<=32 failed at libavcodec/get_bits.h:423
    Fixes : 62241/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_OSQ_fuzzer-4525761925873664
    Fixes : 70406/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_OSQ_fuzzer-6545326804434944

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

    • [DH] libavcodec/osq.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;

  • 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