Recherche avancée

Médias (0)

Mot : - Tags -/metadatas

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

Autres articles (112)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (6638)

  • RTSP Streaming on Jetson Xavier NX, Ubuntu 20.04 [closed]

    12 décembre 2023, par Jan

    i am working on a project, where i want to create a rtsp live server from a USB Camera.
To do that i downloaded the mediamtx rtsp server.

    


    Then i am pushing the stream from the camera to the rtsp server, and display it using ffplay, or OpenCV in C++.

    


    This is working, however i get a very low quality, and a delay of up to 1 second.

    


    Is there any way to improve the delay ? If possible i would like to have the same quality and delay as if i read it with gst-launch-1.0.

    


    The command for ffmpeg was

    


    ffmpeg -i /dev/video0 -s 1280x720 -vsync 0 - f rtsp rtsp://localhost:8554/mystream


    


    I also tried to utilize the hardware acceleration with cuda

    


    ffmpeg -i /dev/video0 -s 1280x720 -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -f x11grab -fflags nobuffer -i :0.0+0.0 -preset ultrafast -vcodec libx264 - tune zerolatency -g 1 -omit_video_pes_length 0 - f rtsp rtsp://localhost:8554/mystream


    


    With this I get a better quality, but the delay is still very bad.

    


    Any ideas on how to get a live stream with < 100ms ?&#xA;Did I maybe miss out some additional parameters for ffmpeg that resolve that problem ?

    &#xA;

  • Ffmpeg 2 Input cameras in single ouput

    1er juin 2020, par Expressingx

    I have app where it streams from a camera to a file with Preview using liabv. &#xA;Now there is requirement to be able to stream from 2 cameras simultaneously and output to a single file. The Preview will be like a CCTV camera and written to single output. Is this possible with libav ?&#xA;Before doing anything I've tried with ffmpeg.exe directly and found this :

    &#xA;&#xA;

    ffmpeg -f dshow -i video="Camera1" -i video="Camera2" -filter_complex "nullsrc=size=640x480 [base];[0:v] setpts=PTS-STARTPTS, scale=640x480 [upperleft];[1:v] setpts=PTS-STARTPTS, scale=640x480 [upperright];[base][upperleft] overlay=shortest=1 [tmp1];[tmp1][upperright] overlay=shortest=1:x=640:y=480 [tmp2];"-c:v libx264 output.mp4&#xA;

    &#xA;&#xA;

    But every time throws error 'No such file or directory' for the second camera, while I've verified the camera is working if I use it as single input. Do I miss something ?

    &#xA;&#xA;

    Overall is it possible to achieve that ?

    &#xA;

  • FFmpeg convert video to images with complex logic

    18 juillet 2020, par Udi

    I'm trying to use FFMPEG in order to solve some complex logic on my videos.

    &#xA;

    The business logic is the following :&#xA;I get videos from the formats : avi, mp4, mov.

    &#xA;

    I don't know what is the content in the video. It can be from 1M to 5G.

    &#xA;

    I want to output a list of images from this video with the higher quality I can get. Capturing only frames that have big changes from their previous frame. (new person, a new angle, big movement, etc)

    &#xA;

    In addition, I want to limit the number of frames per second that even if the video is dramatically fast and has changed all the time it will not produce more frames per second than this parameter.

    &#xA;

    I'm using now the following command :

    &#xA;

    ./ffmpeg -i "/tmp/input/fast_movies/3_1.mp4" -vf fps=3,mpdecimate=hi=14720:lo=7040:frac=0.5 -vsync 0 -s hd720 "/tmp/output/fast_movies/(#%04d).png"&#xA;

    &#xA;

    According to my understanding it doing the following :&#xA;fps=3 - first cut the video to 3 frames per second (So that is the limit I talked about)

    &#xA;

    mpdecimate - filter frames that doesn't have greater changes than the thresholds I set.

    &#xA;

    -vsync 0 - sync video timestamp - I'm not sure why but without it - it makes hundereds of duplicate frames ignoring the fps and mpdecimate command. Can someone explain ?

    &#xA;

    -s hd720 - set video size to

    &#xA;

    It works pretty well but I'm not so happy with the quality. Do you think I miss something ? Is there any parameter in FFMPEG that I better use it instead of these ones ?

    &#xA;