Recherche avancée

Médias (0)

Mot : - Tags -/images

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

Autres articles (93)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Les images

    15 mai 2013
  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

Sur d’autres sites (6488)

  • scale issues when adding images to a video

    27 septembre 2019, par Geo

    When I add two images to a video, the second image added is scaled down for some reason.

    I have two images arrow.png and icon1.png and one background.mp4 video, when I added the two images onto the video, the result is that the first image is added with the right size, but the second image is added with reduced size, probably in half of the specified size.

    this is my command :

    ffmpeg -i background.mp4 -i arrow.png -i icon1.png -filter_complex "[1:v]scale=311:175,setsar=1,format=bgra[img1];
    [img1]rotate=30*PI/180:c=none:ow=rotw(30*PI/180):oh=roth(30*PI/180)[rotate1];[2:v]scale=319:179,setsar=1,format=bgra[img2];
    [img2]rotate=59*PI/180:c=none:ow=rotw(59*PI/180):oh=roth(59*PI/180)[rotate2];[0][rotate1]overlay=242:-22:enable='between(t,0,6)',scale=hd720[overlay1];
    [overlay1][rotate2]overlay=34:13:enable='between(t,0,6)',scale=hd720" -c:a copy -c:v libx264 -preset ultrafast -y test01.mp4

    I am expecting the same size as the specified

  • FFmpeg scale and overlay multiple images/gif on image in android issue ?

    4 décembre 2019, par Shweta Patil

    I am trying to place multiple images/gif on image. I had tried placing single gif on image or video and its working perfectly fine but not able to work with multiple images with simultaneous scaling. Tried below code but getting error :

           String[] command=new String[13];
           command[0]="-i";
           command[1]=input;
           command[2]="-i";
           command[3]=thumbnail2;
           command[4]="-i";
           command[5]=thumbnail;
           command[6]="filter_complex";
           command[7]="[0:v]scale=0:0[base]";
           command[8]="[1:v]scale=30:-1[img1]";
           command[9]="[2:v]scale=3000:-1[img2]";
           command[10]="[base][img1]overlay=70:70[tmp1]";
           command[11]="[tmp1][img2]overlay=(main_w-overlay_w)/2:y=(main_h-overlay_h)/2[out]";

           command[12]="/storage/emulated/0/Pictures/logo-2000.gif";
           fFmpeg.execute(command,
                   new ExecuteBinaryResponseHandler() {

                       @Override
                       public void onStart() {
                           //for logcat
                           Log.w(TAG,"Cut started");
                       }

                       @Override
                       public void onProgress(String message) {
                          Log.w(TAG,message.toString());
                       }

                       @Override
                       public void onFailure(String message) {

                           Log.w(TAG,message.toString());
                           Toast.makeText(getApplicationContext(),"Error",Toast.LENGTH_SHORT).show();

                       }

                       @Override
                       public void onSuccess(String message) {

                           Log.w(TAG,message.toString());
                           Toast.makeText(getApplicationContext(),"sucessfully saved",Toast.LENGTH_SHORT).show();
                       }

                       @Override
                       public void onFinish() {

                           Log.w(TAG,"Cutting video finished");
                       }
                   });

    Error I am getting is :

    [NULL @ 0xb6591800] Unable to find a suitable output format for ’filter_complex’
    filter_complex : Invalid argument

    As I am new to ffmpeg please help me to resolve the issue I just want to scale and overlay multiple images simultaneously.

  • Scale and overlay multiple images ffmpeg android error

    27 décembre 2019, par Shweta Patil

    I am trying to place multiple images/gif on image at background.But I am not able to scale all the images before overlay.

    String[] command=new String[13];
           command[0]="-i";
           command[1]=input;
           command[2]="-i";
           command[3]=thumbnail2;
           command[4]="-i";
           command[5]=thumbnail;
           command[6]="filter_complex";
           command[7]="[0:v]scale=0:0[base]";
           command[8]="[1:v]scale=30:-1[img1]";
           command[9]="[2:v]scale=3000:-1[img2]";
           command[10]="[base][img1]overlay=70:70[tmp1]";
           command[11]="[tmp1][img2]overlay=(main_w-overlay_w)/2:y=(main_h-overlay_h)/2[out]";
           command[12]="/storage/emulated/0/Pictures/logo-2000.gif";

           fFmpeg.execute(command,
                   new ExecuteBinaryResponseHandler() {

                       @Override
                       public void onStart() {
                           //for logcat
                           Log.w(TAG,"Cut started");
                       }

                       @Override
                       public void onProgress(String message) {
                          Log.w(TAG,message.toString());
                       }

                       @Override
                       public void onFailure(String message) {

                           Log.w(TAG,message.toString());
                           Toast.makeText(getApplicationContext(),"Error",Toast.LENGTH_SHORT).show();

                       }

                       @Override
                       public void onSuccess(String message) {

                           Log.w(TAG,message.toString());
                           Toast.makeText(getApplicationContext(),"sucessfully saved",Toast.LENGTH_SHORT).show();
                       }

                       @Override
                       public void onFinish() {

                           Log.w(TAG,"Cutting video finished");
                       }
                   });

    Please help to scale the images simultaneously.
    The error I am getting is :

    [NULL @ 0xb3211e00] Unable to find a suitable output format for
    ’filter_complex’ filter_complex : Invalid argument