
Recherche avancée
Autres articles (51)
-
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
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 (...)
Sur d’autres sites (5970)
-
Sending video stream from NodeJS to python in real time [closed]
17 juin 2021, par Tristan DelortI'm using a NodeJS server to catch a video stream through a WebRTC PeerConnection and I need to send it to a python script.


I use NodeJS mainly because it's easy to use WebRTC in it and the package 'wrtc' supports RTCVideoSink and python's aiortc doesn't.


I was thinking of using a named pipe with ffmpeg to stream the video stream but 3 questions arose :


- 

-
Should I use python instead of NodeJS and completely avoid the stream through a named pipe part ? (This means there is a way to extract individual frames from a MediaStreamTrack in python)


-
If I stick with the "NodeJS - Python" approach, how do I send the stream from one script to the other ? Named pipe ? Unix domain sockets ? And with FFMpeg ?


-
Finally, for performance purpose I think that sending a stream and not each individual frames is better and simpler but is this true ?










Thanks all !


-
-
ffmpeg shell script globbing
10 novembre 2015, par AD0AEI have a pretty straight forward question. I have a bunch of individual directories that are labeled as
./001 ./002 ... ./201
within each directory contains files that have the identifier*_IO.PNG
I can use the shell command :
ffmpeg -framerate 20 -pattern_type glob -i './066/*IO.PNG' -c:v libx264 -pix_fmt yuv420p 066.mp4
and this works great. It does exactly what I want.However, I tried to write a shell script, which is below but this does not work. It seems to be loading individual files instead of all of them at once. Any help would be appreciated.
#!/bin/bash
for i in {1..5}
do
FILE=$(printf %03d $i)
echo " This file: $FILE"
infile='./$FILE/*IO.PNG'
echo $infile
ffmpeg -framerate 20 -pattern_type glob -i $infile -c:v libx264 -pix_fmt yuv420p './$FILE.mp4'
done -
Parsing An ArrayList of BufferedImages From FFmpeg
4 juin 2015, par user3725743I am using FFmpeg in my java app to turn a video into an ArayList of BufferedImages. Im am using this code to split a video file into individual jpg frames :
builder.command(FFmpeg, "-i", "<video url="url">", "-vf", "fps=5,scale=128:128,format=rgb8,format=rgb24", "out%d.jpg");
</video>This produces a folder full of jpg frames, it works fine. But I would rather not write them to individual files, I would rather make that output turned into an ArrayList of BufferedImages, WITHOUT having to write each frame to a seperate file.
This should be what the command line would look like for the above code :
FFmpeg.exe -i <video url="url"> -vf fps=5,scale=128:128,format=rgb8,format=rgb24 out%d.jpg
</video>If its not possible to parse the ArrayList directly, what other solutions do I have which would be more elegant ?