Recherche avancée

Médias (1)

Mot : - Tags -/illustrator

Autres articles (40)

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

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

  • [FFmpeg on Windows] : help me converting a set of .png files to a video file

    31 octobre 2016, par Stefano Fedele

    Hi everybody I am on windows 10, I installed FFMpeg and I would like to use it to convert 100 .png image files into a video file.

    I am using it via the prompt, which is the Windows console, and I am struggling with the syntax (which probability comes from Linux). I set the folder in which ffmpeg.exe is contained as a windows system path as suggested on many websites and I moved the prompt to the folders in which the image files are contained which is reported here :

    cd C:\video\pnts + ag 40 nm- during-tmpyp 10-12- laser power 7mw- kinetic100- exposure time 1s- gain

    I would like to convert the image files contained in this folder into a video file, the names of those image files are reported here :

    pnts + ag 40 nm- during-tmpyp 10-12- laser power 7mw- kinetic100- exposure time 1s- gain 20 001.png

    pnts + ag 40 nm- during-tmpyp 10-12- laser power 7mw- kinetic100- exposure time 1s- gain 20 002.png

    ...

    ...

    pnts + ag 40 nm- during-tmpyp 10-12- laser power 7mw- kinetic100- exposure time 1s- gain 20 100.png

    The number of frames per second whould be 2.

    I read on internet that I should have to type something like this

    ffmpeg -i image-%03d.png video.webm

    But it looks like there are a lot of variables to consider and all the times I try to set them and run FFmpeg I get an error from the prompt.
    Is there anyone who could suggest me the proper syntax, please ?

  • How to convert jquery animation to movie or gif format ?

    19 avril 2019, par Barış Demirdelen

    How to convert jquery animation to movie or gif format ?
    Animation and screenshot functions call or too slow.
    Help me please

    Animation Function

    function resim1(){
       $("#resim-1").animate({ left: leftx}, startEffectTime1);
       ......
    }

    ScreenShot Function but too slow

    function shot(){
             html2canvas($("#main"), {
                 onrendered: function(canvas) {
                     theCanvas = canvas;
                     document.body.appendChild(canvas);
                     Canvas2Image.saveAsPNG(canvas);
                     $("#img-out").append(canvas);
                 }
             });
    }

    Call animation and screenshot functions

    $(document).ready(function() {
        resim1(); // Animate start
        setInterval(function(){ // Screenshot start
             shot();
        },500);

    });

    Bottom function call animation breaking :/

    $(document).ready(function() {
        resim1(); // Animate start
        setInterval(function(){ // Screenshot start
             shot();
        },500);

    });
  • Conversion of individual mp4 files to ts yields unexpected playback

    3 août 2021, par MorenoGentili

    I'm converting three mp4 files (h264, no audio, each with a duration of three seconds) to the mpeg-ts format like so.

    


    ffmpeg -i 1.mp4 -c copy 1.ts
ffmpeg -i 2.mp4 -c copy 2.ts
ffmpeg -i 3.mp4 -c copy 3.ts


    


    Please note : I can't combine the mp4 files beforehand. Each one has to be converted individually as shown above since they're being generated by a live recorder.

    


    Then, I manually created a .m3u8 manifest like this one, so I could play those 3 ts files in sequence :

    


    #EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-TARGETDURATION:3
#EXTINF:3,
1.ts
#EXTINF:3,
2.ts
#EXTINF:3,
3.ts
#EXT-X-ENDLIST


    


    When I run the ffplay index.m3u8 command :

    


      

    • 1.ts is played for three seconds as expected ;
    • 


    • 2.ts is played "for a split second" (maybe just a frame) ;
    • 


    • 3.ts is played for three seconds as expected.
    • 


    


    Can someone explain why 2.ts is shown for such a brief time ? When I run ffmpeg -i 2.ts, the output is correctly displaying a duration of three seconds.

    


    Input #0, mpegts, from '2.ts':
  Duration: 00:00:03.00, start: 1.480000, bitrate: 49 kb/s


    


    How can I change my mp4 -> ts conversion commands so that each file can play for their whole duration (i.e. three seconds each) ? I'd like to avoid reencoding if possible.

    


    Thank you, I'm adding a link to the three files and the manifest for completeness.