Recherche avancée

Médias (0)

Mot : - Tags -/api

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

Autres articles (78)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (6510)

  • Drop local lable from ppc asm timer.

    30 juin 2013, par Carl Eugen Hoyos
    Drop local lable from ppc asm timer.
    

    The aix assembler does not support local lables.

    • [DH] libavutil/ppc/timer.h
  • Wired Out of memory : Java heap space error with ffmpeg library

    23 mai 2019, par steve moretz

    Well this is the error I get :

    Out of memory: Java heap space.
    Please assign more memory to Gradle in the project's gradle.properties file.
    For example, the following line, in the gradle.properties file, sets the maximum Java heap size to 1,024 MB:
    <em>org.gradle.jvmargs=-Xmx1024m</em>

    and it is because of :

    implementation 'nl.bravobit:android-ffmpeg:1.1.7'

    when I remove that the error gets gone.Well the error is saying increase the heap size to 1024MB and I did increase it to 10GB it’s not still working.That’s what is wired.

    org.gradle.jvmargs=-Xmx10000m

    still getting the same error.also tried this :

    <application>
    </application>

    still no chance.Please do not suggest to use an alternative library because I can’t.

  • Joining/Concatenating more than one video files in Java Spring Boot

    7 décembre 2020, par Rohan Shah

    I am trying to join/concate multiple files in Java, so far the procedure that I was following (https://github.com/bramp/ffmpeg-cli-wrapper) was going alright, but in this procedure, there were a couple of lines that I could not understand.

    &#xA;

    Code I am following :

    &#xA;

    FFmpeg ffmpeg = new FFmpeg("/path/to/ffmpeg");&#xA;FFprobe ffprobe = new FFprobe("/path/to/ffprobe");&#xA;&#xA;FFmpegBuilder builder = new FFmpegBuilder()&#xA;&#xA;  .setInput("input.mp4")     // Filename, or a FFmpegProbeResult&#xA;  .addInput("input2.mp4")    // &lt;--------------------------------  Second file that I added&#xA;  .overrideOutputFiles(true) // Override the output if it exists&#xA;&#xA;  .addOutput("output.mp4")   // Filename for the destination&#xA;    .setFormat("mp4")        // Format is inferred from filename, or can be set&#xA;    .setTargetSize(250_000)  // Aim for a 250KB file&#xA;&#xA;    .disableSubtitle()       // No subtiles&#xA;&#xA;    .setAudioChannels(1)         // Mono audio&#xA;    .setAudioCodec("aac")        // using the aac codec&#xA;    .setAudioSampleRate(48_000)  // at 48KHz&#xA;    .setAudioBitRate(32768)      // at 32 kbit/s&#xA;&#xA;    .setVideoCodec("libx264")     // Video using x264&#xA;    .setVideoFrameRate(24, 1)     // at 24 frames per second&#xA;    .setVideoResolution(640, 480) // at 640x480 resolution&#xA;&#xA;    .setStrict(FFmpegBuilder.Strict.EXPERIMENTAL) // Allow FFmpeg to use experimental specs&#xA;    .done();&#xA;&#xA;FFmpegExecutor executor = new FFmpegExecutor(ffmpeg, ffprobe);&#xA;&#xA;// Run a one-pass encode&#xA;executor.createJob(builder).run();&#xA;&#xA;// Or run a two-pass encode (which is better quality at the cost of being slower)&#xA;executor.createTwoPassJob(builder).run();&#xA;

    &#xA;

    These are the lines throwing error :

    &#xA;

    FFmpeg ffmpeg = new FFmpeg("/path/to/ffmpeg");&#xA;FFprobe ffprobe = new FFprobe("/path/to/ffprobe");&#xA;

    &#xA;

    In these lines, I am providing a path like this,

    &#xA;

    FFmpeg ffmpeg = new FFmpeg("D:/");&#xA;FFprobe ffprobe = new FFprobe("D:/");&#xA;

    &#xA;

    which leads to an error

    &#xA;

    java.io.IOException: CreateProcess error=5&#xA;

    &#xA;

    I believe the ffmpeg in /path/to/ffmpeg and ffprobe in /path/to/ffprobe are files, not directories, which is why it threw an execution permission error, but as I looked into the repository (link given above) I was not able to find this particular file in the given link.

    &#xA;

    There were a couple of Java files named ffmpeg.java and ffprobe.java, but when I tried using them in the code then I got the same error, so I want to know which files am I supposed to have in these paths

    &#xA;