
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 (39)
-
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (6087)
-
Read RTSP stream in Python
15 avril 2020, par pooormanI want to read RTSP stream with low latency. I use this code read frames in 100ms 200ms.
But this command will failed sometimes when restart program. There are four subprocess that read stream, 3 are success and 1 is failed. Is my command wrong ?



ffmpeg_cmd = ["ffmpeg", "-v", "debug", "-y",
 "-skip_initial_bytes", "2000000",
 "-c:v", "h264",
 "-vsync", "1",
 "-flags", "low_delay",
 "-fflags", "nobuffer",
 "-analyzeduration", "100000",
 "-max_delay", "100000",
 "-reorder_queue_size", "10000",
 "-rtsp_transport", "tcp",
 "-i", "rtsp://xx:xx@ip/streaming/channels/101",
 "-s", "1280x720",
 "-preset", "ultrafast",
 "-tune", "zerolatency",
 "-f", "image2pipe",
 "-pix_fmt", "rgb24",
 "-vcodec", "rawvideo",
 "-r", "25",
 "-"]
ffmpeg = sp.Popen(ffmpeg_cmd, stdout=sp.PIPE, bufsize=1024)
x = ffmpeg.stdout.read(int(w*h*3))




Error message :



Codec AVOption preset (Configuration preset) specified for output file #0 (pipe:) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
Codec AVOption tune (Tune the encoding to a specific scenario) specified for output file #0 (pipe:) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
detected 48 logical cores
Past duration 0.914436 too large
[h264 @ 0x55a59a5b8500] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x55a59a5b8500] nal_unit_type: 8(PPS), nal_ref_idc: 3
Clipping frame in rate conversion by 0.339165
[h264 @ 0x55a59a5b8500] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[h264 @ 0x55a59a5b8500] Format yuvj420p chosen by get_format().
[h264 @ 0x55a59a5b8500] Reinit context to 1920x1088, pix_fmt: yuvj420p
[h264 @ 0x55a59a5b8500] Frame num gap 6 4
[h264 @ 0x55e256eef5c0] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x55e256eef5c0] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x55e256eef5c0] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 0x5649ea893700] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
 Last message repeated 3 times
[rtsp @ 0x5626b5bd85c0] max_analyze_duration 100000 reached at 120000 microseconds st:0
[rtsp @ 0x5626b5bd85c0] decoding for stream 0 failed



-
fftools/ffmpeg : always read input in a thread
21 mars 2022, par Anton Khirnov -
Read bits_per_coded_sample from V_MS/VFW/FOURCC mkv files.
26 février 2014, par Carl Eugen Hoyos