
Recherche avancée
Autres articles (111)
-
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site -
Prérequis à l’installation
31 janvier 2010, parPréambule
Cet article n’a pas pour but de détailler les installations de ces logiciels mais plutôt de donner des informations sur leur configuration spécifique.
Avant toute chose SPIPMotion tout comme MediaSPIP est fait pour tourner sur des distributions Linux de type Debian ou dérivées (Ubuntu...). Les documentations de ce site se réfèrent donc à ces distributions. Il est également possible de l’utiliser sur d’autres distributions Linux mais aucune garantie de bon fonctionnement n’est possible.
Il (...) -
Déploiements possibles
31 janvier 2010, parDeux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
Version mono serveur
La version mono serveur consiste à n’utiliser qu’une (...)
Sur d’autres sites (8988)
-
ffmpeg - camera surface stutters with ffmpeg pulling thumbnails and audio from the mpegts stream
11 mai 2019, par badtraderAndroid 6 NDK 23. I have a camera device which pulls content from HDMI-in port (capture card).
I am displaying this input on a SurfaceView. At the same time, I am using MediaRecorder to access this h264 data in a mpegts container. I stream the mpegts into a ffmpeg process via pipe. I need this ffmpeg process to continuously extract thumbnails and PCM audio from the most recently captured data.
The problem is that after varying amount of time(depending on ffmpeg and mediarecorder settings) the surfaceview display begins to stutter very heavily. It will work for about 30 minutes without error before stuttering begins to become more and more noticeable.
Memory and cpu usage seems constant, cpu temps are low. I am stumped to what is happening here. Have exhausted nearly all the different ffmpeg settings. Should I be trying mediacodec rather than ffmpeg ?
Even weirder this code works fine depending on the input device to hdmi-in capture. Some devices input will begin to stutter after a while while others won’t.
-
ffmpeg - camera surface stutters withffmpeg pulling thumbnails and audio from the mpegts stream
11 mai 2019, par badtraderAndroid 6 NDK 23. I have a camera device which pulls content from HDMI-in port (capture card).
I am displaying this input on a SurfaceView. At the same time, I am using MediaRecorder to access this h264 data in a mpegts container. I stream the mpegts into a ffmpeg process via pipe. I need this ffmpeg process to continuously extract thumbnails and PCM audio from the most recently captured data.
The problem is that after varying amount of time(depending on ffmpeg and mediarecorder settings) the surfaceview display begins to stutter very heavily. It will work for about 30 minutes without error before stuttering begins to become more and more noticeable.
Memory and cpu usage seems constant, cpu temps are low. I am stumped to what is happening here. Have exhausted nearly all the different ffmpeg settings. Should I be trying mediacodec rather than ffmpeg ?
Even weirder this code works fine depending on the input device to hdmi-in capture. Some devices input will begin to stutter after a while while others won’t.
-
ffmpeg usb Web cam recording terminates randomly before set duration
16 mars 2018, par pomptondriveThe output of this script is just fine ; it’s pretty much what I want. But it seems to terminate randomly. My next step will be to try this on another computer to see if the issue persists.
My configuration :
Dell Precision laptop, m4400
2x Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz
Linux Mint 18.3 Sylvia
Kernel : Linux 4.4.0-116-generic (x86_64)
Card : NVIDIA G96GLM [Quadro FX 770M]
ffmpeg version 2.8.11-0ubuntu0.16.04.1
USB Camera-B4.09.24.1 Sony Playstation EyeAnd this is the script that I’m running - the last time it recorded for about three hours and forty-five minutes, before that it was about 55 minutes ; once it ran five and a half hours :
#!/bin/bash
echo "This is a shell script to make a timelapse video."
ffmpeg \
-f v4l2 -input_format yuyv422 -video_size 640x480 -framerate 5 -t 09:00:00 -i /dev/video0 \
-vf "select=not(mod(n\,5)),setpts=N/(60*TB),fps=60, drawtext=fontfile=/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf:text='%{localtime\:%T}':x=20:y=20:fontcolor=white" \
-c:v libx264 -preset superfast -crf 23 -pix_fmt yuv422p -g 15 -keyint_min 15 \
-f mpegts /media/dkm/OneTB/Video/Timelapse_$(date +%Y-%m-%d_%H.%M.%S).tsAny suggestions would be appreciated. Thanks !