Recherche avancée

Médias (1)

Mot : - Tags -/remix

Autres articles (98)

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

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

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

  • record every step of selenium test case to a video proplem

    16 février 2017, par user7574253

    i use pytest and selenium to test web site, i am writing a base class, every test case run should be recording to a video, so i can see the fail test case in the video and know what’s happing. below is my code

    ffmpeg_command = os.environ['ffmpeg_command']
    video_base_path = os.environ['video_base_path']


    class BaseRecordTest(BaseTest):
       def set_up_00(self, method):

           # video save path should be "base path" + "test case module path" +      "test case class" + "test case name"
           module_name = self.__module__
           if module_name == '__main__':
                filename = sys.modules[self.__module__].__file__
                module_name = os.path.splitext(os.path.basename(filename))[0]
           module_path = module_name.replace('.', '\\')
           dir_name = video_base_path + module_path
           if not os.path.exists(dir_name):
               os.makedirs(dir_name)

           video_path = dir_name + '\{}-{}.avi'.format(self.__class__.__name__,   method.__name__)

           if os.path.exists(video_path):
               os.remove(video_path)

           process = Popen(
           "{} {}".format(ffmpeg_command, video_path),
           shell=True, stdout=PIPE, stderr=PIPE)
           self.__process = process

       def tear_down_99(self, method):
           # self.__process.terminate()
           # os.killpg(self.__process.pid, signal.CTRL_C_EVENT)
           os.kill(self.__process.pid, signal.CTRL_C_EVENT)
           # terminate(self.__process)

    my system is windows 10 , i have try send signal to kill the recording process, but if use Popen terminate or kill method , the ffmpeg_command does not real stop, if send ctrl_c_event signal, video can be saved but the next test case not execute forever, so i want to ask there is a way to resolve this, that can execute each case and each case execute process can be recording to a vedio, thanks !

    ffmpeg cammand like that :

    D:\\ffmpeg-20170214-8fa18e0-win64-static\\bin\\ffmpeg -video_size 1366x768 -f gdigrab -offset_x 0 -offset_y 0 -framerate 60 -i desktop
  • Record the whole webrtc call in nodejs and stream it into rtmp

    31 juillet 2023, par Matrix 404

    I have a simple peer-to-peer video chat using PeerJS, and I want to stream the entire call to an RTMP server. Do you have any ideas on how to achieve this ? I'm particularly interested in understanding how platforms like StreamYard work on the backend.

    


    The main goal is to stream the video call to an RTMP server.

    


  • FFMPEG (BASH) Trying to record stream from IP camera, getting really bad framerates and random stuttering in video

    12 février 2017, par user2419553

    I’m trying to record an .asf from my IP camera using FFMPEG to save it as an .mp4 file every 15 minutes. The stream coming from the camera is variable, but averages at around 10 FPS. However, when I watch the output mp4, the framerate is much lower, and there is often stuttering, random frame skips, and sometimes the video freezes and doesn’t play (on VLC player).

    Is there any way I can make the recording smoother and/or have less stuttering ?

    Here is the code that I use :

    ffmpeg -i http://USER:PASSWORD@IP:PORT/videostream.asf -r 10 -vcodec copy -an -t 900 /root/Record/"$(date +"%Y_%m_%d %I.%M %p")".mp4

    Any help would be appreciated.