Recherche avancée

Médias (0)

Mot : - Tags -/api

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

Autres articles (65)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

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

  • Android - Choosing between MediaRecorder, MediaCodec and Ffmpeg

    26 novembre 2018, 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.

  • 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.

  • 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);
       }
    }