
Recherche avancée
Autres articles (23)
-
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP 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 (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (4296)
-
RTSP Stream Recording using FFMPEG
9 juillet 2022, par Shanavas K Abdul RahmanI am not in to scripting. It would be really helpful if someone can help with a bash or python script on Raspbian v5 for my below requirement.


I am trying to locally record
Eufy
Cam human detection usingffmpeg
. I have managed to find the command to fetch the stream which isffmpeg -hide_banner -y -loglevel verbose -rtsp_transport tcp -use_wallclock_as_timestamps 1 -i rtsp://192.168.xx.xx/live0 -vcodec copy -acodec copy -f segment -reset_timestamps 1 -segment_time 900 -segment_format mkv -strftime 1 "/media/pi/hdd/cam_name/camname$(date +"%Y-%m-%d-%H-%M-%S").mkv
.

Since these are battery operated cameras I cannot stream continuously. Camera generates stream only when it detects human as per my camera configuration. So when there is no human presence,
ffmpeg
return error "404 Stream Not Found" which is expected result. I wantffmpeg
to reattempt in endless loop if previous attempts returns error404 Stream Not Foun
d.

When human presence is detected, stream is being recorded to the mentioned location which works well. I need ffmpeg to reconnect even after successful stream fetch to seek for next motion recording. Successful stream download ends as follows.


No more output streams to write to, finishing.


:04.26 bitrate=N/A speed=0.559x 
[segment @ 0x2172d60] segment:'/media/pi/hdd/cam_name/camname2022-07-09-11-13-29.mkv' count:0 ended
[AVIOContext @ 0x2143630] Statistics: 16 seeks, 13 writeouts
frame= 31 fps=4.1 q=-1.0 Lsize=N/A time=00:00:04.26 bitrate=N/A speed=0.559x 
video:359kB audio:8kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Input file #0 (rtsp://192.168.100.16/live0):
 Input stream #0:0 (video): 34 packets read (373534 bytes); 
 Input stream #0:1 (audio): 42 packets read (7884 bytes); 
 Total: 76 packets (381418 bytes) demuxed
Output file #0 (/media/pi/Extreme 900/Gate_View/GateView2022-07-09-11-13-29.mkv):
 Output stream #0:0 (video): 31 packets muxed (367940 bytes); 
 Output stream #0:1 (audio): 42 packets muxed (7884 bytes); 
 Total: 73 packets (375824 bytes) muxed



In summary, I am looking for a script with below conditions.


IF terminal returns
404 Stream Not Found" OR "packets muxed
THEN repeat same command in endless loop.

I have several battery operated cameras. Please help with script.


Thanks in advance.


Regards,


Shanavas Abdulrahman


-
Wave Goodbye ; What About VP8/WebM ?
7 août 2010, par Multimedia Mike — Multimedia PressWatchSome big news in the geek community this past week came in the form of Google’s announcement that it would no longer be caring about its vaunted Wave technology. I was mildly heartbroken by this since I had honestly wanted to try Google Wave. Then I remembered why I never got a chance to try it : they made it an exclusive club at the beginning. I really did try to glean some utility out of the concept by reading documentation and watching videos and I had some ideas about how I might apply it. Then again, I try to think of a use for nearly any technology that crosses my path.
It still struck me as odd : Why would Google claim that no one was interested in their platform when they wouldn’t give anyone a chance to try it out ? A little digging reveals that Google did open it for general use back around May 18. That date sounds familiar... oh yeah, VP8 was open sourced right around the same time. Maybe that’s why I don’t remember hearing anything about Wave at the time.
But now I’m wondering about VP8 and WebM. How long do you think it might be before Google loses interest in these initiatives as well and reassigns their engineering resources ? Fortunately, if they did do that, the technology would live on thanks to the efforts of FFmpeg developers. A multimedia format has a far more clear-cut use case than Google Wave.
-
Recording video by the hour to file (avconv/ffmpeg)
13 novembre 2013, par JohanSI'm currently recording video from my IP camera to disk by making use of avconv (ffmpeg).
avconv -i rtsp://192.168.1.1/stream -c copy pool.mp4
However, I'm in need of following and have not been able to successfully get it running from a bash script or cron.
- Create a new file per hour and name it accordingly
- I have to support multiple cameras
- I need to limit to a weeks worth of recordings whereafter the oldest gets deleted.
- I want to manage this via a bash script and/or cron job as far as possible.
Thanks
John