Recherche avancée

Médias (1)

Mot : - Tags -/berlin

Autres articles (89)

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

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (11796)

  • vdpau : Do not #include vdpau_x11.h from the main vdpau header

    8 décembre 2016, par Diego Biurrun
    vdpau : Do not #include vdpau_x11.h from the main vdpau header
    

    That header should only be included in the special bits that use X11 code.

    • [DBH] libavcodec/vdpau.h
  • ffmpeg Exception : Working Directory : null Environment : null

    13 décembre 2016, par Dylan

    Creating the Android app, I am trying to crop video using ffmpeg library and store it in the app directory. I created the command :

    String command = "ffmpeg -i /storage/emulated/0/DMC/diamondVideo.mp4 -vf crop=471:592:162:462 -c:a copy /storage/sdcard0/DMC/diamondVideoCropped.mp4";
    String[] cmd = command.toString().split(" ");

    After that I pass this command to the AsyncTask :

    new CropVideoTask().execute(cmd);

    And in my AsyncTask I execute this command :

    private class CropVideoTask extends AsyncTask {
    protected Void doInBackground(String[]... cmd) {
      FFmpeg ffmpeg = FFmpeg.getInstance(getContext());
      try {
          ffmpeg.execute(cmd[0], new ExecuteBinaryResponseHandler() {

              @Override
              public void onStart() {}

              @Override
              public void onProgress(String message) {}

              @Override
              public void onFailure(String message) {}

              @Override
              public void onSuccess(String message) {}

              @Override
              public void onFinish() {}

          });
      } catch (FFmpegCommandAlreadyRunningException e) {
          // Handle if FFmpeg is already running
      }
      return null;
    }

    After the code enters in onStart method, it throw an Exception :

    12-13 15:43:02.832 28941-32324/com.example.dmc E/FFmpeg: Exception while trying to run: [Ljava.lang.String;@42851b38
                                                           java.io.IOException: Error running exec(). Command: [/data/data/com.studioidan.dmc/files/ffmpeg, ffmpeg, -i, /storage/sdcard0/DMC/diamondVideo.mp4, -vf, crop=471:592:162:462, -c:a, copy, /storage/sdcard0/DMC/diamondVideoCropped.mp4] Working Directory: null Environment: null
                                                               at java.lang.ProcessManager.exec(ProcessManager.java:211)
                                                               at java.lang.Runtime.exec(Runtime.java:168)
                                                               at java.lang.Runtime.exec(Runtime.java:123)
                                                               at com.github.hiteshsondhi88.libffmpeg.ShellCommand.run(ShellCommand.java:10)
                                                               at com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:38)
                                                               at com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:10)
                                                               at android.os.AsyncTask$2.call(AsyncTask.java:287)
                                                               at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
                                                               at java.util.concurrent.FutureTask.run(FutureTask.java:137)
                                                               at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
                                                               at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
                                                               at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
                                                               at java.lang.Thread.run(Thread.java:856)
                                                            Caused by: java.io.IOException: No such file or directory
                                                               at java.lang.ProcessManager.exec(Native Method)
                                                               at java.lang.ProcessManager.exec(ProcessManager.java:209)
                                                               at java.lang.Runtime.exec(Runtime.java:168)
                                                               at java.lang.Runtime.exec(Runtime.java:123)
                                                               at com.github.hiteshsondhi88.libffmpeg.ShellCommand.run(ShellCommand.java:10)
                                                               at com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:38)
                                                               at com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:10)
                                                               at android.os.AsyncTask$2.call(AsyncTask.java:287)
                                                               at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
                                                               at java.util.concurrent.FutureTask.run(FutureTask.java:137)
                                                               at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
                                                               at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
                                                               at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
                                                               at java.lang.Thread.run(Thread.java:856)

    Manifest.xml contains premission

    Did I miss something ?

  • fftools/ffmpeg : consolidate exiting from main() on error

    14 juillet 2023, par Anton Khirnov
    fftools/ffmpeg : consolidate exiting from main() on error
    
    • [DH] fftools/ffmpeg.c