Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (56)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

Sur d’autres sites (7578)

  • FFmpeg android execute

    19 mai 2015, par Majid Poureftekhari

    On windows I could cut a video with below code with ffmpeg.exe

    Can’t use ffmpeg in android.
    I used gradle to grab ffmpeg in my app.

    dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.github.hiteshsondhi88.libffmpeg:FFmpegAndroid:0.2.5'
    }

    I have these lines in my method

    VideoIn = getInternalDirectoryPath() + "/Download/Ab.mp4";
    VideoOut = getInternalDirectoryPath() + "/Download/Ab1.mp4";

    try {
    ffmpeg.execute("ffmpeg -i " + VideoIn + " -ss 00:00:03 -c:v libx264 -crf 17 -t 00:00:5 " + VideoOut + " -y",null);
    }
    catch (FFmpegCommandAlreadyRunningException e) {
    e.printStackTrace();
    }

    Shows this error : Error running exec(). Command : [/data/data/com.videoeditor.myname.myapp/files/ffmpeg, ffmpeg, -i, /storage/emulated/0/Download/Ab.mp4, -ss, 00:00:03, -c:v, libx264, -crf, 17, -t, 00:00:5, /storage/emulated/0/Download/Ab1.mp4, -y] Working Directory : null Environment : null

    What’s wrong with this method ? Thanks for your help

  • Android ffmpeg command shows java.io.IOException : Error running exec()

    13 avril 2015, par Jamal

    I would like to use ffmpeg binary executable in my Android project.for this purpose I have used pre built ffmpeg Android binary from this(https://github.com/hiteshsondhi88/ffmpeg-android/releases/download/v0.3.3/prebuilt-binaries.zip) link.

    As per procedure I have to place the executable file into /data/data/com.example.rampedsample directory, here com.example.rampedsample is my project packageName.I couldn’t find this location in my device as it is un rooted.So I pasted that executable into Android emulator’s com.example.rampedsample directory using DDMS perspective.

    In my Activity used the below code

    try {
               Process p = Runtime.getRuntime().exec("/data/data/com.example.rampedsample/ffmpeg "+Environment.getExternalStorageDirectory()+"/Movies/ramp_video.mp4"
                       +" -map 0:v -codec copy "+Environment.getExternalStorageDirectory()+"/Movies/ramp_video2.mp4");


           } catch (IOException e) {
               // TODO Auto-generated catch block
               e.printStackTrace();
           }

    AndroidManifest permission

    error

    04-13 16:59:55.314: W/System.err(11387): java.io.IOException: Error running exec(). Command: [/data/data/com.example.rampedsample/ffmpeg, /mnt/sdcard/Movies/ramp_video.mp4, -map, 0:v, -codec, copy, /mnt/sdcard/Movies/ramp_video2.mp4] Working Directory: null Environment: null
    04-13 16:59:55.314: W/System.err(11387):    at java.lang.ProcessManager.exec(ProcessManager.java:211)
    04-13 16:59:55.355: W/System.err(11387):    at java.lang.Runtime.exec(Runtime.java:168)
    04-13 16:59:55.355: W/System.err(11387):    at java.lang.Runtime.exec(Runtime.java:241)
    04-13 16:59:55.355: W/System.err(11387):    at java.lang.Runtime.exec(Runtime.java:184)
    04-13 16:59:55.355: W/System.err(11387):    at com.example.rampedsample.MainActivity.onCreate(MainActivity.java:18)
    04-13 16:59:55.355: W/System.err(11387):    at android.app.Activity.performCreate(Activity.java:5008)
    04-13 16:59:55.355: W/System.err(11387):    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
  • How to pause/resume conversion of media file using ffmpeg in android

    18 décembre 2017, par venkatesh kumar

    I have successfully downloaded the media file from below command using ffmpeg in my application.
    Now I want to pause during on progress of the download and again I resume the same after some time.

    below ffmpeg command used for download and files saved successfully.

    ffmpeg -i http://xx.xx-xxxxx-x.amazonaws.com/audio-output-stg/GaumeeLava51/01Track11513330525752/01Track11513330525752.m3u8 /sdcard/videokit/sample.mp3

    Please help me with ffmpeg command and thanks in Advance.