Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (72)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

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

  • How to compress the video using of ffmpeg

    8 janvier 2016, par New Developer

    Hi I am trying to capture the video and compress the video using of ffmpeg and upload to server.

    I am trying like this :

    private void compress(String path,String storePath){
           System.out.println("path==> "+path);
           System.out.println("storePath==> "+storePath);
            final Clip clip_in = new Clip(path);

            Activity activity = (Activity) VideocameraActivity.this;
            File fileTmp = activity.getCacheDir();
            File fileAppRoot = new File(activity.getApplicationInfo().dataDir);

            final Clip clip_out = new Clip(storePath);
            //put flags in clip
            clip_out.videoFps = "30";
            clip_out.width = 480;
            clip_out.height = 320;
            clip_out.videoCodec = "libx264";
            clip_out.audioCodec = "copy";

            try {
                FfmpegController fc = new FfmpegController(this, fileAppRoot);
                fc.processVideo(clip_in, clip_out, false, new ShellUtils.ShellCallback() {

                    @Override
                    public void shellOut(String shellLine) {
                        System.out.println("MIX> " + shellLine);
                    }

                    @Override
                    public void processComplete(int exitValue) {

                        if (exitValue != 0) {
                            System.err.println("concat non-zero exit: " + exitValue);
                            Log.d("ffmpeg","Compilation error. FFmpeg failed");
                            Toast.makeText(VideocameraActivity.this, "result: ffmpeg failed", Toast.LENGTH_LONG).show();
                        } else {
                            if(new File( "/storage/emulated/0/Developer/result2.mp4").exists()) {
                                Log.d("ffmpeg","Success file:"+ "/storage/emulated/0/Developer/result2.mp4");
                            }
                        }
                    }
                });
            } catch (FileNotFoundException e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
            } catch (IOException e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
            } catch (InterruptedException e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
            } catch (Exception e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
            }

       }

    I downloaded the lib from this site.

    Now I am getting this error :-

    Exit Value :- 11

    /data/data/com.androidexample.camera/app_bin/ffmpeg -y -i /file:/mnt/sdcard/Pictures/MyCameraVideo/VID_20160108_220044.mp4 -s 480x320 -r 30 -vcodec libx264 -acodec copy /file:/mnt/sdcard/Pictures/VideoCompress/VID_20160108_220045.mp4

    Path print like this :-

    path==>  file:///mnt/sdcard/Pictures/MyCameraVideo/VID_20160108_222223.mp4

    storePath==> file:///mnt/sdcard/Pictures/VideoCompress/VID_20160108_222224.mp4

    Please help me to compress the video.

  • Video composition

    16 avril 2016, par Perry Davies

    I am trying to recover some pictures from an old movie. However when I pause the movie not all of the picture is complete. My question - is there some software or method I can use to take some of the video frames and compress them into a single image that I can then use to print a picture from ?

    Hope someone can help

  • Core : Trigger success on optional but have other successful validators

    14 janvier 2014, par DelvarWorld
    Core : Trigger success on optional but have other successful validators
    

    The comment in the code itself says "when there are no other rules" but does
    nothing to enforce that comment.

    Fixes gh-851
    Closes gh-852