Recherche avancée

Médias (0)

Mot : - Tags -/auteurs

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

Autres articles (64)

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

  • 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

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (5594)

  • avcodec/htmlsubtitles : Fixes denial of service due to use of sscanf in inner loop...

    6 février 2019, par Kevin Backhouse via RT
    avcodec/htmlsubtitles : Fixes denial of service due to use of sscanf in inner loop for handling braces
    

    Fixes : [Semmle Security Reports #19439]
    Fixes : dos_sscanf2.mkv

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

    • [DH] libavcodec/htmlsubtitles.c
  • avcodec/htmlsubtitles : Fixes denial of service due to use of sscanf in inner loop...

    6 février 2019, par Kevin Backhouse via RT
    avcodec/htmlsubtitles : Fixes denial of service due to use of sscanf in inner loop for tag scaning
    

    Fixes : [Semmle Security Reports #19438]
    Fixes : dos_sscanf1.mkv

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

    • [DH] libavcodec/htmlsubtitles.c
  • Extract number of frames without using shell-True

    26 mars 2022, par petrush

    I have the following code that extract number of frames from video :

    &#xA;

    filename = "test.mp4"&#xA;video_path = os.path.join(os.getcwd(), filename)&#xA;with open(video_path, "rb") as file:&#xA;    cmd = f&#x27;ffmpeg -i {video_path} -r 10 -q:v 3 -s 1x1 -f image2 -update 1 - >/dev/null&#x27;&#xA;    proc = sp.Popen(cmd, stdout=sp.PIPE, stderr=sp.PIPE, shell=True)&#xA;    (stdout, stderr) = proc.communicate()&#xA;&#xA;    # i.e: &#x27;frame= 2062 fps=966 q=3.0 Lsize=N/A time=00:10:34.46 bitrate=N/A dup=1049 drop=3563 speed= 297x&#x27;&#xA;    decoded = stderr.decode(&#x27;utf-8&#x27;)&#xA;    frame_count_line = decoded.splitlines()[-2]&#xA;    m = FRAME_COUNT_REGEX.search(frame_count_line)&#xA;    if m:&#xA;        print(int(m.groups()[0]))&#xA;

    &#xA;

    but because of security reasons I want to remove shell=True parameter.&#xA;Unfortunately after that the code above throws :

    &#xA;

    FileNotFoundError: [Errno 2] No such file or directory&#xA;

    &#xA;

    Please help to fix it

    &#xA;