
Recherche avancée
Médias (1)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
Autres articles (85)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
(Dés)Activation de fonctionnalités (plugins)
18 février 2011, parPour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)
Sur d’autres sites (5971)
-
Different live stream resolutions with rtp and ffmpeg using bluenviron/mediamtx
17 juin 2023, par Emad HelmiI am attempting to use RTP streaming with ffmpeg and Bluenviron Mediamtx. I have a sample file that I publish to the RTMP server using ffmpeg :


ffmpeg -re -stream_loop -1 -i files/sample-30s.mp4 -c copy -f flv "rtmp://localhost:1935/show/test?user=myuser&pass=mypass&id=nonblockid"



I can see the live stream in my browser at
localhost:8888
. However, I want to have the live stream asm3u8
files with different resolutions. There is no documentation on how to do this in the repo, and some of the solutions on the internet have not worked for me. For example, using this question, I have tried running the followingffmpeg
command :

ffmpeg -f flv -i "rtmp://server/live/livestream" \
 -map 0:v:0 -map 0:a:0 -map 0:v:0 -map 0:a:0 -map 0:v:0 -map 0:a:0 \
 -c:v libx264 -crf 22 -c:a aac -ar 44100 \
 -filter:v:0 scale=w=480:h=360 -maxrate:v:0 600k -b:a:0 500k \
 -filter:v:1 scale=w=640:h=480 -maxrate:v:1 1500k -b:a:1 1000k \
 -filter:v:2 scale=w=1280:h=720 -maxrate:v:2 3000k -b:a:2 2000k \
 -var_stream_map "v:0,a:0,name:360p v:1,a:1,name:480p v:2,a:2,name:720p" \
 -preset fast -hls_list_size 10 -threads 0 -f hls \
 -hls_time 3 -hls_flags independent_segments \
 -master_pl_name "livestream.m3u8" \
 -y "livestream-%v.m3u8"



But this does not work. Should I run another ffmpeg command to get the stream and generate another stream on the same RTMP server ?


-
How can I recieve an RTP stream with JavaCV ?
11 janvier 2019, par c.bergerI’m trying to stream video from an RTP server (currently VLC for testing) and decode it in Java. To do this, I’m using JavaCV to decode the incoming stream. Here’s what I have so far :
try {
grabber = new FFmpegFrameGrabber("rtp://localhost:5004/test");
grabber.setFormat("h264");
grabber.setFrameRate(30.0);
grabber.start();
Java2DFrameConverter converter = new Java2DFrameConverter();
while (true) {
Frame frame = grabber.grab();
imageToDraw = frame != null ? converter.convert(frame) : null;
// goes off to paint a widget on a window, see https://git.io/fhZSr for more context
repaint();
}
} catch (Exception e) {
// TODO: Discover what circumstances cause this
e.printStackTrace(System.out);
}On VLC, my stream settings are set like this :
- Destination stream : RTP/TS (address
localhost
, port 5004, and stream nametest
.) - Transcoding active, set to "Video - H.264 + MP3 (TS)" preset :
- MPEG-TS encapsulation
- h.264 video with MPEG audio
- Stream all elementary streams is off.
I can get one VLC instance to stream to another with these settings (with the "client" VLC receiving from
rtp://localhost:5004/test
), and it works just fine. (The only issues arise from having a weak test machine not suited transcoding high res video.)Switch over to Java, and all I can see is gray frames with a spat of color here and there. The console is also screaming the whole way through. Some snippets (the full log is too long to be a reasonable post, but it can be found here if you really want it) :
[h264 @ 0x7f6c4c3502c0] cabac decode of qscale diff failed at 8 12
[h264 @ 0x7f6c4c3502c0] error while decoding MB 8 12, bytestream 670
[h264 @ 0x7f6c4c3502c0] concealing 421 DC, 421 AC, 421 MV errors in P frame[h264 @ 0x7f6c4c3502c0] Reference 4 >= 2
[h264 @ 0x7f6c4c3502c0] error while decoding MB 25 8, bytestream 416
[h264 @ 0x7f6c4c3502c0] concealing 556 DC, 556 AC, 556 MV errors in B frame[h264 @ 0x7f6c4c3502c0] Reference 5 >= 4
[h264 @ 0x7f6c4c3502c0] error while decoding MB 21 1, bytestream 6042
[h264 @ 0x7f6c4c3502c0] concealing 826 DC, 826 AC, 826 MV errors in P frame
[h264 @ 0x7f6c4c3502c0] Invalid NAL unit 8, skipping.
[above line repeats 5x]
[h264 @ 0x7f6c4c3502c0] top block unavailable for requested intra mode
[h264 @ 0x7f6c4c3502c0] error while decoding MB 3 0, bytestream 730
[h264 @ 0x7f6c4c3502c0] concealing 836 DC, 836 AC, 836 MV errors in P frameIs there something I am clearly doing wrong ?
- Destination stream : RTP/TS (address
-
Concatenate videos from a socket and create a live stream
24 juin 2017, par gregory andreI know the title is not clear so I’ll explain as best I can.When I mean concatenating from a socket is this way
This is the command I use :ffmpeg -i tcp://localhost:8080 -f flv rtmp://localhost/oflaDemo/stream1497985143577
Which makes the server simply send a 3gp file that is converted to flv and sent to the server stream, everything looks good the first file on the client, but when the server starts reading the second file and sends it, it no longer shows anything in the video. And ffmpeg throws this error.
[flv @ 000000000060bc80] Non-monotonous DTS in output stream 0:1; previous: 3077
3, current: 16928; changing to 30773. This may result in incorrect timestamps in
the output file.
[flv @ 000000000060bc80] Non-monotonous DTS in output stream 0:1; previous: 3077
3, current: 16954; changing to 30773. This may result in incorrect timestamps in
the output file.
[flv @ 000000000060bc80] Non-monotonous DTS in output stream 0:1; previous: 3077
3, current: 16981; changing to 30773. This may result in incorrect timestamps in
the output file.
[flv @ 000000000060bc80] Non-monotonous DTS in output stream 0:1; previous: 3077
3, current: 17007; changing to 30773. This may result in incorrect timestamps inInvestigate a bit about this error and some suggestions say it is for the version of ffmpeg but I already have the recent version, I tried everything but only the first file that is sent to live server, but the second I no longer appreciate some suggestion.