
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (78)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (7677)
-
FFMpeg UDP streaming - random split video effect
12 janvier 2018, par PhilmacsI’m trying to get a simple local preview of my webcam from an FFMpeg udp stream using an embedded Mplayer window. I can view the live stream using MPlayer but the image is unstable. I’m using the following FFMpeg command :
ffmpeg -f dshow -video_size 640x480 -i video="Lenovo EasyCamera" -an -f rawvideo -pix_fmt yuyv422 -r 15 udp://127.0.0.1:1234
And this is the MPlayer command :
mplayer -demuxer rawvideo -rawvideo fps=15:w=640:h=480:format=yuy2 -nofs -noquiet -identify -idle -slave -nomouseinput -framedrop -wid 1051072
Sometimes the stream image is OK, but intermittently the image tears randomly and this is how it looks (sorry, not enough rep for images in posts)
I have tried with FFPlay to see if it’s a problem with MPlayer, but I get the same result :
ffplay -s 640x480 -pix_fmt yuyv422 -f rawvideo -i udp://127.0.0.1:1234
This effect is happening at random. If I stop and restart the video might be OK, or it may look like the above. Using aything other than udp and rawvideo adds a delay to the video stream, which I want to avoid.
The FFMpeg streaming guide suggest methods when you get packet loss, but as far as I’m aware I don’t seem to be getting that.
I’m new to FFMpeg/Mplayer/video streaming and any help or thoughts greatly appreciated.
-
rtsp method SETUP failed : 453 Not Enough Bandwith
23 janvier 2018, par Eric ZhangOn my raspberry pi 3+B, I’m using
ffmpeg+ffserver
to streaming two cams.I run both commands at the background :
raspivid -o - t 0 -w 640 -h 480 -fps 25 -n | ffmpeg -i - -crf 26 -preset ultrafast http://localhost:1234/feed1.ffm
python cam.py | ffmpeg -f rawvideo -vcodec rawvideo -s 80x60 -pix_fmt bgr24 -r 26 -i - -an -vcodec libx264 -preset ultrafast http://localhost:123/feed2.ffmI have a laptop running a python script to read cam from raspberry pi via wireless.
When I read them individually, Each of them works fine. However, I get
rtsp method SETUP failed: 453 Not Enough Bandwith
when I try to read them at the same time.Any idea ?
Thanks
-
Create a mosaic of multiple input videos and stream them using FFMPEG
23 janvier 2018, par Ahmad RahmaniI want to create a mosaic of multiple stream input videos and stream the output realtime.
i used this code :ffmpeg -i http://192.168.1.1:3005/13 -i http://192.168.1.1:3005/12 -i http://192.168.1.1:3005/15 -i http://192.168.1.1:3005/16 -filter_complex "nullsrc=size=640x480 [base]; [0:v] setpts=PTS-STARTPTS, scale=320x240 [upperleft]; [1:v] setpts=PTS-STARTPTS, scale=320x240 [upperright]; [2:v] setpts=PTS-STARTPTS, scale=320x240 [lowerleft]; [3:v] setpts=PTS-STARTPTS, scale=320x240 [lowerright]; [base][upperleft] overlay=shortest=1 [tmp1]; [tmp1][upperright] overlay=shortest=1:x=320 [tmp2]; [tmp2][lowerleft] overlay=shortest=1:y=240 [tmp3]; [tmp3][lowerright] overlay=shortest=1:x=320:y=240" -f mjpeg udp://192.168.1.2:1234
but its not working.what is the correct command to do that ?
here is the end of the log :
Metadata :
encoder : Lavf57.83.100
Stream #0:0 : Video : mpeg2video (Main), yuv420p, 640x480 [SAR 1:1 DAR4:3],q=2-31, 200 kb/s, 25 fps, 90k tbn, 25 tbc (default)
Metadata :
encoder : Lavc57.107.100 mpeg2video
Side data :
cpb : bitrate max/min/avg : 0/0/200000 buffer size : 0 vbv_delay : -1
Stream #0:1(eng) : Audio : mp2, 48000 Hz, stereo, s16, 384 kb/s (clean effects)
Metadata :
encoder : Lavc57.107.100 mp2frame= 32 fps=0.0 q=31.0 size= 248kB time=00:00:02.19 bitrate=923.1kbits/frame= 84 fps= 84 q=31.0 size= 456kB time=00:00:04.40 bitrate= 848.6kbits/
[http @ 00000000004fa4c0] Stream ends prematurely at 1950500, should be 18446744073709551615
[h264 @ 00000000032a55c0] error while decoding MB 12 20, bytestream -9 http://192.168.1.1:1234:3005/13 : I/O error
Last message repeated 9 timesframe= 129 fps= 85 q=31.0 Lsize= 743kB time=00:00:06.32 bitrate= 961.9kbits
/s speed=4.19x
video:364kB audio:297kB subtitle:0kB other streams:0kB global headers:0kB muxing
overhead : 12.360500%