Recherche avancée

Médias (1)

Mot : - Tags -/lev manovitch

Autres articles (109)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (6254)

  • Concatenate multiple videos with a black screen interval into one video

    21 mars 2016, par AHC

    I am using ffmpeg to join a bunch of videos together.
    I am using the classic join ffmpeg code :

    ffmpeg -f concat -i joinlist.txt -c copy joinedfile.mp4

    but the problem is that the videos are of different formats, encodings, but the same size : all 640x480. I want to join them all and put a black screen video with no sound every other video :

    video1 + black_screen_video + video2 + black_screen_video + video3 ...

    I generated a black screen video of 2 seconds duration using :

    ffmpeg -f lavfi -i color=c=black:s=640x480:d=2 black_screen_video.mp4

    so all of the videos are of the same size : 640x480, and 25 fps but different codecs. The videos have sound, except for the black screen video.
    I can’t do anything manual, because the number of videos are around several hundred. So it has got to be an automatic way to do all this.

    When I joined them together using the above code, the resulting video does not play correctly at all.

    I know that I have to re-encode them, but how to do this to all these videos at once, with one line of code ?

    Update :
    I am already using with success this code to join them together, but only three, if I have more than one hundred, it is time consuming to write down one by one :

    ffmpeg -i vid1.avi -i vid2.avi -i vid3.avi -filter_complex "[0:v:0] [0:a:0] [1:v:0] [1:a:0] [2:v:0] [2:a:0] concat=n=3:v=1:a=1 [v] [a]" -map "[v]" -map "[a]" output.mp4

    but this is joining only the videos, not looping the black screen video. When I do with black screen, ffmpeg gives me stream matching errors.

  • ffmpeg - avcodec_decode_audio3 always returns 0 with aac decoding on android

    26 novembre 2011, par Android007

    I am writing an audio decoder based on ffmpeg for android, where I have to decode aac audio, but because of some reason it always returns 0 bytes decoded.

    Looks like I pass everything right. Can anybody tell me what went wrong in my case.I copied code from ffplay.c.
    What is the reason avcodec_decode_audio3 function always returns zero ?

    Here is the code from ffplay.c :

    AVPacket *pkt_temp = &is->audio_pkt_temp;
       AVPacket *pkt = &is->audio_pkt;
       AVCodecContext *dec= is->audio_st->codec;
       int n, len1, data_size;
       double pts;

             data_size = sizeof(is->audio_buf1);
           len1 = avcodec_decode_audio3(dec, (int16_t *)is->audio_buf1, &data_size, pkt_temp);
           if (len1 < 0) {
               pkt_temp->size = 0;
               break;
           }

          if (data_size <= 0){
                      //This block always gets executed.
               continue;
       }
  • cvCreateFileCapture always returns "NULL"

    4 août 2012, par user1553247

    I am making an iphone-app with Xcode 4.3.3 and OpenCV 2.4

    I used that "cvCreateFileCapture("simtom.mp4")" to get frame from '.mp4' file but unfortunately, cvCreateFileCapture() always returns "NULL".

    What is the problem ?

    Here is my source code.

    CvCapture *m_pMusicVideo;    

    m_pMusicVideo = cvCreateFileCapture("simtom.mp4");