
Recherche avancée
Médias (1)
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (31)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa 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 (...) -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
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" ;
Sur d’autres sites (6276)
-
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. (...)
-
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.
-
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.