Recherche avancée

Médias (91)

Autres articles (74)

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

  • vf_setdar : make config_props work properly when called multiple times.

    18 mars 2013, par Anton Khirnov
    vf_setdar : make config_props work properly when called multiple times.
    

    Do not overwrite the variable set through AVOptions.

    • [DH] libavfilter/vf_aspect.c
  • 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

  • ffmpeg works in command line but it doesn't work well in c#

    14 août 2016, par Ahmad Ali Mukashaty

    I want to stream movie via udp so I use this command line and it works well

    ffmpeg -re -i test.mkv -q 1 -vcodec libx264 -f mpegts udp://network:port

    but I want to run this command line using c# like this :

    process = new Process();        
    process.StartInfo.FileName = "cmd.exe";
    process.StartInfo.WorkingDirectory = @"c:\FFmpegTool\bin";
    process.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
    process.StartInfo.Arguments = "/C ffmpeg.exe";
    process.Start();

    process.StartInfo.FileName = "ffmpeg";
    process.StartInfo.Arguments = "-re -i test.mkv -q 1 -vcodec libx264 -f mpegts udp://network:port";
    process.Start();

    it works but I can’t receive the stream

    why this commnand doesn’t work well when I use it in c# and what’s the different bettwen ranning command in cmd directly or using process class in c#