Recherche avancée

Médias (1)

Mot : - Tags -/epub

Autres articles (31)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

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

  • Emballe Médias : Mettre en ligne simplement des documents

    29 octobre 2010, par

    Le plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
    Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
    D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)

Sur d’autres sites (4032)

  • How to do Slow Motion video in IOS

    17 janvier 2017, par 2vision2

    I have to do "slow motion" in a video file along with audio, in-between some frames and need to store the ramped video as a new video.

    Ref : http://www.youtube.com/watch?v=BJ3_xMGzauk (watch from 0 to 10s)

    From my analysis, I’ve found that AVFoundation framework can be helpful.

    Ref :
    http://developer.apple.com/library/ios/#documentation/AudioVideo/Conceptual/AVFoundationPG/Articles/00_Introduction.html

    Copy and pasted from the above link :

    "
    Editing
    AV Foundation uses compositions to create new assets from existing pieces of media (typically, one or more video and audio tracks). You use a mutable composition to add and remove tracks, and adjust their temporal orderings. You can also set the relative volumes and ramping of audio tracks ; and set the opacity, and opacity ramps, of video tracks. A composition is an assemblage of pieces of media held in memory. When you export a composition using an export session, it’s collapsed to a file.
    On iOS 4.1 and later, you can also create an asset from media such as sample buffers or still images using an asset writer.

    "

    Questions :
    Can I do " slow motion " the video/audio file using the AVFoundation framework ? Or Is there any other package available ? If i want to handle audio and video separately, please guide me how to do ?

    Update : : Code For AV Export Session :

    NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
       NSString *outputURL = paths[0];
       NSFileManager *manager = [NSFileManager defaultManager];
       [manager createDirectoryAtPath:outputURL withIntermediateDirectories:YES attributes:nil error:nil];
       outputURL = [outputURL stringByAppendingPathComponent:@"output.mp4"];
       // Remove Existing File
       [manager removeItemAtPath:outputURL error:nil];
       AVAssetExportSession *exportSession = [[AVAssetExportSession alloc] initWithAsset:self.inputAsset presetName:AVAssetExportPresetLowQuality];
       exportSession.outputURL = [NSURL fileURLWithPath:outputURL]; // output path;
       exportSession.outputFileType = AVFileTypeQuickTimeMovie;
       [exportSession exportAsynchronouslyWithCompletionHandler:^(void) {
           if (exportSession.status == AVAssetExportSessionStatusCompleted) {
               [self writeVideoToPhotoLibrary:[NSURL fileURLWithPath:outputURL]];
               ALAssetsLibrary *library = [[ALAssetsLibrary alloc] init];
               [library writeVideoAtPathToSavedPhotosAlbum:[NSURL fileURLWithPath:outputURL] completionBlock:^(NSURL *assetURL, NSError *error){
                   if (error) {
                       NSLog(@"Video could not be saved");
                   }
               }];
           } else {
               NSLog(@"error: %@", [exportSession error]);
           }
       }];
  • ffmpeg GIF to WebM decoding issue

    5 août 2013, par Anton Sergeev

    I'm trying to convert GIF files into WebM (ffmpeg, libvpx) and getting some strange ffmpeg behaviour.

    ffmpeg is installed on my mac from MacPorts.

    Converting with :

    ffmpeg -i srcFilename.gif -b:v 600K -qmin 0 -qmax 50 -crf 5 destFilename.webm

    if my GIF file has some frame(s) with 1-2s duration somewhere in the middle of animation like this, conversion result is fine - it's playing with the "pause" in the middle.

    But if I have GIF like this with "pause" in the last frame, ffmpeg decodes it without a delay.

    Have no idea why, spent some time reading ffmpeg manual, trying different conversion options with no success.

    Any ideas ? Thanks in advance !

  • Ramp- Slow Motion in IOS

    26 juin 2013, par 2vision2

    I have to do "ramp-slow motion" in a video file along with audio, in-between some frames and need to store the ramped video as a new video.

    Ref : http://www.youtube.com/watch?v=BJ3_xMGzauk (watch from 0 to 10s)

    From my analysis, I've found that AVFoundation framework can be helpful.

    Ref :
    http://developer.apple.com/library/ios/#documentation/AudioVideo/Conceptual/AVFoundationPG/Articles/00_Introduction.html

    Copy and pasted from the above link :

    "
    Editing
    AV Foundation uses compositions to create new assets from existing pieces of media (typically, one or more video and audio tracks). You use a mutable composition to add and remove tracks, and adjust their temporal orderings. You can also set the relative volumes and ramping of audio tracks ; and set the opacity, and opacity ramps, of video tracks. A composition is an assemblage of pieces of media held in memory. When you export a composition using an export session, it's collapsed to a file.
    On iOS 4.1 and later, you can also create an asset from media such as sample buffers or still images using an asset writer.

    "

    Questions :
    Can I "ramp-slow mote" the video/audio file using the AVFoundation framework ? Or Is there any other package available ? If i want to handle audio and video separately, please guide me how to do ?