Recherche avancée

Médias (5)

Mot : - Tags -/open film making

Autres articles (74)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

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

  • How can I watch my video from a sdp file ?

    7 avril 2019, par Marco Peca

    I’m using ffmpeg to create a streaming. It works fine. I have a server and with ffplay I can watch my stream.
    My only (big) constraint is real time.

    I have to embed it into an HTML page accessible from mobile devices.
    I tried with HTML5 video tag but I can’t include sdp files into it.

    With ffmpeg I create a stream from my webcam. I have also created the sdp file but in HTML5 doesn’t work.

    The code is here :

    ffmpeg server :

    sudo ffmpeg -re -f video4linux2 -i /dev/video0 -fflags no buffer rtp://224.10.20.30:20000

    file.sdp

    v=0
    o=- 0 0 IN IP4 127.0.0.1
    s=No Name
    c=IN IP4 224.10.20.30
    t=0 0
    a=tool:libavformat 55.7.100
    m=video 20000 RTP/AVP 96
    b=AS:200
    a=rtpmap:96 MP4V-ES/90000
    a=fmtp:96 profile-level-id=1

    ffplay : (It works)

    ffplay file.sdp

    How can I view the stream in a browser ?

  • FFmpeg adding image watermark to video process is very slow

    22 juin 2024, par Tushar Lathiya

    I am adding image watermark to video with help of FFmpeg but FFmpeg takes an inordinate amount of time with the below command-

    



    String[] cmd = {"-i",videoPath, "-i", waterMark.toString(),"-filter_complex","overlay=5:5","-codec:a", "copy", outputPath};


    



    so i tried another command which was little bit faster but increase output file size(which i do not want)

    



    String[] cmd = {"-y","-i", videoPath, "-i", waterMark.toString(), "-filter_complex", "overlay=5:5", "-c:v","libx264","-preset", "ultrafast", outputPath};


    



    Some one please explain to me how to increase the speed of FFmpeg watermarking speed without increasing the size of output.
 Thanks.

    


  • How do I stop watermarking videos with this ffmpeg command line ?

    26 juillet 2019, par D. Messier

    I’m trying to remove the code that adds a watermark to some of our videos, but can’t find the correct solution

    Working with pre-existing code. I am unfamiliar with bash and ffmpeg. We are trying to remove the code that adds a watermark to certain videos. There are plenty of examples on how to add the watermark. But using them to figure out how to remove it has been unsuccessful.

    Original Code

    FFREPORT=file=$folder/ffmpeg.log:level=40 ~/tools/ffmpeg/ffmpeg -ss $startTime -i $folder/0 -i assets/watermark.png -filter_complex "[0:v]scale='if(gt(iw,ih),$size1w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size1h)'[bg];[bg][1:v]overlay=20:(main_h-overlay_h-20),split=5[in1][in2][in3][in4][in5];[in1]scale='if(gt(iw,ih),$size1w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size1h)'[out1];[in2]scale='if(gt(iw,ih),$size2w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size2h)'[out2];[in3]scale='if(gt(iw,ih),$size3w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size3h)'[out3];[in4]scale='if(gt(iw,ih),$size4w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size4h)'[out4];[in5]scale='if(gt(iw,ih),$size4w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size4h)'[out5]" \

    Attempted Change

    I removed -i assets/watermark.png and [bg];[bg][1:v]overlay=20:(main_h-overlay_h-20),

    FFREPORT=file=$folder/ffmpeg.log:level=40 ~/tools/ffmpeg/ffmpeg -ss $startTime -i $folder/0 -filter_complex "[0:v]scale='if(gt(iw,ih),$size1w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size1h)';split=5[in1][in2][in3][in4][in5];[in1]scale='if(gt(iw,ih),$size1w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size1h)'[out1];[in2]scale='if(gt(iw,ih),$size2w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size2h)'[out2];[in3]scale='if(gt(iw,ih),$size3w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size3h)'[out3];[in4]scale='if(gt(iw,ih),$size4w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size4h)'[out4];[in5]scale='if(gt(iw,ih),$size4w,trunc(oh*a/2)*2)':'if(gt(iw,ih),trunc(ow/a/2)*2,$size4h)'[out5]" \

    The error I’m getting is

    Cannot find a matching stream for unlabeled input pad 0 on filter Parsed_split_1