
Recherche avancée
Médias (91)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
-
Les Miserables
4 juin 2012, par
Mis à jour : Février 2013
Langue : English
Type : Texte
-
Ne pas afficher certaines informations : page d’accueil
23 novembre 2011, par
Mis à jour : Novembre 2011
Langue : français
Type : Image
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Richard Stallman et la révolution du logiciel libre - Une biographie autorisée (version epub)
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (13)
-
Possibilité de déploiement en ferme
12 avril 2011, parMediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras. -
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)
Sur d’autres sites (2678)
-
Raspberry Pi USB Webcam Stream to Computer using Gstreamer
17 mars 2016, par JamesI have a fisheye usb webcam attached to a raspberry pi that I’m trying to stream to a computer. I’ve played with ffmpeg and it seems a little laggy beyond 320x240. From what I’ve read people have been happy with gstreamer.
So I’ve tested the usb webcam and it works locally
gst-launch-1.0 -v v4l2src device=/dev/video0 ! 'video/x-raw,width=640,height=480' ! glimagesink
These are the commands I’ve been trying to use to get the video to my computer. However, all I’m seeing is a green window.
TCP Sever :
gst-launch-1.0 -v v4l2src device=/dev/video0 ! 'video/x-raw,width=640,height=480,framerate=30/1' ! x264enc byte-stream=true ! rtph264pay ! gdppay ! tcpserversink host=192.168.200.38 port=5000 sync=false
TCP Client :
gst-launch-1.0 -v tcpclientsrc host=192.168.200.38 port=5000 ! gdpdepay ! rtph264depay ! avdec_h264 ! videoconvert ! autovideosink sync=false
or
UDP Server :
gst-launch-1.0 -v v4l2src device=/dev/video0 ! 'video/x-raw,width=640,height=480,framerate=30/1' ! x264enc byte-stream=true ! rtph264pay ! gdppay ! udpsink host=192.168.200.37 port=5000 sync=false
UDP Client :
gst-launch-1.0 -v udpsrc port=5000 ! gdpdepay ! rtph264depay ! avdec_h264 ! videoconvert ! autovideosink sync=false
I figure I must be piping the plugins wrong somehow. Any advice is appreciated.
-
FFMPEG RTSP issue
18 mars 2019, par Joshua GSo I am trying to stream an EZVIZ camera using FFMPEG. I am able to connect to the camera but when setting a duration like 5 or 10 seconds I get videos of random lengths (7, 5, 10, 30, etc). Sometimes the videos generated are black, sometimes green (though I can see the outlines of things and parts of the timestamp when it is green). I also get videos that show a length say 3 mins or so but they play ulta-fast, like a 3 min video plays in a millisecond and they are all black. Below is the log. Any help would be great !
./ffmpeg.exe -err_detect ignore_err -rtsp_transport tcp -i rtsp://un:pw@192.168.0.2/Streaming/channels/101 -vcodec copy -t 00:00:10 c:/Temp/vid.mp4
ffmpeg version 4.0 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 7.3.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
libavutil 56. 14.100 / 56. 14.100
libavcodec 58. 18.100 / 58. 18.100
libavformat 58. 12.100 / 58. 12.100
libavdevice 58. 3.100 / 58. 3.100
libavfilter 7. 16.100 / 7. 16.100
libswscale 5. 1.100 / 5. 1.100
libswresample 3. 1.100 / 3. 1.100
libpostproc 55. 1.100 / 55. 1.100
[h264 @ 046d7840] non-existing PPS 60 referenced
Last message repeated 1 times
[h264 @ 046d7840] decode_slice_header error
[h264 @ 046d7840] no frame!
[h264 @ 046d7840] non-existing PPS 2 referenced
Last message repeated 1 times
[h264 @ 046d7840] decode_slice_header error
[h264 @ 046d7840] no frame!
[h264 @ 046d7840] cabac_init_idc 5 overflow
[h264 @ 046d7840] decode_slice_header error
[h264 @ 046d7840] no frame!
[h264 @ 046d7840] concealing 15924 DC, 15924 AC, 15924 MV errors in P frame
[h264 @ 046d7840] number of reference frames (0+2) exceeds max (1; probably corrupt input), discarding one
[h264 @ 046d7840] non-existing PPS 28 referenced
Last message repeated 1 times
[h264 @ 046d7840] decode_slice_header error
[h264 @ 046d7840] no frame!
[h264 @ 046d7840] non-existing PPS 7 referenced
Last message repeated 1 times
[h264 @ 046d7840] decode_slice_header error
[h264 @ 046d7840] no frame!
[h264 @ 046d7840] illegal aspect ratio
[h264 @ 046d7840] non-existing PPS 1 referenced
[h264 @ 046d7840] illegal aspect ratio
Last message repeated 2 times
[h264 @ 046d7840] A non-intra slice in an IDR NAL unit.
[h264 @ 046d7840] decode_slice_header error
[h264 @ 046d7840] no frame!
[h264 @ 046d7840] Missing reference picture, default is 0
[h264 @ 046d7840] decode_slice_header error
[h264 @ 046d7840] Frame num change from 3 to 413
[h264 @ 046d7840] decode_slice_header error
[h264 @ 046d7840] non-existing PPS 1 referenced
[h264 @ 046d7840] decode_slice_header error
[h264 @ 046d7840] non-existing PPS 23 referenced
[h264 @ 046d7840] decode_slice_header error
[h264 @ 046d7840] slice type 32 too large at 2
[h264 @ 046d7840] decode_slice_header error
[h264 @ 046d7840] reference count 1 overflow
[h264 @ 046d7840] slice type 15 too large at 0
[h264 @ 046d7840] decode_slice_header error
[h264 @ 046d7840] no frame!
[h264 @ 046d7840] non-existing PPS 22 referenced
[h264 @ 046d7840] decode_slice_header error
[h264 @ 046d7840] non-existing PPS 1 referenced
[h264 @ 046d7840] decode_slice_header error
[h264 @ 046d7840] Frame num change from 31 to 495
[h264 @ 046d7840] decode_slice_header error
[rtsp @ 046d4f00] decoding for stream 0 failed
Input #0, rtsp, from 'rtsp://admin:b729sefc@192.168.0.2/Streaming/channels/101':
Metadata:
title : Media Server V3.2.1
comment : Media Server Session Description : standard
Duration: N/A, bitrate: N/A
Stream #0:0: Video: h264 (Main), yuvj420p(pc, bt709, progressive), 2688x1520 [SAR 1:1 DAR 168:95], 10 fps, 10 tbr, 90k tbn, 20 tbc
Output #0, mp4, to 'c:/Temp/vid.mp4':
Metadata:
title : Media Server V3.2.1
comment : Media Server Session Description : standard
encoder : Lavf58.12.100
Stream #0:0: Video: h264 (Main) (avc1 / 0x31637661), yuvj420p(pc, bt709, progressive), 2688x1520 [SAR 1:1 DAR 168:95], q=2-31, 10 fps, 10 tbr, 90k tbn, 90k tbc
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[NULL @ 046d7840] illegal reordering_of_pic_nums_idc 706.80 bitrate=1850.5kbits/s speed=5.97x
[NULL @ 046d7840] illegal aspect ratio
[NULL @ 046d7840] non-existing PPS 1 referenced=00:00:07.70 bitrate=2178.9kbits/s speed=4.51x
[NULL @ 046d7840] reference count 2 overflowime=00:00:09.30 bitrate=2255.0kbits/s speed=2.74x
[NULL @ 046d7840] non-existing PPS 1 referenced
frame= 63 fps= 15 q=-1.0 Lsize= 2781kB time=00:00:09.90 bitrate=2301.5kbits/s speed=2.41x
video:2780kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.054839% -
Programmatically sending bytes to ffmpeg via STDIN to create still image file
8 octobre 2019, par Sam MarroccoI am attempting to use vb.net code to send individual pixel information as bytes to ffmpeg with the purpose of saving a still DPX image file. I have already successfully read DPX files and output them via STDOUT into vb.net code.
There seem to be many examples out there of piping movie files but there are also discrepancies, such as some people using image2pipe and others using rawvideo. I am uncertain when to use one over the other. The various methods I’ve tried result in ffmpeg returned errors such as "Packet too small for DPX header" or "Error while decoding stream #0:0 : Invalid data found when processing input". As I understand it, I am not providing a header, only the raw individual pixel RGBRGBRGB.... values as a byte array.
The arguments sent to ffmpeg via command line are :
-f image2pipe -pix_fmt rgb24 -s 16x16 -bits_per_raw_sample 8 -c:v dpx -i - \MyPath\MyFilename.dpx
My vb.net code is as follows :
Dim P As New Process
P.StartInfo.FileName = m_FFMPEGExecutable_PathFile
P.StartInfo.Arguments = (see above arguments)
P.StartInfo.UseShellExecute = False
P.StartInfo.CreateNoWindow = True
P.StartInfo.RedirectStandardInput = True
p.Start
'Test image: A single red, green, blue, black and white pixel followed by all black
Dim Tiny((16 * 16) - 1) As Byte
Tiny(0) = 255
Tiny(1) = 0
Tiny(2) = 0
Tiny(3) = 0
Tiny(4) = 255
Tiny(5) = 0
Tiny(6) = 0
Tiny(7) = 0
Tiny(8) = 255
For i As byte = 9 To ((16x16)-1)
Tiny(i) = 255
Next
'Send the rgb byte array to ffmpeg:
P.StandardInput.BaseStream.Write(Tiny, 0, Tiny.Length)
P.StandardInput.Flush()
P.StandardInput.Close()I have tried many variations on the above ffmpeg arguments but cannot seem to avoid these errors. Any suggestions would be appreciated, including information on when to use image2pipe vs. rawvideo.