Recherche avancée

Médias (0)

Mot : - Tags -/page unique

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

Autres articles (83)

  • Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur

    8 février 2011, par

    La visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
    Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
    Configuration de la boite multimédia
    Dès (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

Sur d’autres sites (3318)

  • FFMpeg command in android tutorial

    25 novembre 2013, par Azhagiri

    I want to write a android app that concats two videos

    i tried the following code

       InputStream in=null;
       OutputStream os=null;
       String appFileDirectory = getFilesDir().getPath();
       final String executableFilePath = appFileDirectory + "/ffmpeg";
       final String input ="concat:/mnt/sdcard/input1.mpg|/mnt/sdcrad/input2.mpg";
       File executable=new File(executableFilePath);
       try {
           in = getAssets().open("ffmpeg");
           os = new FileOutputStream(executable);
           int read = 0;
           byte[] bytes = new byte[1024];

           while ((read = in.read(bytes)) != -1) {
               os.write(bytes, 0, read);
           }


       } catch (IOException e) {
           // TODO Auto-generated catch block
           e.printStackTrace();
       }finally {
           if (in != null) {
               try {
                   in.close();
               } catch (IOException e) {
                   e.printStackTrace();
               }
           }
           if (os != null) {
               try {
                   // outputStream.flush();
                   os.close();
               } catch (IOException e) {
                   e.printStackTrace();
               }
           }
       }
       executable.setExecutable(true);
       Button b = (Button)findViewById(R.id.button);
       b.setOnClickListener(new View.OnClickListener() {
           @Override
           public void onClick(View view) {
               try {
                   Process p = Runtime.getRuntime().exec(executableFilePath + "-i \""+ input + "\" -c copy /mnt/sdcrd/output.mpg");
               } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
               }
           }
       });

    }

    this code doesn't give any error or it is not crashing but nothing happens when i click the button. I created the ffmpeg build that is compatible with android. So can anyone help me out how to run the command from android java code.

  • Revision 40963 : Il pouvait y avoir un problème de double déclaration si inc/vieilles_defs ...

    21 septembre 2010, par marcimat@… — Log

    Il pouvait y avoir un problème de double déclaration si inc/vieilles_defs était chargé avant cet inclure. (klaus) [todo] Il faudrait mettre ce fichier inc/barre uniquement pour SPIP 2.1…

  • ffmpeg "filtergraph join" to use copy of channels and preserve input channel configuration (format - s32_le)

    29 avril 2020, par vishwanath patil

    Command that I am using is below, with that command I am getting 8 channel output.wav.

    



    ffmpeg.exe    -i one.wav -i two.wav -i three.wav -i four.wav \
-i five.wav -i six.wav -i seven.wav -i eight.wav \
-filter_complex '[0:0][1:0][2:0][3:0][4:0][5:0][6:0] \
[7:0]join=8:channel_layout=octagonal'  output.wav


    



    All input files one.wav, two.wav so on eight.wav are 32khz,s32le and one channel. but, output generated is output.wav which is s16le, 32khz.

    



    I can make output s32le with below command,

    



    ffmpeg.exe -i one.wav -i two.wav -i three.wav -i four.wav \
-i five.wav -i six.wav -i seven.wav -i eight.wav \
-filter_complex '[0:0][1:0][2:0][3:0][4:0][5:0][6:0] \
[7:0]join=8:channel_layout=octagonal'  -acodec pcm_s32le output.wav


    



    But, above command seems todo conversion from s16_le to s32_le (i.e one.wav doesn't match with output.wav first channel completely). However what I want is to directly copy data from input channels since audio format of all input files is same as expected audio format of output file channels (output.wav)

    



    is there way to instruct filter_graph todo processing at pcm_s32le ?

    



    Here is link to log with loglevel set to debug,
https://pastebin.com/ms4x1fLz

    



    MediaInfo.exe one.wav
General
Complete name                            : one.wav
Format                                   : Wave
File size                                : 6.50 MiB
Duration                                 : 53 s 280 ms
Overall bit rate mode                    : Constant
Overall bit rate                         : 1 024 kb/s

Audio
Format                                   : PCM
Format settings                          : Little / Signed
Codec ID                                 : 1
Duration                                 : 53 s 280 ms
Bit rate mode                            : Constant
Bit rate                                 : 1 024 kb/s
Channel(s)                               : 1 channel
Sampling rate                            : 32.0 kHz
Bit depth                                : 32 bits
Stream size                              : 6.50 MiB (100%)