Recherche avancée

Médias (91)

Autres articles (27)

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

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

  • NSTask and FFMpeg losing output

    16 novembre 2011, par Morgan

    I'm trying to call ffmpeg from NSTask in objective-c. I execute the ffmpeg command in terminal and it works flawlessly every time. I make the same command using NSTask, and it never gives me the whole output. It cuts it off half way through the output, at a seemingly random spot every time. Here is my code.

       - (void)applicationDidFinishLaunching:(NSNotification *)aNotification
    {
       NSString* ffmpegPath = [[NSBundle mainBundle] pathForResource:@"ffmpeg" ofType:@""];
       NSString* path = @"test.mov";

       NSTask *task = [[NSTask alloc] init];
       NSArray *arguments = [NSArray arrayWithObjects: @"-i", path, nil];
       NSPipe *pipe = [NSPipe pipe];
       NSFileHandle * read = [pipe fileHandleForReading];

       [task setLaunchPath: ffmpegPath];
       [task setArguments: arguments];
       [task setStandardOutput: pipe];
       [task launch];
       [task waitUntilExit];

       NSData* data = [read readDataToEndOfFile];
       NSString* stringOutput = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding];


       NSLog(@"%@", stringOutput);
       NSLog(@"%i", [task terminationStatus]);
       NSLog(@"DONE");
    }
  • Record stream from camera to file / live stream

    8 juillet 2015, par sandman

    I’m trying to stream my camera feed to a webpage. For this I’m trying to use FFmpeg to encode the data from the camera preview and output to a file. (I’m new to this, so I’m only trying to write to a file now)

    The camera feed is captured and it starts writing to a flv file but, it freezes my app after a few seconds and the resulting flv is about half a second long.

    bos is a BufferedOutputStream which servers as an input stream for the Ffmpeg ProcessBuilder.

    When a button is clicked, the Ffmpeg process is executed and the writing begins.
    But as I said, it freezes the app after a while. I tried running the Ffmpeg process in an AsyncTask, but it keeps saying FileDescriptor closed, but the app does not freeze when I do it this way, and there is no output as well.

    Here is my onPreviewFrame() :

    public void onPreviewFrame(byte[] b, Camera c) {
       if (recording) {
           int previewFormat = p.getPreviewFormat();
           Log.v(LOGTAG, "Started Writing Frame");

           im = new YuvImage(b, previewFormat, p.getPreviewSize().width, p.getPreviewSize().height, null);
           Rect r = new Rect(0, 0, p.getPreviewSize().width, p.getPreviewSize().height);
           if (bos != null)
               im.compressToJpeg(r, 40, bos);
           im = null;

           Log.v(LOGTAG, "Finished Writing Frame");
       }
    }

    If I can get this fixed, I can probably move on to live streaming.

  • rv34 : use ff_mpeg_update_thread_context only when decoder is fully initialized

    21 août 2014, par Janne Grunau
    rv34 : use ff_mpeg_update_thread_context only when decoder is fully initialized
    

    MpegEncContext based decoders are only fully initialized after the first
    ff_thread_get_buffer() call. The RV30/40 decoders may fail before a frame
    buffer was requested. ff_mpeg_update_thread_context() fails on half
    initialized MpegEncContexts. Since this can only happen before a the
    first frame was decoded there is no need to call
    ff_mpeg_update_thread_context().

    Based on patches by John Stebbins and tested by John Stebbins.

    CC : libav-stable@libav.org

    • [DBH] libavcodec/rv34.c