Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (7)

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

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

Sur d’autres sites (4639)

  • avformat/mp3dec : avoid early EOF with concatenated gapless mp3s

    21 septembre 2014, par wm4
    avformat/mp3dec : avoid early EOF with concatenated gapless mp3s
    

    Consider a file created with something like :

    cat file1.mp3 file2.mp3 > result.mp3

    Then if file2.mp3 has gapless information, result.mp3 would stop playing
    something in the middle. This happens because the gapless info directs
    the decoder to discard all samples after a certain position. To make
    matters worse, the gapless info of file2.mp3 will be used when playing
    the file1.mp3 part, because the gapless info is located at the end of
    the file.

    While handling concatenated gapless files correctly would be insane and
    a lot of effort (especially without scanning the whole file on opening),
    it’s easy to prevent at least early EOF. Playback will happen to work,
    even if it’s slightly broken.

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavformat/avformat.h
    • [DH] libavformat/mp3dec.c
    • [DH] libavformat/utils.c
  • error : Argument 'Creation]/audio_section_working/1.mp3' provided as input filename, but '/e/[Content' was already specified

    16 juin 2021, par shank_fab_worker

    enter image description herePlease help me out in this problem

    &#xA;

    Use of this program :

    &#xA;

    find duration of a video and audio&#xA;

    &#xA;

    code :

    &#xA;

    loc="/e/[Content Creation]/audio_section_working/1.mp3"&#xA;echo $(ffprobe -v error -show_entries format=duration /&#xA;-of default=noprint_wrappers=1:nokey=1  $loc )&#xA;

    &#xA;

    error :

    &#xA;

    Argument &#x27;Creation]/audio_section_working/1.mp3&#x27; provided as input filename, but &#x27;/e/[Content&#x27; was already specified.&#xA;

    &#xA;

    working earlier when no path was given , when i have done git bash on the same directory in which the file was located :

    &#xA;

    echo $(ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 "1.mp3" )&#xA;

    &#xA;

    [ as u can see when i am giving path of file to find duration it is giving me error]&#xA;[ giving direct path i.e. "1.mp3" is not giving me error ]&#xA;[ giving file location path is giving error , why ? ]

    &#xA;

    img-1 location of image&#xA;img-2 code which i ran

    &#xA;

  • How to access MP4 tfhd headers

    31 juillet 2017, par Ariana

    This is a follow-up question from my previous question here. It looks like our video processing software assumes there is sample_duration flag (it is set to 1).

    So my question is how to access the default_sample_duration field in the tfhd as shown below ?

    Let’s assume I’m in the traf_box, and I need to just access the Default_sample_duration (I already found the flag is located in the tfhd_flags &amp; 0x8 from here). I just need to add a function in C++ to extract the value of this field :

    enter image description here

    void get_traf_box_index(FILE* inputFile, uint32_t traf_size, vector >&amp; moof_sample_details, vector >&amp; moof_sample_durations, vector<int>&amp; truns_sample_counts, uint32_t&amp; base_media_decode_time) {
       uint32_t read_size = 0;
       while(read_size &lt; (traf_size - 8)) {
           uint32_t box_size = read_box_size(inputFile);
           read_size += 4;

           uint32_t box_type = read_box_type(inputFile);
           read_size += 4;

           switch (box_type) {
               case TRUN_BOX_TYPE:

                   get_trun_box_index(inputFile, truns_sample_counts, moof_sample_details, moof_sample_durations);
                   read_size += (box_size-8);
                   moof_trun_count++;
                   break;

               case TFDT_BOX_TYPE:
                   get_tfdt_box_index(inputFile, base_media_decode_time);
                   read_size += (box_size-8);
                   break;

                   //TODO add tfhd
               //case TFHD_BOX_TYPE:

               default:
                   read_size += skip_n_bypes(inputFile, (box_size-8));
                   break;      
           }
       }
    }
    </int>