Recherche avancée

Médias (91)

Autres articles (27)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

Sur d’autres sites (4081)

  • Get composition time C++

    13 novembre 2019, par Andrea

    I made my own rtmp server using libav and ffmpeg. I receive as input either an flv file or an rtmp streaming "containing" an flv file.
    Since I manipulate the flv file and the relative composition time of each frame, I would like to know if there is a way to get this composition time.
    I thought that given my AVPacket, I could analyze the raw buffer in order to extract the right information since I know that the flv header is 11 bytes and then in the next 16 bytes I should find the composition time.
    But it doesn’t work.

    This is a rough example of code :

    AVPacket pkt;
    AVFormatContext *ifmt_ctx
    while(true)
    {
       AVStream *in_stream, *out_stream;

       ret = av_read_frame(ifmt_ctx, &pkt);
       //get the composite time
    }
  • How to concatenate multiple MP4 videos with FFMPEG without audio sync issues ?

    21 avril 2024, par sb3k

    I have been trying to concatenate a number of MP4 clips (h264,aac) using the FFMPEG concat protocol documented here. The clips concatenate successfully, however there are multiple errors in the logs including :

    



      

    • Non-monotonous DTS in output stream
    • 


    • Past duration too large
    • 


    



    Additionally, it seems that the audio and video go slightly out of sync as more clips are added - though it is more noticeable on certain players (Quicktime & Chrome HTML5).

    



    Here is the code I am using, any tips would be appreciated !

    



    Convert each video to temp file

    



    ffmpeg -y -i <input file="file" /> -vcodec libx264 -acodec aac -f mpegts -bsf:v h264_mp4toannexb -mpegts_copyts 1 <temp file="file"></temp>

    &#xA;&#xA;

    Concat temp files

    &#xA;&#xA;

    ffmpeg -i concat  -map 0 -vcodec copy -aprofile aac_low -acodec aac -strict experimental -cutoff 15000 -vbsf aac_adtstoasc -b:a 32k <output file="file"></output>

    &#xA;

  • How to concatenate multiple MP4 videos with FFMPEG without audio sync issues ?

    25 mars 2016, par sb3k

    I have been trying to concatenate a number of MP4 clips (h264,aac) using the FFMPEG concat protocol documented here. The clips concatenate successfully, however there are multiple errors in the logs including :

    • Non-monotonous DTS in output stream
    • Past duration too large

    Additionally, it seems that the audio and video go slightly out of sync as more clips are added - though it is more noticeable on certain players (Quicktime & Chrome HTML5).

    Here is the code I am using, any tips would be appreciated !

    Convert each video to temp file

    ffmpeg -y -i <input file="file" /> -vcodec libx264 -acodec aac -f mpegts -bsf:v h264_mp4toannexb -mpegts_copyts 1 <temp file="file"></temp>

    Concat temp files

    ffmpeg -i concat  -map 0 -vcodec copy -aprofile aac_low -acodec aac -strict experimental -cutoff 15000 -vbsf aac_adtstoasc -b:a 32k <output file="file"></output>