
Recherche avancée
Médias (91)
-
Spoon - Revenge !
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
My Morning Jacket - One Big Holiday
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Zap Mama - Wadidyusay ?
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
David Byrne - My Fair Lady
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Beastie Boys - Now Get Busy
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Granite de l’Aber Ildut
9 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (73)
-
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" (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)
Sur d’autres sites (6919)
-
Unable to get a frame using ffmpeg [closed]
24 mars 2023, par PrakharI have an SRT stream, which I am listening on an Ubuntu server. I want to be able to take a frame as a PNG at any given time, so that I can analyze that image. Given that it's a live stream, I should not be defining time of when do I want to download the frame, it should be instantaneous.


I tried following but in vain


ffmpeg -i 'srt://10.174.190.221:5000?streamid=ABCDE' %04d.png



This just starts the streaming, and does not produce the PNG files. Output which I get on screen


Last message repeated 1 times
[h264 @ 0x7317c80] decode_slice_header error
[h264 @ 0x7317c80] non-existing PPS 0 referenced
[h264 @ 0x7317c80] decode_slice_header error
[h264 @ 0x7317c80] non-existing PPS 0 referenced
[h264 @ 0x7317c80] decode_slice_header error
[h264 @ 0x7317c80] non-existing PPS 0 referenced
[h264 @ 0x7317c80] decode_slice_header error
[h264 @ 0x7317c80] no frame!
[h264 @ 0x7317c80] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0x7317c80] decode_slice_header error
[h264 @ 0x7317c80] non-existing PPS 0 referenced
[h264 @ 0x7317c80] decode_slice_header error
[h264 @ 0x7317c80] non-existing PPS 0 referenced
[h264 @ 0x7317c80] decode_slice_header error
[h264 @ 0x7317c80] non-existing PPS 0 referenced
[h264 @ 0x7317c80] decode_slice_header error
[h264 @ 0x7317c80] no frame!
[h264 @ 0x7317c80] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0x7317c80] decode_slice_header error
[h264 @ 0x7317c80] non-existing PPS 0 referenced
[h264 @ 0x7317c80] decode_slice_header error
[h264 @ 0x7317c80] non-existing PPS 0 referenced
[h264 @ 0x7317c80] decode_slice_header error
[h264 @ 0x7317c80] non-existing PPS 0 referenced
[h264 @ 0x7317c80] decode_slice_header error
[h264 @ 0x7317c80] no frame!
[h264 @ 0x7317c80] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0x7317c80] decode_slice_header error
[h264 @ 0x7317c80] non-existing PPS 0 referenced
[h264 @ 0x7317c80] decode_slice_header error
[h264 @ 0x7317c80] non-existing PPS 0 referenced
[h264 @ 0x7317c80] decode_slice_header error
[h264 @ 0x7317c80] non-existing PPS 0 referenced
[h264 @ 0x7317c80] decode_slice_header error
[h264 @ 0x7317c80] no frame!
[h264 @ 0x7317c80] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0x7317c80] decode_slice_header error
[h264 @ 0x7317c80] non-existing PPS 0 referenced
[h264 @ 0x7317c80] decode_slice_header error
[h264 @ 0x7317c80] non-existing PPS 0 referenced
[h264 @ 0x7317c80] decode_slice_header error
[h264 @ 0x7317c80] non-existing PPS 0 referenced
[h264 @ 0x7317c80] decode_slice_header error
[h264 @ 0x7317c80] no frame!
[h264 @ 0x7317c80] non-existing PPS 0 referenced
 Last message repeated 1 times
[h264 @ 0x7317c80] decode_slice_header error
[h264 @ 0x7317c80] non-existing PPS 0 referenced
[h264 @ 0x7317c80] decode_slice_header error
[h264 @ 0x7317c80] non-existing PPS 0 referenced
[h264 @ 0x7317c80] decode_slice_header error
[h264 @ 0x7317c80] non-existing PPS 0 referenced
[h264 @ 0x7317c80] decode_slice_header error
[h264 @ 0x7317c80] no frame!

Input #0, mpegts, from 'srt://10.174.190.221:5000?streamid=ABCDE':
 Duration: N/A, start: 61221.726022, bitrate: N/A
 Program 1 
 Metadata:
 service_name : ABCDE
 service_provider: VITEC
 Stream #0:0[0x4da]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 59.94 fps, 59.94 tbr, 90k tbn
 Stream #0:1[0x2d](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 128 kb/s
Stream mapping:
 Stream #0:0 -> #0:0 (h264 (native) -> png (native))
Press [q] to stop, [?] for help
Finishing stream 0:0 without any data written to it.
Output #0, image2, to '%04d.png':
 Metadata:
 encoder : Lavf59.27.100
 Stream #0:0: Video: png, rgb24, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 59.94 fps, 59.94 tbn
 Metadata:
 encoder : Lavc59.37.100 png
frame= 0 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A speed= 0x 
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown



Would appreciate any help


-
Imageio unable to read webcam at correct framerate
28 mai 2019, par Jason Nick PorterI’m trying to read frames from a webcam and analyze them in realtime, but since my function
AnalyzeFrame()
is faster than the framerate, it ends up pulling the same frame 1-4 times in a row, messing up my data. Here’s basically what I’m running.import imageio
cam = imageio.get_reader('<video0>', fps=30)
while not cam.closed:
print(AnalyzeFrame(cam.get_next_data()))
</video0>A few notes : My webcam should be able to handle 30fps, but I’m averaging 12-14 fps. I’ve timed each individual process and there’s very little regularity to the framerate. Some frames only get analyzed once, because they’re in the buffer for 20 or so milliseconds. Others get analyzed 4 times over a span of 100+ ms. Is there something in my code that’s causing this framerate problem ?
-
Add metadata to flv files with ffmpeg instead of flvmdi
30 juillet 2012, par user1476852I have made a player for stream flv movies in flash with netstream but it needs some metadata information named " keyframe " containing two array of times and positions , some flv videos have this meta data and some not , i could add the keyframe metadata with a program named "flvmdi" and player worked properly , but i can`t install this software on my server for some reasons.
I know that we can add metadata to a movie with ffmpeg function in PHP .
Can i use ffmpeg function in PHP to add keyframe arrays as metadata to flv file ?
How can we make times and positions arrays to inject to a flv file with ffmpeg in php ?