Recherche avancée

Médias (91)

Autres articles (13)

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

    1er décembre 2010, par

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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (3604)

  • Command of FFMPEG to make a video from Image(JPEG) + Audio(.mp3) & Share video in Whatsapp

    22 novembre 2018, par Neel Mevada

    I am trying to create a video .mp4 file from .mp3 audio & .jpeg image.

    I am able to make a video and able to play in Video Players in Android devices.

    But after creation of file when i tried to Share that Video in Whatsapp, at that time it shows a message "The file format not supported".

    I am using below FFMPEG Command :

    "-loop 1 -r 1 -i " + imageFilePath + " -i " + audioFilePath + " -c:v libx264 -crf 27 -tune stillimage -c:a copy -pix_fmt yuv420p -preset ultrafast -shortest " + pathOutputVideo(sectionName);

    And for Sharing video , i am using below Code :

     MediaScannerConnection.scanFile(ShareQuestionAudioActivity.this, new String[]{FfmpegController.pathOutputVideo(qModel.getSectionName().toUpperCase().replaceAll(" ", "_"))},
                   null, new MediaScannerConnection.OnScanCompletedListener() {
                       public void onScanCompleted(String path, Uri uri) {
                           Intent shareIntent = new Intent(android.content.Intent.ACTION_SEND);
                           shareIntent.setType("video/*");
                           shareIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse(FfmpegController.pathOutputVideo(qModel.getSectionName().toUpperCase().replaceAll(" ", "_"))));
                           startActivity(Intent.createChooser(shareIntent, "Share Question"));
                       }
                   });

    From this Link I found that i need to use H264 + AAC. but still not able to share video with supported file format

  • Share the utf8 to wchar conversion routine between lavf and lavu

    25 novembre 2014, par Martin Storsjö
    Share the utf8 to wchar conversion routine between lavf and lavu
    

    This doesn’t add any dependency on library internals, since this
    only is a static inline function that gets built into each of the
    calling functions - this is only to reduce the code duplication.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] libavformat/os_support.h
    • [DH] libavutil/file_open.c
    • [DH] libavutil/wchar_filename.h
  • Android, Share library dependency

    2 février 2012, par NadavRub
    1. I am Implementing an application that is using LibAv/ffmpeg on Android
    2. I am using JNI to interact with the Native code
    3. my 'Shared Lib' is using libswscale.so, libavutil.so, libavformat.so, libavdevice.so, libavcore.so and libavcodec.so.
    4. All the 'Shared Libs' are verified to be packed to the same directory on the APK file
    5. I am debugging on the device ( no emulator )
    6. Runtime.loadLibrary($MY_LIB_NAME) trigger an UnsatisfiedLinkError exception
    7. Directly running 'System.loadLibrary("swscale")' also cause an UnsatisfiedLinkError exception

    My guess is that libav*.so is dependent on additional libs that should be added to the APK, however, I am not sure how to detect these.
    Is there any tool to detect dependent Shared libraries ? ( Window ddepends equivalent ) ?

    Any help will be appreciated.

     Nadav