Recherche avancée

Médias (91)

Autres articles (63)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • 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 ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (11683)

  • downloading m3u8 format using ffmpeg in android

    12 juillet 2017, par M.Movaffagh

    I want to download a m3u8 hls video on android.
    i am using this https://github.com/WritingMinds/ffmpeg-android-java github project.
    my code run perfect with some file like this

    #EXTM3U
    #EXT-X-VERSION:5
    #EXT-X-STREAM-INF:BANDWIDTH=560000,RESOLUTION=560x320
    chunklist_w1370359847_b560000.m3u8
    #EXT-X-STREAM-INF:BANDWIDTH=280000,RESOLUTION=280x160
    chunklist_w1370359847_b280000.m3u8

    but when i want to get some others like

    #EXTM3U
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=307200
    http://example.com/hls.m3u8?mwk=8337411690192241322178516954798640895&s=67456834233263474843895996561490854813
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=3584000
    http://example.com/hls.m3u8?mwk=8337411690192241322178516954798640895&s=67917168793981422148373769951238010028
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2457600
    http://example.com/hls.m3u8?mwk=8337411690192241322178516954798640895&s=58718242671779879146351545392642701787
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1228800
    http://example.com/hls.m3u8?mwk=8337411690192241322178516954798640895&s=76033982771160137261725364336240341356
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=614400
    http://example.com/hls.m3u8?mwk=8337411690192241322178516954798640895&s=8799167971211576392205612488036401876
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=65536
    http://example.com/hls.m3u8?mwk=8337411690192241322178516954798640895&s=84365905843905491151101581870671639752

    , i received Protocol not found error.
    my url is http and i use bellow command

    String.format("-i %s -acodec %s -bsf:a aac_adtstoasc -vcodec %s %s", mM3u8Url, "copy", "copy", dir.toString() + "/" + mContentId + ".mp4");
  • No such file or Directory in android FFMpeg [duplicate]

    4 mai 2017, par Anil kumar

    This question is an exact duplicate of :

    Hi i am using FFMpeg for splitting recorded video files and i searched lot in google for executing FFMpeg splitting command,But no one provided me
    right solution and i am facing this issue since 3 days on words.

    I am using below code for splitting video per every 8 seconds but i am getting exception No such file or Directory,I hope some one help me

    code :

    public void executeBinaryCommand(FFmpeg ffmpeg) {

               try {

                   if (ffmpeg != null) {

               inputFileUrl=  /storage/emulated/0/1492848702.mp4;
               outputFileUrl= /storage/emulated/0/1492848702.mp4;

               String cmd[] = new String[]{"-i ",inputFileUrl+" ","-c ","copy ","-map ","0 ",
                   "-segment_time ","8 ","-f ","segment/sdcard/Download/output%03d.mp4"};

                       ffmpeg.execute(command,
                               new ExecuteBinaryResponseHandler() {

                                   @Override
                                   public void onFailure(String response) {
                                       System.out.println("failure====>" + response.toString());
                                   }

                                   @Override
                                   public void onSuccess(String response) {
                                       System.out.println("resposense====>" + response.toString());
                                   }

                                   @Override
                                   public void onProgress(String response) {
                                       System.out.println("on progress");
                                   }

                                   @Override
                                   public void onStart() {
                                       System.out.println("start");
                                   }

                                   @Override
                                   public void onFinish() {
                                       System.out.println("Finish");
                                   }
                               });
                   }
               } catch (FFmpegCommandAlreadyRunningException exception) {
                   exception.printStackTrace();
               }
  • Splitting the videos per every 8 seconds using FFMpeg in android

    4 mai 2017, par Anil kumar

    Hi i am trying to splitting the videos files per every 8 seconds using FFMpeg,I am using below code for this
    but when i run my code i am getting exception like No such file or Dictionary

    Where did i do mistack can some one suggest me please

    code :

    public void getSplitCommand(String inputFileUrl, String outputFileUrl) {

               inputFileUrl=  /storage/emulated/0/1492848702.mp4;
               outputFileUrl= /storage/emulated/0/1492848702.mp4;
         ;
    String cmd[] = new String[]{"-i ",inputFileUrl+" ","-c ","copy ","-map ","0 ",
                   "-segment_time ","8 ","-f ","segment/sdcard/Download/output%03d.mp4"};
               executeBinaryCommand(fFmpeg, cmd);
           }


           /**
            * executeBinaryCommand
            *
            * @param ffmpeg
            * @param command
            */

           public void executeBinaryCommand(FFmpeg ffmpeg, String[] command) {

               try {

                   if (ffmpeg != null) {

                       ffmpeg.execute(command,
                               new ExecuteBinaryResponseHandler() {

                                   @Override
                                   public void onFailure(String response) {
                                       System.out.println("failure====>" + response.toString());
                                   }

                                   @Override
                                   public void onSuccess(String response) {
                                       System.out.println("resposense====>" + response.toString());
                                   }

                                   @Override
                                   public void onProgress(String response) {
                                       System.out.println("on progress");
                                   }

                                   @Override
                                   public void onStart() {
                                       System.out.println("start");
                                   }

                                   @Override
                                   public void onFinish() {
                                       System.out.println("Finish");
                                   }
                               });
                   }
               } catch (FFmpegCommandAlreadyRunningException exception) {
                   exception.printStackTrace();
               }


    }