Recherche avancée

Médias (2)

Mot : - Tags -/rotation

Autres articles (99)

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

Sur d’autres sites (11380)

  • How to add watermark text and image on video in ffmpeg in flutter

    29 août 2022, par Jatin

    I have tried so many commands from stackoverflow and manny other resources but no any single command worked.

    


    Most of the time I got error

    


    


    Error : No such filter : 'drawtext'

    


    Error : initializing complex filters.

    


    FATAL : Invalid argument

    


    


    commands that I have used but did not work :

    


      

    • $path_of_file = input video path (most preferred .mp4)
    • 


    • $fullTemporaryPathImage = image path (can be watermarked_logo.png)
    • 


    • $fullTemporaryPath = font file path (can be .ttf , .otf) $filePath1
    • 


    • $filePath1 = output video file path (most preferred .mp4)
    • 


    


    Note : please provide path as per you directory.

    


     - ""-i $path_of_file -vf "
              "[in]drawtext=text='StackOverflow':x=(w-text_w)-(w*0.04):y=(h-text_h)-(w*0.04)[out]"
              " -codec:a copy $filePath1""
 - "Command -i $path_of_file -filter_complex drawtext=fontfile=$fullTemporaryPath:text='Hello' $filePath1"
 - "-i $path_of_file -i $fullTemporaryPathImage -filter_complex "
      "[0:v][1:v]overlay=10:10,drawtext=fontfile=fullTemporaryPath:text='Hello World':fontcolor=white@1.0:fontsize=30:y=h/2:x=0:enable='between(t,6,20)'"
      " -c:a copy -movflags +faststart output.mp4"
 - "-i $path_of_file -i $fullTemporaryPathImage -filter_complex " +
          "[0:v][1:v]overlay=10:10,drawtext=text='Hello'" +
          " -c:a copy -movflags +faststart $filePath1"
 - "-i $path_of_file -i -vf subtitle.$subtitlePath -c copy -c:s mov_text $filePath1"
 - "-i $path_of_file -i $subtitlePath -c copy -c:s mov_text $filePath1"
 - "-i $path_of_file -i $subtitlePath -c:v libx264 -ar 44100 -ac 2 -ab 128k -strict -2 -c:s mov_text -map 0 -map 1 $filePath1"
 - "-ss 00:00:15 -t 5 -i $path_of_file -vf drawtext=\"fontfile=$fullTemporaryPath:fontsize=200:fontcolor=white:box=1:boxcolor=black@0.8:x=w-tw-100:y=100: text='This'\" $filePath1"
 - "-i $path_of_file -f srt -i $subtitlePath -map 0:0 -map 0:1 -map 1:0 -c:v copy -c:a copy -c:s mov_text $filePath1"
 - "-i $path_of_file -i $fullTemporaryPathImage -filter_complex [0:v] setpts=PTS-STARTPTS [v01] [1:v] setpts=PTS-STARTPTS [gradient] color=black@0:duration=8 format=yuv420p[txtbase][txtbase][v01]scale2ref[txtbase][v01][txtbase] drawtext=fontfile=$fullTemporaryPath:text='Test':fontcolor=white:fontsize=54:shadowcolor=black@0.6:shadowx=4:shadowy=2:box=1:boxcolor=a60000@0.4:boxborderw=10:x='310':y='350' fade=t=in:st=1:d=1:alpha=1 fade=t=out:st=7:d=1:alpha=1[txt] [v01][gradient] overlay [v02] [v02][txt] overlay[outv] -c:v libx264 -profile:v main -level:v 3.1 -pix_fmt yuv420p -c:a aac -map [outv] -f mp4 -y $filePath1"
 - "-i $path_of_file -vf " +
          "drawtext=enable='between(t,12,15)':fontfile=$fullTemporaryPath:text='Test test':x=10:y=10" +
          " -acodec copy $filePath1"
 - "-i $path_of_file -i $fullTemporaryPathImage -filter_complex [0:v][1:v]overlay=5:5,drawtext=text=mytext:fontcolor=orange@1.0:fontsize=30:x=30:y=200[output] -map [output] -map 0:a -c:a copy $filePath1"
 - "-i $path_of_file -i $fullTemporaryPathImage -filter_complex [0:v][1:v]overlay=5:5,drawtext=text=mytext:fontcolor=orange@1.0:fontsize=30:x=30:y=200[v] -map [v] -map 0:a -c:a copy $filePath1"
 - "-i $path_of_file -i $path_of_file -filter_complex [0:v:0] [0:a:0] [0:v:1] [0:a:1] concat=n=2:v=1:a=1 [v][a][v]drawtext=text='SOME TEXT':x=(w-text_w):y=(h-text_h):fontfile=$fullTemporaryPath:fontsize=30:fontcolor=white[v] \-map [v] -map [a] -deinterlace \-vcodec libx264 -pix_fmt yuv420p \-acodec libmp3lame -ar 44100 -threads 6 -qscale 3 -b:a 712000 -bufsize 512k \-f $filePath1"
 - "-i $path_of_file -i $fullTemporaryPathImage -filter_complex [0:v][1:v]overlay=10:10 'drawtext=fontfile=$fullTemporaryPath:text=mytext:fontcolor=orange@1.0:fontsize=30:x=30:y=200[output]' -map [output] -c:a copy $filePath1"
 - "-i $path_of_file -i $fullTemporaryPathImage -filter_complex [0:v][1:v]overlay=5:5,drawtext=text=mytext:fontcolor=orange@1.0:fontsize=30:x=30:y=200[v] -map [v] -map 0:a -c:a copy $filePath1"
 - "hii"
 - "-i $path_of_file -vf drawtext=text='My Text':enable='between(t,20,120)': x=(w-text_h)/2: y=(h-text_h)/2: fontsize=32: fontcolor=white: box=1: boxcolor=black@0.5: boxborderw=5: -c:a copy $filePath1 "
 - "'-i $path_of_file -i $fullTemporaryPathImage -filter_complex "[0:v][1:v]overlay=5:5, drawtext="expansion=strftime:fontfile='
        '$fullTemporaryPath'
        ':fontsize=14:fontcolor=white:shadowcolor=black:shadowx=2:shadowy=1:text='
        '$dateTimeVcode'
        ':x=w-tw-10:y=8"" -pix_fmt yuv420p -crf 49 -b:a 128k -cpu-used 8 -deadline realtime -strict experimental $filePath1'"


    


    Command that is worked in IOS to overlay image on video :

    


    "-i $path_of_file -i $fullTemporaryPathImage -filter_complex \"[0:v][1:v] overlay=25:25:enable='between(t,0,20)'\" -pix_fmt yuv420p -c:a copy $filePath1"


    


  • lavc/snowenc : Expose an option to set the rc_eq expression

    7 août 2020, par Alexander Strasser
    lavc/snowenc : Expose an option to set the rc_eq expression
    

    Snow uses the ratecontrol module, but does not expose a way to set
    the rc_eq expression. The default expression, set in the ratecontrol
    module, will always be used.

    Make it possible to set rc_eq by adding an AVOption to snowenc.

    The option definition is mostly a copy from the mpegvideo common
    options definition of rc_eq (libavcodec/mpegvideo.h), with some
    minor style adjustments to be closer to the other snowenc option
    initializer expressions.

    Signed-off-by : Alexander Strasser <eclipse7@gmx.net>

    • [DH] libavcodec/snowenc.c
  • running ECSTask in IOS

    26 janvier 2017, par DecKno

    I am new to IOS platform. I have a code snippet written using JAVA API.

        AmazonECS amazonECS = new AmazonECSClient(credentials).withRegion(usWest1);          
        String command="bash /opt/run-task.sh "+"/mnt/s3/inputFile1::/mnt/s3/inputFile2"+" "+ "outputFile";

          ContainerOverride containerOverrides = new ContainerOverride().withCommand(command).withName("&lt;<container>>");
          TaskOverride overrides = new TaskOverride().withContainerOverrides(containerOverrides);
          RunTaskRequest runTaskRequest = new RunTaskRequest().withCluster("&lt;<cluster>>").withTaskDefinition("&lt;<task definition="definition" arn="arn">>")
                  .withOverrides(overrides).withGeneralProgressListener(new ProgressListener() {

                   @Override
                   public void progressChanged(ProgressEvent progressEvent) {
                       System.out.println(progressEvent.getBytesTransferred());
                       System.out.println(progressEvent.getEventType());
                   }
               });


          Task task = new Task().withTaskDefinitionArn("&lt;<task definition="definition" arn="arn">>")
                           .withOverrides(overrides);

           RunTaskResult runTaskResult = amazonECS.runTask(runTaskRequest).withTasks(task);
           List<failure> failures = runTaskResult.withTasks(task).getFailures();
    </failure></task></task></cluster></container>

    I am using ffmpeg to merge few video files as single file. I need to know if there is equivalent functionality available in IOS.