
Recherche avancée
Médias (1)
-
Spitfire Parade - Crisis
15 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (60)
-
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 (...) -
Encodage et transformation en formats lisibles sur Internet
10 avril 2011MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.
Sur d’autres sites (4793)
-
Unable to record mediasoup producer using FFmpeg on real server
30 novembre 2020, par Sarvesh PatilI have built a nice app in react native for audio calling, many thanks to MediaSoup !!


To take it to next level, I need to record some of my calls.
I used this tutorial for reference :
mediasoup recording demo


I followed the FFmpeg way and have reached a point where I have created a plainTransport with


router.createPlainTransport({
 // No RTP will be received from the remote side
 comedia: false,
 // FFmpeg and GStreamer don't support RTP/RTCP multiplexing ("a=rtcp-mux" in SDP)
 rtcpMux: false,
 listenIp: {ip:"0.0.0.0", announcedIp:"MY_PUBLIC_IP"},
 });




Then I connect to this transport :


rtpPlainTransport.connect({
 ip: 127.0.0.1,
 port: "port1",
 rtcpPort: "port2",
 });




My first doubt : is the ip address in .connect({}) parameters supplied above correct ?


Second, the FFMPEG command requires an SDP header. This is mine :


v=0
 o=- 0 0 IN IP4 127.0.0.1
 s=-
 c=IN IP4 127.0.0.1
 t=0 0
 m=audio port1 RTP/AVPF 111
 a=rtcp:port2
 a=rtpmap:111 opus/48000/2
 a=fmtp:111 minptime=10;useinbandfec=1



When I start recording, the FFMPEG process does not receive any data.
Moreover, on stopping, I get the following message




Output file is empty, nothing was encoded (check -ss / -t / -frames
parameters if used) Exiting normally, received signal 2. Recording
process exit, code : 255, signal : null




I was able to make the recording save on localhost with 127.0.0.1 when the server was itself running on localhost.


However, with my actual server hosted with Nginx, I'm not able to figure out what is going wrong.


I can see data being sent on my audio port :


1 0.000000000 127.0.0.1 → 127.0.0.1 UDP 117 10183 → 5004 Len=75
2 0.020787740 127.0.0.1 → 127.0.0.1 UDP 108 10183 → 5004 Len=66
3 0.043201757 127.0.0.1 → 127.0.0.1 UDP 118 10183 → 5004 Len=76



What do I do with FFmpeg so that it starts the recording !?


Can someone please help ?


-
Revision 1c0769107b : vp10 cleanup : remove nonrd and real-time code Code cleanup. Change-Id : I668bd5
26 août 2015, par Yunqing WangChanged Paths :
Modify /vp10/encoder/encodeframe.c
Modify /vp10/encoder/encoder.c
Modify /vp10/encoder/ethread.c
Delete /vp10/encoder/pickmode.c
Delete /vp10/encoder/pickmode.h
Modify /vp10/encoder/ratectrl.c
Modify /vp10/encoder/rd.c
Modify /vp10/encoder/rdopt.c
Modify /vp10/encoder/speed_features.c
Modify /vp10/encoder/speed_features.h
Modify /vp10/vp10cx.mk
vp10 cleanup : remove nonrd and real-time codeCode cleanup.
Change-Id : I668bd5a4e5fbe96969d51d9ee777fc5f1d8abfe6
-
Converting series of images with ffmpeg results in black video [migrated]
27 avril 2013, par Marco GagliardiI've just downloaded ffmpeg since it seems to perfectly match my needs (make a video from a set of pictures). I'm currently playing around with some examples just to get started and there's something weird happening that I can't explain.
I'm trying this command (provided in the official documentation) :ffmpeg -f image2 -pattern_type glob -i 'foo-*.jpeg' -r 12 -s WxH foo.avi
on a data set of 10 jpg pictures (of course I changed the pattern with '*.jpg'). The video seems to be encoded correctly but it's simply too fast to be sure about that (anyway it stops on the last frame that corresponds to the last picture). In order to get a longer video i thought to low the frame rate from 12 to 1 (one sec each picture) or 0.5 (2 sec each one) and so on.. no way ! with low rate values even if the video is played the pictures are simply not displayed. The player (VLC in my case) just shows a blank/empty video for a few seconds.
Am I making something wrong or have I misunderstood the -r parameter ? Is it something related to codecs involved ? Finally.. How can i get each picture displayed for 1 or 2 seconds ?
Here's the output :
MacBook-Pro$ ffmpeg -f image2 -pattern_type glob -i '*.jpg' -r 1 -s 200x300 foo.avi
ffmpeg version N-52517-g1e4f75d Copyright (c) 2000-2013 the FFmpeg developers
built on Apr 27 2013 19:41:11 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
configuration: --disable-yasm
libavutil 52. 27.101 / 52. 27.101
libavcodec 55. 6.100 / 55. 6.100
libavformat 55. 3.100 / 55. 3.100
libavdevice 55. 0.100 / 55. 0.100
libavfilter 3. 61.100 / 3. 61.100
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
Input #0, image2, from '*.jpg':
Duration: 00:00:00.40, start: 0.000000, bitrate: N/A
Stream #0:0: Video: mjpeg, yuvj422p, 2560x1920 [SAR 1:1 DAR 4:3], 25 fps, 25 tbr, 25 tbn, 25 tbc
File 'foo.avi' already exists. Overwrite ? [y/N] y
Output #0, avi, to 'foo.avi':
Metadata:
ISFT : Lavf55.3.100
Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 200x300 [SAR 2:1 DAR 4:3], q=2-31, 200 kb/s, 1 tbn, 1 tbc
Stream mapping:
Stream #0:0 -> #0:0 (mjpeg -> mpeg4)
Press [q] to stop, [?] for help
frame= 2 fps=0.0 q=2.0 Lsize= 43kB time=00:00:02.00 bitrate= 177.1kbits/s dup=0 drop=8
video:38kB audio:0kB subtitle:0 global headers:0kB muxing overhead 15.099197%
MacBook-Pro$