
Recherche avancée
Autres articles (36)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Submit enhancements and plugins
13 avril 2011If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.
Sur d’autres sites (6992)
-
When I receive vlc file streaming using Python's video capture, error occured
9 mai 2022, par 2tapgosuopencv version : 3.4.1


ffmpeg version : 3.4.8-0ubuntu0.2


os : ubuntu 18.04


streaming code


vlc -vvv /my/video/path.mp4 --play-and-exit :sout=#rtp{sdp=rtsp://127.0.0.1:8554/} :sout-keep



python code(receiver)


frame_buffer = None
def receiver(stream_uri):
 global frame_buffer
 while True:
 rtsp = cv2.VideoCapture(stream_uri, cv2.CAP_FFMPEG)
 if rtsp.isOpened():
 while True:
 connect, frame = rtsp.read()
 if not connect:
 break
 frame_buffer = frame

def consumer():
 global frame_buffer
 while True:
 frame = frame_buffer

def main():
 os.environ["OPENCV_FFMPEG_CAPTURE_OPTIONS"] = "rtsp_transport;udp"

 receiver_thread = threading.Thread(target=receiver, args=(stream_uri,))
 consumer_thread = threading.Thread(target=consumer)

 receiver_thread.start()
 consumer_thread.start()

 receiver_thread.join()
 consumer_thread.join()

if __name__ == '__main__':
 main()
 



console log(error)




I've tried many things, but I keep getting errors.


-
How to make icecast relay the metadata of mp3 stream from ffmpeg ?
8 janvier 2021, par Anonymous MouseI'm trying to relay a internet radio stream with the command :


ffmpeg -re -i 'http://internetradiourl'-vn -acodec copy -f tee -map 0:a "[f=mp3]icecast://source:pass@icecast:8000/a|[f=mp3]icecast://source:pass@icecast:8000/b"



the output stream has all the metadata :


Output #0, tee, to '[f=mp3]icecast://source:pass@icecast:8000/a|[f=mp3]icecast://source:pass@icecast:8000/b':
 Metadata:
 audiocodec : MP3
 audiodevice : IN 1+2 (Digigram LoLa280)
 audiodeviceid : e08a462b-2944-4abf-894a-5d5e8649452d
 type : event
 encoderMachineName: ERADIO
 hasAudio : true
 hasCuePoints : true
 hasKeyframes : true
 hasVideo : false
 source : MediaProxy 4.4.13.6
 name : ad
 ad_type : endbreak
 cue_id : b6c7ff39-2103-4442-bdc8-35f8ba2bb97d
 cue_time_duration: 44.365
 cue_time_start : 1610035039552
 cue_title : PSA - Danny - Parking (Jun 2020)
 encoder : Lavf58.45.100
 Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 98304 kb/s
Stream mapping:
 Stream #0:1 -> #0:0 (copy)



but if a client connects to the icecast server, the metadata is lost :

ffprobe https://icecasturl/a


Input #0, mp3, from 'https://icecasturl/a':
 Metadata:
 icy-pub : 0
 icy-metadata : 1
 StreamTitle :
 Duration: N/A, start: 0.000000, bitrate: 96 kb/s
 Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 96 kb/s



How can I configure icecast so that it forwards all the metadata of the source stream ?


-
Amélioration de Smush
4 mai 2016Bonjour,
J’ai rajouté 2 filtres pour pouvoir débrayer temporairement le traitement automatique : http://zone.spip.org/trac/spip-zone/changeset/96913
Pour pouvoir les utiliser même quand le plugin n’est pas installé, préférer la syntaxe avec appliquer filtre :
-
|appliquer_filtre{image_smush_debrayer,force=true}
-
|appliquer_filtre{image_smush_embrayer,force=true}
-