
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (52)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)
Sur d’autres sites (2706)
-
Can't stream video when using node-rtsp-stream latest version ?
6 avril 2022, par cauchuyennhocuatoiI am using node-rtsp-stream latest version (0.0.9)


https://www.npmjs.com/package/node-rtsp-stream



I use it (node-rtsp-stream) to stream an IP camera. I also install the latest version of ffmpeg here :


https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-full.7z



Here is my code


Stream = require('node-rtsp-stream');
stream = new Stream({
 name: 'test',
 streamUrl: 'rtsp://username:password@IP:PORT/cam/realmonitor?channel=1&subtype=0',
 wsPort: 9999,
 ffmpegOptions: { // options ffmpeg flags
 '-r': 30 // options with required values specify the value after the key
 }
});



After running nodejs server I get the following output :


Metadata:
 title : Media Server
 Duration: N/A, bitrate: N/A
 Stream #0:0: Video: hevc (Main), yuv420p(tv), 2688x1520, 25 tbr, 90k tbn
Stream mapping:
 Stream #0:0 -> #0:0 (hevc (native) -> mpeg1video (native))
Press [q] to stop, [?] for help
Output #0, mpegts, to 'pipe:':
 Metadata:
 title : Media Server
 encoder : Lavf59.20.101
 Stream #0:0: Video: mpeg1video, yuv420p, 2688x1520, q=2-31, 200 kb/s, 30 fps, 90k tbn
 Metadata:
 encoder : Lavc59.25.100 mpeg1video
 Side data:
 cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
frame= 0 fps=0.0 q=0.0 Lsize= 0kB time=00:00:00.00 bitrate=N/A speed= 0x
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)



This result means I can't stream video from the camera yet. Output is empty, whereas if I use 0.04 version, I can streamming the videos. Below is output if I using node-rtsp-stream version 0.0.4 :


Metadata:
 title : Media Server
 Duration: N/A, start: 0.040000, bitrate: N/A
 Stream #0:0: Video: hevc (Main), yuv420p(tv), 2688x1520, 25 fps, 25 tbr, 90k tbn
Stream mapping:
 Stream #0:0 -> #0:0 (hevc (native) -> mpeg1video (native))
Press [q] to stop, [?] for help
Output #0, mpeg1video, to 'pipe:':
 Metadata:
 title : Media Server
 encoder : Lavf59.20.101
 Stream #0:0: Video: mpeg1video, yuv420p(tv, progressive), 2688x1520, q=2-31, 200 kb/s, 30 fps, 30 tbn
 Metadata:
 encoder : Lavc59.25.100 mpeg1video
 Side data:
 cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
frame= 314 fps= 32 q=24.8 size= 4768kB time=00:00:10.40 bitrate=3755.7kbits/s dup=51 drop=0 speed=1.05x 



But I need to use the latest version (node-rtsp-stream 0.0.9) for my project, please take a look.


-
how to use latest FFMPEG in android studio project ?
4 avril 2016, par arslan hakticI have a simple task to make a video from multiple images and an audio file, After searching a lot found that its possible with FFMPEG, Unfortunately there are no updated tutorials for FFMPEG, there are few but outdated and most of them are not working.
As i have compiled FFMPEG for android using NDK android-ndk-r10e and ffmpeg-2.8.6 on my MAC with Android Studio following the tutorial http://www.roman10.net/how-to-build-ffmpeg-with-ndk-r9/
It makes the .so files as
Now i can’t understand what should i do to integrate this in my android project, I have also checked,
How to use Ffmpeg in android studio ?
how to use ffmpeg in android ?
and mainly this,
http://www.roman10.net/how-to-build-android-applications-based-on-ffmpeg-by-an-example/
https://github.com/roman10/android-ffmpeg-tutorial
But its not working and having errors with no way to resolve this. Can anyone please mention some steps that should be followed to use FFMPEG .so files as in image attached.
-
Revision 707b65bd16 : Partial import of "New RTCD implementation" from master branch. Latest version
9 août 2012, par Christian DuvivierChanged Paths : Modify /build/make/configure.sh Add /build/make/rtcd.sh Modify /libs.mk Modify /vp8/common/generic/systemdependent.c Add /vp8/common/rtcd.c Add /vp8/common/rtcd_defs.sh Modify /vp8/vp8_common.mk Partial import of "New RTCD implementation" from master branch. (...)