
Recherche avancée
Autres articles (103)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains 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 ;
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.
Sur d’autres sites (11419)
-
My Raspberry pi doesnt capture frames even though pi cam is detected in index 0
1er mars 2024, par Yassine BenkhaloukI'm using Raspberry Pi 4 Model B with Pi camera module v3, I'm trying to launch an RTSP stream server that streams camera feed, I've been using this RTSP library, when I run the server script :


import cv2
from zephyr import Stream

if __name__ == "__main__":
 stream = Stream(
 url="rtsp://localhost:8554/test",
 resolution=(1280, 720),
 fps=30,
 bitrate="2M"
 )

 cap = cv2.VideoCapture(0)
 while True:
 ret, frame = cap.read()
 stream.send(frame)



I get :


Traceback (most recent call last):
 File "/home/pi/testserver1.py", line 15, in <module>
 stream.send(frame)
 File "/home/pi/innov/venv/lib/python3.11/site-packages/zephyr/stream/stream.py", line 174, in send
 frame = cv2.resize(frame, self.resolution)
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cv2.error: OpenCV(4.8.1) /io/opencv/modules/imgproc/src/resize.cpp:4062: error: (-215:Assertion failed) !ssize.empty() in function 'resize'
</module>


even though my camera is detected :


(venv) pi@YassinePi:~ $ libcamera-still --list-cameras
Available cameras
-----------------
0 : imx708 [4608x2592 10-bit RGGB] (/base/soc/i2c0mux/i2c@1/imx708@1a)
 Modes: 'SRGGB10_CSI2P' : 1536x864 [120.13 fps - (768, 432)/3072x1728 crop]
 2304x1296 [56.03 fps - (0, 0)/4608x2592 crop]
 4608x2592 [14.35 fps - (0, 0)/4608x2592 crop]



I've tried changing the index from 1,-1,2 didn't work


I think it may be because this code is designed for desktop computers, or I didn't install the required packages correctly


For the second reason since I don't have experience with Raspbian OS, I reinstalled the OS and installed the packages all over again, still doesn't work.


Any idea how to solve this issue ? Or there is an alternative way to do this ?


-
Audio effect ( a 20ms delay between right and the left channel) using Web Audio API or any Javascript Audio Library like howler.js, tone.js ?
15 juillet 2020, par questionare_101I was wondering if there any option in howler.js, tone.js or any other javascript audio library which I can use to add a 20ms delay between the right and the left channel which makes the audio listening experience more immersive.


Can it be achieved using Audio sprites with howler.js ? (but I guess it can't separate the right and the left channels)
https://medium.com/game-development-stuff/how-to-create-audiosprites-to-use-with-howler-js-beed5d006ac1


Is there any ?


Have also asked the same quest here : https://github.com/goldfire/howler.js/issues/1374


I usually enable this option under ffdshow audio processor while playing audio using MPC-HC (Mega Version) on my pc. I was wondering how can I do it using Web Audio API or howler.js ?




Somewhat like this kind of effect : Just delay the either channel by 20ms
Like we do in Adobe Audition



-
avformat/mp3dec : Subtract known padding from duration
22 août 2023, par Ulrik Mikaelssonavformat/mp3dec : Subtract known padding from duration
When an Info-tag is present, marking initial and trailing samples as
padding, those samples should not be included in the calculation of track
duration.This solves a surprising user experience where converting a WAV->MP3->WAV,
ffprobe will show the duration of the mp3 as slightly longer than both the
input and the output.As a result, the estimated duration and imprecise seek-results of some
FATE-tests have been updated.