Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (39)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

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

Sur d’autres sites (6087)

  • Fast seeking ffmpeg multiple times for screenshots

    7 mars 2017, par user3786834

    I have come across http://askubuntu.com/questions/377579/ffmpeg-output-screenshot-gallery/377630#377630, it’s perfect. That has done exactly what I wanted.

    However, I’m using remote URLs to generate the screenshot timeline. I do know it’s possible to fast seek with remote files using https://trac.ffmpeg.org/wiki/Seeking%20with%20FFmpeg (using -ss before the -i) but this only runs the once.

    I’m looking for a way to use the

    ./ffmpeg -i input -vf "select=gt(scene\,0.4),scale=160:-1,tile,scale=600:-1" \
    -frames:v 1 -qscale:v 3 preview.jpg

    command but using the fast seek method as it’s currently very slow when used with a remote file. I use PHP but I am aware that a C method exists by using av_seek_frame, I barely know C so I’m unable to implement this into a PHP script I’m writing. So hopefully, it is possible to do this directly with ffmpeg in the PHP system() function.

    Currently, I run seperate ffmpeg commands (with the -ss method) and then combine the screenshots together in PHP. However, with this method it will be refetching the metadata each time and a more optimized method would be to have it all happen in the same command line because I want to reduce the amount of requests made to the remote url so I can run more scripts in sequence with each other.

    Thank you for your help.

  • Fast seeking ffmpeg multiple times for screenshots

    14 septembre 2021, par user3786834

    I have come across https://askubuntu.com/questions/377579/ffmpeg-output-screenshot-gallery/377630#377630, it's perfect. That has done exactly what I wanted.

    



    However, I'm using remote URLs to generate the screenshot timeline. I do know it's possible to fast seek with remote files using https://trac.ffmpeg.org/wiki/Seeking%20with%20FFmpeg (using -ss before the -i) but this only runs the once.

    



    I'm looking for a way to use the

    



    ./ffmpeg -i input -vf "select=gt(scene\,0.4),scale=160:-1,tile,scale=600:-1" \
-frames:v 1 -qscale:v 3 preview.jpg


    



    command but using the fast seek method as it's currently very slow when used with a remote file. I use PHP but I am aware that a C method exists by using av_seek_frame, I barely know C so I'm unable to implement this into a PHP script I'm writing. So hopefully, it is possible to do this directly with ffmpeg in the PHP system() function.

    



    Currently, I run seperate ffmpeg commands (with the -ss method) and then combine the screenshots together in PHP. However, with this method it will be refetching the metadata each time and a more optimized method would be to have it all happen in the same command line because I want to reduce the amount of requests made to the remote url so I can run more scripts in sequence with each other.

    



    Thank you for your help.

    


  • ffmpeg - multiple output with thumbnails

    9 décembre 2016, par Thomas

    I would like ffmpeg to do the following :

    • read an input mp4 (-i movie.mp4)
    • skip the first 5 seconds (-ss 5)
    • find scene changes and display the frame numbers (-vf "select=gt(scene\, 0.4, showinfo))
    • output #1 - a gif file (output.gif)
    • output #2 - a contact sheet with all the thumbnails (-vf "select scale=320 :-1, tile=12x200" thumbnails.png)

    This will generate the thumbnails :

    ffmpeg -hide_banner -i d:/Test/movie01.mp4 -ss 5 -vf "select=gt(scene\,0.4), showinfo, scale=320:-1, tile=12x200" -vsync 0 thumbnails%03d.png

    this will generate the gif :

    ffmpeg -hide_banner -i d:/Test/movie01.mp4 -ss 5 -vf "select='not(mod(n,60))',setpts='N/(30*TB)', scale=320:-1" -vsync 0 output.gif

    I would like to do both at once with 2 more features :

    • set fps and resolution for the gif ; I would like the gif to represent the whole movie in X seconds, at Y fps (I know the duration of the input movie so I can calculate how often a frame needs to be captured)

    • set the width only for the thumbnail picture (tile=12 for example) and let ffmpeg determine the appropriate height

    I have tried to compose a command line from what I read on this page : https://trac.ffmpeg.org/wiki/Creating%20multiple%20outputs, using the split / map commands but I couldn’t get it to work