Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (85)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (7908)

  • I am trying add text and image over video using FFmpeg lib in androoid studio

    21 juin 2019, par vikram

    I am using FFmpeg lib for add text over video and add image over video but could not get successful. I am testing this one in a real device.

    I am have already tried 2 commands for add text and add image over video but could not get proper output

    String command[]={"ffmpeg","-i",inputpath,"-vf", "drawtext="+"\""+"fontfile=/sdcard/retro.ttf: text='Test Text'"+"\"",outputpath};


    String addimg[]={"ffmpeg","-i", inputpath,"-i", imagepath ,"-filter_complex", "[0:v][1:v] overlay=25:25:enable='between(t,0,10)'" ,"-pix_fmt", "yuv420p", "-c:a copy",outputpath};

    public void LoadFFmpegLibrary()
    {
       if(ffmpeg==null)
       {
           ffmpeg = FFmpeg.getInstance(MainActivity.this);
           try {
               ffmpeg.loadBinary(new LoadBinaryResponseHandler() {

                   @Override
                   public void onStart() {
                       Log.e("ffmpeg","Start to load");
                   }

                   @Override
                   public void onFailure() {
                       Log.e("ffmpeg","failed to load");
                   }

                   @Override
                   public void onSuccess() {
                       Log.e("ffmpeg","load Successfully");
                       ExcuteFfmpefLibrabry(command);
                       //    Toast.makeText(MainActivity.this,"Success",Toast.LENGTH_LONG).show();
                   }

                   @Override
                   public void onFinish() {
                       Log.e("ffmpeg","failed to load");
                   }
               });
           } catch (FFmpegNotSupportedException e) {
               // Handle if FFmpeg is not supported by device
               Log.e("ffmpeg",e.toString());
           }

       }


    }

    public void ExcuteFfmpefLibrabry(String command[])
    {

       ffmpeg = FFmpeg.getInstance(MainActivity.this);
       try {
           // to execute "ffmpeg -version" command you just need to pass "-version"
           ffmpeg.execute(command, new ExecuteBinaryResponseHandler() {

               @Override
               public void onStart() {
                   Log.e("ffmpeg","Exaction Start");
               }

               @Override
               public void onProgress(String message) {}

               @Override
               public void onFailure(String message) {
                   Log.e("ffmpeg","failed to Excute Command");
                   Log.e("ok",message);
               }

               @Override
               public void onSuccess(String message) {
                   Log.e("ffmpeg","Video Edited Successfully");
                   Log.e("ok",message);
                   // ExcuteFfmpefLibrabry(tetxcommand);
                   Toast.makeText(MainActivity.this,"Success",Toast.LENGTH_LONG).show();

               }

               @Override
               public void onFinish() {

               }
           });
       } catch (FFmpegCommandAlreadyRunningException e) {
           Log.e("ffmpeg",e.toString());
       }
    }

    Unable to find a suitable output format for ’ffmpeg’
    ffmpeg : Invalid argument

    I am getting an error ---> Unable to find a suitable output format for 'ffmpeg' ffmpeg: Invalid argument

  • C# - Animated text in video

    5 juillet 2016, par Nabeel Zafar

    I have a video and I want to add text on it on certain time and with certain animations.

    I just need to know the method to do this or just the technology name (some tips would be great).

    So far I found the FFMPEG library, it is very good for many video related stuff but not for animating text in video. I also tried many nuget libraries but could not get anything related.

    Text animations I need includes fade, bounce,movement ,flip

    ANY kind of help will really be appreciated.

  • How to increase line-height of text using drawtext with FFMPEG ?

    21 octobre 2020, par Romualdo Arrechea Hernández

    I'm using the current code to create a video with some text of several lines. When executed I'm receiving a video with the text joined vertically because of lacking space. How do I do to add line-height space ?

    



    ffmpeg -i videoInput.mp4 \
       -vf drawtext="./font/Roboto/Roboto-Bold.ttf: \
           text='testing text \ntesting text \ntesting text':\
           fontcolor=yellow:\
           fontsize=36:\
           box=1:\
           boxcolor=black@0.5: \
           boxborderw=160:\
           x=(w-text_w)/2:\
           y=(h-text_h)/2"\
    -codec:a copy \
    videoOutput.mp4