Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (103)

  • D’autres logiciels intéressants

    12 avril 2011, par

    On ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
    La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
    On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
    Videopress
    Site Internet : (...)

  • 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 (5939)

  • Recording video using ffmpeg in android

    11 janvier 2017, par Vishal Ghorpade

    i was studying ffmpeg for android library,was unable to understand a part of the code.

    public void onPreviewFrame(byte[] data, Camera camera)
    {
       if (audioRecord == null || audioRecord.getRecordingState() != AudioRecord.RECORDSTATE_RECORDING)
       {
            startTime = System.currentTimeMillis();
            return;
       }

       if (RECORD_LENGTH > 0) {
           int i = imagesIndex++ % images.length;
           yuvImage = images[i];
           timestamps[i] = 1000 * (System.currentTimeMillis() - startTime);
       }

    //till here i was able to understand but the first statement is for what purpose?

       /* get video data */
       if (yuvImage != null && recording) {
           ((ByteBuffer)yuvImage.image[0].position(0)).put(data);
       }
    }
  • Recording video using ffmpeg in android

    12 juin 2017, par Vishal Ghorpade

    i was studying ffmpeg for android library,was unable to understand a part of the code.

    public void onPreviewFrame(byte[] data, Camera camera)
    {
       if (audioRecord == null || audioRecord.getRecordingState() != AudioRecord.RECORDSTATE_RECORDING)
       {
            startTime = System.currentTimeMillis();
            return;
       }

       if (RECORD_LENGTH > 0) {
           int i = imagesIndex++ % images.length;
           yuvImage = images[i];
           timestamps[i] = 1000 * (System.currentTimeMillis() - startTime);
       }

    //till here i was able to understand but the first statement is for what purpose?

       /* get video data */
       if (yuvImage != null && recording) {
           ((ByteBuffer)yuvImage.image[0].position(0)).put(data);
       }
    }
  • Android - Choosing between MediaRecorder, MediaCodec and Ffmpeg

    15 mars 2017, par Rohan Stark

    I am working on a video recording and sharing application for Android. The specifications of the app are as follows :-

    • Recording a 10 second (maximum) video from inside the app (not using the device’s camera app)
    • No further editing on the video
    • Storing the video in a Firebase Cloud Storage (GCS) bucket
    • Downloading and playing of the said video by other users

    From the research, I did on SO and others sources for this, I have found the following (please correct me if I am wrong) :-

    The three options and their respective features are :-

    1.Ffmpeg

    • Capable of achieving the above goal and has extensive answers and explanations on sites like SO, however
    • Increases the APK size by 20-30mb (large library)
    • Runs the risk of not working properly on certain 64-bit devices

    2.MediaRecorder

    • Reliable and supported by most devices
    • Will store files in .mp4 format (unless converted to h264)
    • Easier for playback (no decoding needed)
    • Adds the mp4 and 3gp headers
    • Increases latency according to this question

    3.MediaCodec

    • Low level
    • Will require MediaCodec, MediaMuxer, and MediaExtractor
    • Output in h264 ( without using MediaMuxer for playback )
    • Good for video manipulations (though, not required in my use case)
    • Not supported by pre 4.3 (API 18) devices
    • More difficult to implement and code (my opinion - please correct me if I am wrong)
    • Unavailability of extensive information, tutorials, answers or samples (Bigflake.com being the only exception)

    After spending days on this, I still can’t figure out which approach suits my particular use case. Please elaborate on what I should do for my application. If there’s a completely different approach, then I am open to that as well.

    My biggest criteria are that the video encoding process be as efficient as possible and the video to be stored in the cloud should have the lowest possible space usage without compromising on the video quality.

    Also, I’d be grateful if you could suggest the appropriate format for saving and distributing the video in Firebase Storage, and point me to tutorials or samples of your suggested approach.

    Thank you in advance ! And sorry for the long read.