Recherche avancée

Médias (1)

Mot : - Tags -/graphisme

Autres articles (37)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

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

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (6466)

  • ffmpeg live stream recording stops on stream interrupt

    3 septembre 2018, par Anton Antonov

    I have to record live stream with ffmmpeg. It is easy. Here is my command line :

    ffmpeg -i /source/address> -s 320x240 -r 25 -c:v libx264 -g 125 -vb 300000 -maxrate 400000 -bufsize 600000 -profile:v baseline -deinterlace -preset veryfast -ac 2 -ar 48000 -c:a libfdk_aac -b:a 64000 -f mp4 to/dst/file>

    But my task is to make ffmpeg to stop and exit when live stream is stopped.

    Is there easy way to do this ?

  • Is stream-format in h264 related to camera provided stream or is it more like transport thing ?

    13 janvier 2023, par rafauu

    I've got camera that produces video stream in different formats. One of them is h264 encoded stream. I use dshow along with gstreamer to acquire this stream and process it with c++ and send it also via shared memory. My question is related specifically to field stream-format in gst caps. How do I know whether it is byte-stream or avc ? Is it tightly coupled to stream produced by camera or is it like transport thing that I set with gstreamer by my own ? I work with rather complicated commercial specific pipelines that I cannot share full here. When I set in my code gst_caps_set_simple (gstCaps, "stream-format", G_TYPE_STRING, "byte-stream", nullptr); it works but I am not 100% why so I want to clarify that.

    


    I've tried checking information about this specific camera with ffmpeg but I cannot get info about stream-format. Best I got is :
ffmpeg -f dshow -list_options true -i video="nameOfCamera"

    


    (...)
vcodec=h264  min s=128x96 fps=0.015625 max s=768x480 fps=29.97
vcodec=h264  min s=128x96 fps=0.015625 max s=768x576 fps=25
vcodec=h264  min s=128x96 fps=0.015625 max s=768x480 fps=29.97
vcodec=h264  min s=128x96 fps=0.015625 max s=768x576 fps=25
vcodec=h264  min s=128x96 fps=0.015625 max s=768x480 fps=29.97
vcodec=h264  min s=128x96 fps=0.015625 max s=768x576 fps=25
vcodec=h264  min s=128x96 fps=0.015625 max s=768x576 fps=25
(...)


    


  • ffplay lose video stream from rtmp server sent by ffmpeg, only play audio stream

    1er mai 2020, par Константин Тюрин

    I run a stream like this

    



    C :\ffmpeg -rtbufsize 1000000K -re -f dshow -i video="HD Pro Webcam C920" -f dshow -i audio="Микрофон (HD Pro Webcam C920)" -s 320x240 -c:v libx264 -c:a aac -ar 44100 -ac 2 -f flv 
"rtmp ://37.143.12.233:1935/live1/stream"

    



    and play the stream like this

    



    C :\ffplay rtmp ://37.143.12.233:1935/live1/stream

    



    if I start the player first and then stream, then everything is fine, but if the stream first and then the player, then I can only hear the sound, sometimes first running is ok though, but rarely
If I send only video, everything is fine. I tryed to change audio codec settings, ffmpeg and ffplay version but it did not help. Then I tryed other players like VLC media player, and some web player https://hls-js.netlify.app/demo/ . With web player it was better, I did not lose the video, but in 9/10 cases I get eternal loading and need to click apply constantly. What I need to do so as not to lose the video stream in ffplay player and maybe problem in streaming command ? I appretiate any help.