
Recherche avancée
Médias (91)
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (69)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)
Sur d’autres sites (5049)
-
FFMPEG. Video to image sequences, duration changed
17 avril 2020, par Robert JohnsonThe duration of the video changes from 7 minutes and 59 seconds to 7 minutes and 55 seconds.
I'm not sure what the issue is. But it's def eating up frames but i'm not sure what the issue is.



My command :



"ffmpeg -loglevel verbose -i '/secrets/secret.mkv' -vf fps=23.976 -qscale:v 3 -vf scale=720:540 '/secrets/lol5/SecretJpgs%05d.png' "



And well that's about it.
I would really appreciate it, if someone was willing to help me out with this.
Would mean a lot !!!
Edit : I Understand there are mistakes with my command, still doesn't explain why the duration is changed. Check the duration : and then check the time of the output, 7 mins and 55 secs. I clearly lost something somewhere. To make sure this wasn't an error i went back and converted the image sequence to video and it was 7 mins and 55 secs, unlike the source. The command was perfectly fine and i even set the fps twice using different commands , but it was something else. Please i would really appreciate it , if any one of you could help me out.



ffmpeg version 3.4.6-0ubuntu0.18.04.1 Copyright (c) 2000-2019 the FFmpeg developers
 built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
 configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
 libavutil 55. 78.100 / 55. 78.100
 libavcodec 57.107.100 / 57.107.100
 libavformat 57. 83.100 / 57. 83.100
 libavdevice 57. 10.100 / 57. 10.100
 libavfilter 6.107.100 / 6.107.100
 libavresample 3. 7. 0 / 3. 7. 0
 libswscale 4. 8.100 / 4. 8.100
 libswresample 2. 9.100 / 2. 9.100
 libpostproc 54. 7.100 / 54. 7.100
[h264 @ 0x56089f88a500] Reinit context to 1440x1088, pix_fmt: yuv420p
Input #0, matroska,webm, from '/secret/secrets/My secrets/Secret.mkv':
 Metadata:
 ENCODER : Lavf57.71.100
 Duration: 00:07:59.08, start: 3.401000, bitrate: 5257 kb/s
 Chapter #0:0: start 0.000000, end 113.594000
 Metadata:
 title : 00:02:23.643
 Chapter #0:1: start 113.594000, end 479.000000
 Metadata:
 title : 00:09:54.594
 Stream #0:0(eng): Video: h264 (High), 1 reference frame, yuv420p(progressive, left), 1440x1080 (1440x1088) [SAR 1:1 DAR 4:3], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
 Metadata:
 BPS : 5789491
 BPS-eng : 5789491
 DURATION-eng : 00:23:37.375000000
 NUMBER_OF_FRAMES: 33983
 NUMBER_OF_FRAMES-eng: 33983
 NUMBER_OF_BYTES : 1025735076
 NUMBER_OF_BYTES-eng: 1025735076
 _STATISTICS_WRITING_APP: mkvmerge v8.3.0 ('Over the Horizon') 64bit
 _STATISTICS_WRITING_APP-eng: mkvmerge v8.3.0 ('Over the Horizon') 64bit
 _STATISTICS_WRITING_DATE_UTC: 2017-02-16 22:40:33
 _STATISTICS_WRITING_DATE_UTC-eng: 2017-02-16 22:40:33
 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
 DURATION : 00:07:59.083000000
 Stream #0:1(eng): Subtitle: ass (default) (forced)
 Metadata:
 title : English full
 BPS : 35
 BPS-eng : 35
 DURATION-eng : 00:23:34.413000000
 NUMBER_OF_FRAMES: 248
 NUMBER_OF_FRAMES-eng: 248
 NUMBER_OF_BYTES : 6265
 NUMBER_OF_BYTES-eng: 6265
 _STATISTICS_WRITING_APP: mkvmerge v8.3.0 ('Over the Horizon') 64bit
 _STATISTICS_WRITING_APP-eng: mkvmerge v8.3.0 ('Over the Horizon') 64bit
 _STATISTICS_WRITING_DATE_UTC: 2017-02-16 22:40:33
 _STATISTICS_WRITING_DATE_UTC-eng: 2017-02-16 22:40:33
 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
 ENCODER : Lavc57.89.100 ssa
 DURATION : 00:07:42.860000000
Stream mapping:
 Stream #0:0 -> #0:0 (h264 (native) -> png (native))
Press [q] to stop, [?] for help
[h264 @ 0x56089f88cd00] Reinit context to 1440x1088, pix_fmt: yuv420p
[Parsed_scale_0 @ 0x56089f843ae0] w:720 h:540 flags:'bicubic' interl:0
[graph 0 input from stream 0:0 @ 0x56089f843b80] w:1440 h:1080 pixfmt:yuv420p tb:1/1000 fr:24000/1001 sar:1/1 sws_param:flags=2
[Parsed_scale_0 @ 0x56089f843ae0] w:1440 h:1080 fmt:yuv420p sar:1/1 -> w:720 h:540 fmt:rgb24 sar:1/1 flags:0x4
Output #0, image2, to '/secret/lol5/SecretJpgs%05d.png':
 Metadata:
 encoder : Lavf57.83.100
 Chapter #0:0: start 0.000000, end 110.193000
 Metadata:
 title : 00:02:23.643
 Chapter #0:1: start 110.193000, end 475.599000
 Metadata:
 title : 00:09:54.594
 Stream #0:0(eng): Video: png, 1 reference frame, rgb24(left), 720x540 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 23.98 fps, 23.98 tbn, 23.98 tbc (default)
 Metadata:
 BPS : 5789491
 BPS-eng : 5789491
 DURATION-eng : 00:23:37.375000000
 NUMBER_OF_FRAMES: 33983
 NUMBER_OF_FRAMES-eng: 33983
 NUMBER_OF_BYTES : 1025735076
 NUMBER_OF_BYTES-eng: 1025735076
 _STATISTICS_WRITING_APP: mkvmerge v8.3.0 ('Over the Horizon') 64bit
 _STATISTICS_WRITING_APP-eng: mkvmerge v8.3.0 ('Over the Horizon') 64bit
 _STATISTICS_WRITING_DATE_UTC: 2017-02-16 22:40:33
 _STATISTICS_WRITING_DATE_UTC-eng: 2017-02-16 22:40:33
 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
 DURATION : 00:07:59.083000000
 encoder : Lavc57.107.100 png
No more output streams to write to, finishing.
frame=11405 fps= 20 q=-0.0 Lsize=N/A time=00:07:55.68 bitrate=N/A speed=0.823x 
video:4711858kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Input file #0 (/secret/secrets/My secrets/Secret.mkv):
 Input stream #0:0 (video): 11405 packets read (314757039 bytes); 11405 frames decoded; 
 Input stream #0:1 (subtitle): 0 packets read (0 bytes); 
 Total: 11405 packets (314757039 bytes) demuxed
Output file #0 (/secret/lol5/SecretJpgs%05d.png):
 Output stream #0:0 (video): 11405 frames encoded; 11405 packets muxed (4824942145 bytes); 
 Total: 11405 packets (4824942145 bytes) muxed



-
Anomalie #4495 (Nouveau) : migration 3.2.7 vers 3.3.0
24 mai 2020, par josiane alettotest 1-
j’ai installée en local un site qui était en SPIP 3.2.7 [24473] pour le migrer en SPIP 3.3.0-dev [24578].
fichier mesoptions.php avec- <span class="CodeRay"><span class="predefined">define</span>(<span class="string"><span class="delimiter">'</span><span class="content">_IMG_MAX_HEIGHT</span><span class="delimiter">'</span></span>,<span class="integer">1200</span>); <span class="comment">// largeur en pixels</span>
- <span class="predefined">define</span>(<span class="string"><span class="delimiter">'</span><span class="content">_IMG_MAX_WIDTH</span><span class="delimiter">'</span></span>, <span class="integer">1024</span>); <span class="comment">// hauteur en pixels</span>
- <span class="predefined">define</span>(<span class="string"><span class="delimiter">'</span><span class="content">_IMG_MAX_SIZE</span><span class="delimiter">'</span></span>, <span class="integer">650</span>); <span class="comment">// taille en kilo-octets</span>
- </span>
Des logos de taille superieure a _IMG_MAX_SIZE’, 650 ne sont plus dans IMG Pas non plus dans logo_erreur non plus.
par exemple rubon3 : 1630 × 648 pixels
Plugins :
Adaptive Images 1.9.2 -
Agenda 3.26.0 -
API de vérification 1.8.1 - stable
Centre image 0.10.4 - dev
Couleur de rubrique 2.3.8
Facteur 3.6.2 - stable
Formidable 3.34.3 - stable
Insérer Modèles 1.3.3 - stable
Massicot 0.8.1 -
Mini Calendrier 2.4.1 - stable
oEmbed 2.0.10 - stable
Owl Carousel 1.0.18
Carousel responsive avec support du multi-touch.
Palette 4.0.7
pdf.js 0.6.3
Picto mod avec FontAwesome 2.1.0
Saisies pour formulaires 3.11.1
SPIP Bonux 3.4.6
YAML 2.0.10
test2
Pour mieux voir J’ai recommencé installation /migration en désinstallant le plugin massicot et en le supprimant du repertoire plugin et en mettant dans mes_options.php
define(’_IMG_MAX_HEIGHT’,800) ; // largeur en pixels
define(’_IMG_MAX_WIDTH’, 500) ; // hauteur en pixels
define(’_IMG_MAX_SIZE’, 400) ; // taille en kilo-octetsje constate ; que les logos de taille >400Ko sont présent mais retaillé, rubon3 qui avait 1630 × 648 pixels a maintenant à 500 × 199 pixels 221 ko dans logo/IMG alors qu’il n’ y a pas massicot.
si je supprime ce rubon3 par logo de la rubrique et télécharge l’image originale j’obtiens une image retaillé avec du noir en plus. mais si je clique dessus l’image est retaillée mais ok et elle est bien en 500*199 dans IMG sans le noir.- les images migrées ont bien gardées leurs dimensions*.
test3
je telecharge le logo rubon3 de 1630 × 648 pixels comme un document d’un article —> il est enregistré directement en 500 × 199 pixels 221 ko . Ce mécanisme a changé, en mieux, car dans la version 3.2 j’avais un message "Les images doivent obligatoirement faire moins de 650 ko (ce fichier fait 847.5 ko)". -
How to send RTP stream to Janus from NGINX RTMP module ? [closed]
25 novembre 2024, par MatéoI'm trying to create a stream and display it in a browser. I have already configured NGINX with the rtmp module and my stream works very well with HLS (between 5 and 10 seconds of latency).


Now I would like to set up a low-latency stream and that's why I have installed the janus-gateway webRTC server that allows to take in input an RTP stream and provide in output a webRTC stream.


Here's the schema I'd like to follow :


OBS -> RTMP -> Nginx-rtmp-module -> ffmpeg -> RTP -> Janus -> webRTC -> Browser


But I have a problem with this part : "nginx-rtmp-module -> ffmpeg -> janus"


In fact, my janus's server is running and demos streaming works very well in localhost, but when i try to provide an RTP stream, Janus don't detect the stream in the demos (it shows "No remote video available").


Anyone can help me, please ?


Ressources :


- 

- My janus.plugin.streaming.jcfg configuration :




rtp-sample: {
 type = "rtp"
 id = 1
 description = "Opus/VP8 live stream coming from external source"
 metadata = "You can use this metadata section to put any info you want!"
 audio = true
 video = true
 audioport = 5002
 audiopt = 111
 audiortpmap = "opus/48000/2"
 videoport = 5004
 videopt = 100
 videortpmap = "VP8/90000"
 secret = "adminpwd"
}




- 

- My nginx.conf application :




application test {

 deny play all;

 live on;
 on_publish http://localhost/test/backend/sec/live_auth.php;

 exec ffmpeg -i rtmp://localhost/test/$name -an -c:v copy -flags global_header -bsf dump_extra -f rtp rtp://localhost:5004;

}