Advanced search

Medias (0)

Tag: - Tags -/diogene

No media matches your criterion on the site.

Other articles (68)

  • List of compatible distributions

    26 April 2011, by

    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 (...)

  • Les tâches Cron régulières de la ferme

    1 December 2010, by

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Publier sur MédiaSpip

    13 June 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

On other websites (8868)

  • libavcodec: MIPS: MMI: Move sp out of the clobber list

    18 July 2020, by Jiaxun Yang
    libavcodec: MIPS: MMI: Move sp out of the clobber list
    

    GCC complains:
    warning: listing the stack pointer register ‘$29’ in a clobber
    list is deprecated [-Wdeprecated]

    Actually stack pointer was restored at the end of the inline assembly
    so there is no reason to add it to the clobber list.

    Also use $sp insted of $29 to make our intention much more clear.

    Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
    Reviewed-by: Shiyou Yin <yinshiyou-hf@loongson.cn>
    Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/mips/h264dsp_mmi.c
  • lavf/hls: add AC-3/EAC-3 to allowed extensions file list

    25 September 2020, by Jun Zhao
    lavf/hls: add AC-3/EAC-3 to allowed extensions file list
    

    Add AC-3/EAC-3 to allowed extensions file list.

    From HTTP Live Streaming 2nd Edition draft-pantos-hls-rfc8216bis-07
    section 3.1.3.Packed Audio, HLS demuxer need to support MP3/AC-3/EAC-3.

    Reviewd-by: Steven Liu <liuqi05@kuaishou.com>
    Signed-off-by: Jun Zhao <barryjzhao@tencent.com>

    • [DH] libavformat/hls.c
  • Calling ffmpeg from command line does not wait until file was fully written do hard drive

    10 October 2020, by Stefan Falk

    I am currently working on a service to allower conversion of audio files. I am using ffmpeg under the hood and use the Runtime in order to make the call.

    &#xA;

    After the call I read the converted file and upload it to a cloud storage.

    &#xA;

    The problem:

    &#xA;

    The problem is, that reading the file back from the drive gives me only a few bytes. After investigating, it actually has like 5 MB on the drive but readFileToByArray() reads only a few kb. I assume this is because the file was not completely persisted at the point where I want to read it back.

    &#xA;

    Is there any way I can make sure that ffmpeg is done writing to the hard drive? It seems that the main process that ffmpeg was running in finishes before a parallel process that is responsible for writing. Maybe?

    &#xA;

    Below is the relevant code that converts an arbitrary file to AAC-format:

    &#xA;

    File tempFile = File.createTempFile("input-", ".tmp", new File("/tmp"));&#xA;OutputStream outStream = new FileOutputStream(tempFile);&#xA;outStream.write(bytes);&#xA;&#xA;String convertedFilePath = String.format("/tmp/output-%s.aac", UUID.randomUUID().toString());&#xA;&#xA;String command = String.format(&#xA;        "ffmpeg -i %s -c:a aac -b:a 256k %s",&#xA;        tempFile.getAbsolutePath(),&#xA;        convertedFilePath&#xA;);&#xA;&#xA;LOGGER.debug(String.format("Converting file to AAC; Running %s", command));&#xA;&#xA;Runtime runtime = Runtime.getRuntime();&#xA;Process process = runtime.exec(command);&#xA;try {&#xA;    process.waitFor(200, TimeUnit.MILLISECONDS);&#xA;} catch (InterruptedException e) {&#xA;    throw new RuntimeException("Time out");&#xA;}&#xA;&#xA;File convertedFile = new File(convertedFilePath);&#xA;byte[] result = FileUtils.readFileToByteArray(convertedFile);&#xA;&#xA;// Upload "result" to cloud storage ..&#xA;

    &#xA;