Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (36)

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

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

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

  • iPhone camera live steaming

    15 juin 2012, par Inder Kumar Rathore

    I have downloaded ffmpeg lib file and complied it for armv7. I added ffmpeg lib files in my project successfully. i am able to get iphone camera live streams using AVFoundation.

    Now the problem is how will i convert iphone camera streams output as a input of ffmpeg for decode ? Check my code

    - (void)captureOutput:(AVCaptureOutput *)captureOutput didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer fromConnection:(AVCaptureConnection *)connection {


    CMBlockBufferRef bufferData = CMSampleBufferGetDataBuffer(sampleBuffer);
    size_t lengthAtOffset;
    size_t totalLength; char* data;

    if(CMBlockBufferGetDataPointer(bufferData, 0, &lengthAtOffset, &totalLength, &data ) != noErr )
    NSLog(@"error !") ;

    Kindly suggested me which function of ffmpeg lib is used for decoding and how will i put CMBlockBufferRef as a input of this ??

    Thanks

  • How to make preview WEBM file limited by count of frames and duration ?

    22 juillet 2020, par eocron

    The task I want to solve :

    


      

    1. Take video file as input
    2. 


    3. Make its duration 5 seconds and take 10 frames from video evenly distributed by time, so basically a slideshow preview of entire video converted to webm file.
    4. 


    5. Conversion should be fast, size should be small, quality can be medium-horrible.
    6. 


    


    So how one can do this with ffmpeg ?

    


    Currently im trying something like this, but doesn't know how to specify duration with fps :

    


    -ss 0 -an -vf \"fps=10/VIDEO_TOTAL_SECONDS,scale=320:-1\" -loop 0 output.webm


    


    It comes out somewhat like I want, but duration stays the same as original video (so one hour, 10 frames in total, meh)

    


  • how to reencode with ffmpeg (with limited x264)

    26 mai 2012, par sarfraz

    Until now I used this script to reencode my rips for my box (tv decoder) :

    ^_^ ( ~ ) -> cat ~/++/src/convert.sh
    #! /bin/bash

    name=$(path -r "$1") # it gives the file name without the extension

    [ "$1" = *.mp4 ] && ffmpeg -i "$name".mp4 -vcodec copy -acodec copy "$name".mkv
    x264 --preset veryfast --tune animation --crf 18 --vf resize:720,576,16:15 -o "$name".tmp.mkv "$name".mkv
    mkvmerge -o "$name [freeplayer sd]".mkv "$name".tmp.mkv --no-video "$1"
    rm -rf "$name".tmp.mkv
    [ "$1" = *.mp4 ] && rm -rf "$name".mkv
    exit 0

    #EOF

    It works on my ubuntu and archlinux laptops. But it doesn’t on my desktop witch runs fedora.
    Google says that the x264 package shiped by rpmfusion doesn,t support lavf and ffms2.
    And I cannot unistall it because smplayer (witch i like) needs it.

    Ok, so I have to compile it. Google then says "you have to build ffmpeg, ffms2 tnen x264 ensuring that the flags are correctly refered." Well, didn’t work (ffms2 cannot find LIBAV - even when I am telling where - and x264 does’t configure with lavf...)

    My question is : can I use ffmpeg alone to do what my script does.
    I have ffmpeg version 0.8.11, x264 0.116.2048 59cb2eb and gcc : 4.6.1 20110804 (Red Hat 4.6.1-7)

    Any hint wound be appreciated.

    EDIT : Ok, I found that : ffmpeg -i input file -acodec copy -vcodec libx264 -preset veryfast -tune animation [that part I don’t have] output

    PS : english is not my native, plz forgive any spelling fault.