Recherche avancée

Médias (0)

Mot : - Tags -/navigation

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (112)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (14984)

  • Bash script : Cycle script until ffmpeg command restarts successfully

    13 août 2023, par Bellacoda

    I have a IP Camera and the recordings are saved with ffmpeg RTSP into a raspberry pi.

    


    Sometimes, when the electricity shuts off and comes back on, the raspberry boots faster than the IP Camera and the ffmpeg command (saved on a crontab to run every reboot) fails to execute because it can't reach the IP Camera (that is still turning on).

    


    I tried to put a sleep command before the command but that doesn't work either.

    


    It also happened that when the IP Camera reboots, the raspberry closes the command, but when the camera comes back online, I have to manually lauch the command.

    


    Is there a way to make a script that waits to run the ffmpeg command until the camera is fully online (I assume with the $ ? variable for command exit status), and to wait to restart the ffmpeg command when the camera reboots ?

    


    The setup I have now is a crontab :
SHELL=/bin/bash
@reboot sleep 120s ; sudo ffmpeg ...

    


  • Getting less duration while recording a video for multi cameras simultaneously [closed]

    6 janvier 2024, par Pratik Gajera

    I am working on Quicktel SC686 module which has support 3 cameras. Currently, I have developed camera application using Gstreamer framework for recording a video for 2 cameras simultaneously. But I am suffering from duration issue of the video while two cameras are running simultaneously.

    


    The following cases are tested in the board using my Gstreamer demo application. PFA my demo app source code for camera 1 and camera 2.

    


    case 1. Record a video for 2 mins for single camera 1 using demo app,

    


    Result : Camera 1 video's duration : 120 sec

    


    case 2. Record a video for 2 mins for single camera 2 using demo app,

    


    Result : Camera 2 video's duration : 120

    


    case 3. Record a video for 2 mins for multi camera (camera 1 and 2) simultaneously.

    


    Result : Camera 1 video's duration : 101 sec
Camera 2 video's duration : 100 sec

    


    We analyzed 1st, 2nd and 3rd case, we got video duration inconsistent for camera 1 and 2 in 3rd case. Less duration issue is appeared while multi cameras are running simultaneously.

    


    Could you please point out the issue what i am missing here ?

    


    We can use below logic to find out duration of the h265 video.

    


    $ ffprobe -v error -select_streams v:0 -show_packets -show_entries packet=duration_time -of default=noprint_wrappers=1:nokey=1 in.mp4 > durations.txt

    


    Duration = Sum each line of the duration.txt

    


    Thanks in advance !

    


  • flutter-ffmpeg - How can show in a App that in this moment sent to a rtps server ? [closed]

    22 novembre 2020, par Carlos Rod
    


    What options can i implement in this solution ?

    


    


    Actually i use a "flutter_ffmpeg" package.. i sent a server Rtsp that my device camera see.

    


    i dont record a video in my phone only sent the video a server rtps, but i wanna that simultaneously i show in my phone a card widget the video from my camera, i try used a camera plugin but the moment sent info a server rtps, the camera plugin cancel that de camera is has used for other package (flutter_ffmepg)