Recherche avancée

Médias (91)

Autres articles (76)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Les notifications de la ferme

    1er décembre 2010, par

    Afin d’assurer une gestion correcte de la ferme, il est nécessaire de notifier plusieurs choses lors d’actions spécifiques à la fois à l’utilisateur mais également à l’ensemble des administrateurs de la ferme.
    Les notifications de changement de statut
    Lors d’un changement de statut d’une instance, l’ensemble des administrateurs de la ferme doivent être notifiés de cette modification ainsi que l’utilisateur administrateur de l’instance.
    À la demande d’un canal
    Passage au statut "publie"
    Passage au (...)

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

Sur d’autres sites (5666)

  • Tools to debug a C code to locate to code that is generating a particular file [closed]

    15 septembre 2023, par Ahmed Islam

    Do we have any debugging tool that can help me identify the exact lines of code that are generating a particular file from a C code ?

    


    I am working on JM reference software for H.264 and I want to locate the code part that is generating a test_dec.yuv file.

    


    I am doing manual debugging and It is taking to much time. I have identified the points but I am not sure about them.
Please help in finding some clue or pointer that can help. (I am using MacOs)

    


  • Revision 8abd92f12f : Remove mode_skip_start and mask code for sub 8x8 This code serves no purpose in

    4 octobre 2013, par Paul Wilkins

    Changed Paths :
     Modify /vp9/encoder/vp9_rdopt.c



    Remove mode_skip_start and mask code for sub 8x8

    This code serves no purpose in the re-factored sub 8x8 code.

    Change-Id : I5364986224d1a28b71bcb046ec8557a3d14aaa47

  • ffmpeg scale logo size according to video size

    5 août 2017, par Teddybugs

    I have a ffmpeg command which is working fine to inject 2 image on the top left and bottom right of the video.

    ffmpeg -i ori.mp4 -y -i 1.png -i 2.png -filter_complex \
    "[0:v][1:v]overlay=20:20[bkg]; \
    [bkg][2:v]overlay=(main_w-overlay_w)-20:(main_h-overlay_h)-20" \
    -codec:v libx264 -crf 18 -preset slow -pix_fmt yuv420p \
    -c:a aac -strict -2 out1.mp4

    this command working fine with video that has large size like 720x480, however when the input video size is 320x240 size, it will overlay half of the video size.

    1.png size is : 160x100

    2.png size is : 341x44

    any idea how to combine the scale2ref into above command ?

    been trying solution from this link so far no luck.

    update 1 : i found this command from here

    ffmpeg -i ori.mp4 -y -i 1.png \
    -filter_complex "[1:v][0:v]scale2ref=iw*0.25:-1[logo1][base]; \
    [base][logo1]overlay=20:20[v]" -map [v] -map 0:a \
    -codec:v libx264 -crf 18 -preset slow -pix_fmt yuv420p \
    -c:a aac -strict -2 out2.mp4

    that command work fine to get one image to scale.

    update 2 :

    ffmpeg -i ori.mp4 -y -i 1.png -i 2.png \
    -filter_complex "[1:v][0:v]scale2ref=iw*0.25:-1[logo1][base];\
    [base][logo1]overlay=20:20[v];[2:v][0:v]scale2ref=iw*0.30:-1[logo2][base2];\
    [base2][logo2]overlay=(main_w-overlay_w)-20:(main_h-overlay_h)-20[v]" \
    -map [v] -map 0:a -codec:v libx264 -crf 18 -preset slow -pix_fmt yuv420p \
    -c:a aac -strict -2 out4.mp4

    tried above, nothing work. got error like this

    Filter overlay has an unconnected output

    any help would be great