Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (27)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (1633)

  • FFMPEG for iPhone recorded video encoding

    16 décembre 2011, par Sarah

    Hi found lots and lots of links for video encoding through ffmpeg 1,2,3,4 etc but they all start with using terminal commands but when i try to implement any on terminal like :

    git clone git ://github.com/lajos/iFrameExtractor.gitit says that-bash : git : command not found.

    Also as per my knowledge it is not possible to use terminal command on iPhone. Can anybody point out how to encode a video recorded through ffmpeg in mp4 format and also to reduce the size of the video ?Thanks in advance.

    EDIT :
    I am already implementing this method to resize my video and it successfully takes place and I am able to send the video on server but then on server side it's giving problem in retrieving the data and to use it.

    - (void)imagePickerController:(UIImagePickerController *)picker
    didFinishPickingMediaWithInfo:(NSDictionary *)info
    {
       [self convertVideoToLowQuailtyWithInputURL:videoURL1 outputURL:[NSURL fileURLWithPath:videoStoragePath] handler:^(AVAssetExportSession *exportSession)
        {
            if (exportSession.status == AVAssetExportSessionStatusCompleted)
            {
                NSLog(@"%@",exportSession.error);
                printf("completed\n");
            }
            else
            {
                NSLog(@"%@",exportSession.error);
                printf("error\n");
            }
        }];
    }

    - (void)convertVideoToLowQuailtyWithInputURL:(NSURL*)inputURL
                                      outputURL:(NSURL*)outputURL
                                        handler:(void (^)(AVAssetExportSession*))handler
    {
       [[NSFileManager defaultManager] removeItemAtURL:outputURL error:nil];
       AVURLAsset *asset = [AVURLAsset URLAssetWithURL:inputURL options:nil];
       AVAssetExportSession *exportSession = [[AVAssetExportSession alloc] initWithAsset:asset presetName:AVAssetExportPresetLowQuality];
       exportSession.outputURL = outputURL;
       exportSession.outputFileType = AVFileTypeQuickTimeMovie;
       [exportSession exportAsynchronouslyWithCompletionHandler:^(void)
        {
            handler(exportSession);
            [exportSession release];
        }];
    }
  • ffmpeg : add hyperlink to video ?

    15 mars 2012, par Simon

    i am experiment with ffmpeg, making videos from more images and adding watermark, some effect etc.

    What I am interested : Is it possible to embed HYPERLINK into video using ffmpeg ?

    For example, watermark or something else to be 'clickable' and to redirect to some www location ?

  • How to encode video using ffmpeg-java on Android from Bitmaps ?

    15 décembre 2011, par gtcompscientist

    I am using ffmpeg-java compiled for Android to encode/decode video for my application.

    The problem that I've run into is that I am currently getting each frame as a Bitmap (just a plain android.graphics.Bitmap) and I can't figure out how to stuff that into the encoder.

    Here is the code that I am using to instantiate all the ffmpeg libraries :

       AVCodecLibrary cLibrary = AVCodecLibrary.INSTANCE;
       cLibrary.avcodec_register_all();
       cLibrary.avcodec_init();

       AVFormatLibrary fLibrary = AVFormatLibrary.INSTANCE;
       fLibrary.av_register_all();

       //AVUtilLibrary uLibrary = AVUtilLibrary.INSTANCE;
       //uLibrary.av_malloc();

       AVCodec pCodec = cLibrary.avcodec_find_encoder(AVCodecLibrary.CODEC_ID_H263);
       if (pCodec == null)
       {
           Logging.Log("Unable to find codec.");
           return;
       }
       Logging.Log("Found codec.");


       AVCodecContext codecCtx = cLibrary.avcodec_alloc_context();
       codecCtx.bit_rate = 64000;
       codecCtx.coded_width = VIDEO_WIDTH;
       codecCtx.coded_height = VIDEO_HEIGHT;
       codecCtx.time_base = new AVRational(1, VIDEO_FPS);
       codecCtx.pix_fmt = AVCodecLibrary.PIX_FMT_YUV420P;
       codecCtx.codec_id = AVCodecLibrary.CODEC_ID_H263;
       //codecCtx.codec_type = AVMEDIA_TYPE_VIDEO;

       if (cLibrary.avcodec_open(codecCtx, pCodec) < 0)
       {
           Logging.Log("Unable to open codec.");
           return;
       }
       Logging.Log("Codec opened.");

    This is what I want to be able to execute next :

    cLibrary.avcodec_encode_video(codecCtx, pPointer, pFrame.size(), pFrame);

    But, as of now, I don't know how to put the Bitmap into the right piece or if I have that setup correctly.

    A few notes about the code :
    - VIDEO_WIDTH = 352
    - VIDEO_HEIGHT = 288
    - VIDEO_FPS = 30 ;
    - I'm unsure about how pPointer and pFrame are handled.