Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (68)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

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

Sur d’autres sites (6812)

  • How do I install ffmpeg on one EC2 Amazon Linux instance that can stream a mp4 ? [closed]

    12 septembre 2020, par starpebble

    Good day. How can I install ffmpeg on an EC2 amazon linux machine that can stream a mp4 ?

    


    The goal : an ffmpeg install on EC2 Amazon Linux that can stream one mp4 to one rtmps endpoint. Then, create an integration test suite with it.

    


    Is it just me or is ffmpeg a little crippled on EC2 Amazon Linux ?

    


    Example :

    


    ffmpeg -re -i input.mp4 -c:v libx264 -b:v 6000K -maxrate 6000K -pix_fmt yuv420p -s 1920x1080 -profile:v main -preset veryfast -g 120 -x264opts "nal-hrd=cbr:no-scenecut” -acodec aac -ab 160k -ar 44100 -f flv rtmps:///app/


    


    Linux OS :

    


    Linux version 4.14.193-113.317.amzn1.x86_64 (mockbuild@koji-pdx-corp-builder-60005) (gcc version 7.2.1 20170915 (Red Hat 7.2.1-2) (GCC)) #1 SMP Thu Sep 3 19:08:08 UTC 2020


    


    The stackoverflow answer to similar questions fail to install a ffmpeg that can stream.

    


    An installation script such as Install FFMPEG Library on EC2 Server fail this year.

    


    The static downloads referenced on John Van Sickle-FFmpeg Static Builds fail to stream to IVS. I tried the i686 release, my first guess for an x86_64 instance.

    


    The git source tree compiled binary fails to stream. Example : The tip of the tree isn't what I expected because the binary fails to recognize switches like -preset.

    


    I'd love to be able to explain streaming to anyone. Thanks.

    


  • Can ffmpeg trim the beginning of a video as it's written ?

    3 janvier 2024, par ttshaw1

    I'm working on an Android app where I want to keep a 30s buffer of video, and at arbitrary times save it. I have a few requirements :

    


      

    • I want to make sure I don't miss or duplicate any frames. So I think periodically starting and stopping recording won't work
    • 


    • I found that simultaneously encoding two video streams puts my CPU under a lot of strain, so I want to avoid doing that
    • 


    • I don't want to store a ring buffer of 30s worth of frames in memory as that'll require too much memory. So I think I need to encode them to a video file on disk as they come in. (though I'm realizing maybe I could write the frames to disk and encode them when I have a 30s buffer I want to keep)
    • 


    


    This all leads me to think the best solution would be something like a typical camera app where a video is written to an mp4 file as it's recorded. But to keep the filesize reasonable, I'd like to have the output file continuously trimmed to the last 30s, plus or minus a keyframe interval.

    


    I know that ffmpeg can do that for a video that's not being currently written. But I don't know if something about the format of an mp4 would prevent doing that for a video that is being written. For example, if an mp4 was essentially a series of bitmaps with timestamps, I'd think it's easy for ffmpeg to chop off some number of frames at the beginning while the camera API is writing frames to the end. Is there anything about the mp4 format that makes it too complicated to do that in practice ? Or is this a question that depends on the camera API's implementation ?

    


  • FFmpeg : Is it better to make a application then using ffmepg directly

    14 juillet 2020, par Mirabeau

    For all my IP camera streams, I use, under Linux, ffmpeg by a bash script which allows me at the same time to manage :

    


    1/ Convert the RTSP streams to HTTP (HLS) for the "Live" and therefore which generates "m3u8" file and *.ts segments

    


    2/ Backup the stream for archiving (in increments of 5 minutes), a cron remove older files (xx days)

    


    ffmpeg -i "rtsp://[IP_CAM01]" -rtsp_transport tcp -c copy -map 0 -f segment -segment_time 300 -segment_atclocktime 1 -segment_format mkv "cam01-% 03d.mkv" -c copy -f segment -segment_list cam01.m3u8 -segment_list_flags + live -segment_time 2 -segment_list_size 20 -segment_wrap 20 cam01-% 03d.ts


    


    The question I ask myself, and the reason for this message is as follows :

    


      

    • would there be an interest (memory / cpu / speed) to develop a program (C/C++/other ?) to do the same thing by using the libraries of ffmpeg ?
    • 


    • or the "gain" and the interest would be so minimal that it is not worth the expenditure of energy and time ?
    • 


    


    I appeal to your feedback, your opinions, your tips !, and if you had leads (sample) to attack this kind of development, I am interested.

    


    Thank you very much in advance for your feedback.
(this is my fist question on stackoverflow, Champagne ! ;))