
Recherche avancée
Médias (1)
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
Autres articles (43)
-
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 -
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 (8637)
-
how to put image files from one folder to make a video in python
23 septembre 2015, par Gaurav16I have written a code to collect all image files from one folder, so that I can make a video out of it.
But while compiling I getting an error saying
"Error creating movie, return code: 4 Try running with --verbose-debug"
#import numpy as np
import matplotlib.pyplot as plt
import matplotlib.animation as animation
import glob, os
from PIL import Image
fig = plt.figure()
#size = 128, 128
ims=[]
#print(len(ims))
#im=Image.open(ims[5])
#im.show()
for infile in glob.glob("*.png"):
file, ext = os.path.splitext(infile)
im = Image.open(infile)
im1=plt.imshow(im)
ims.append([im1])
print(len(ims))
ani = animation.ArtistAnimation(fig, ims)
ani.save('MovWave.mpeg', writer="ffmpeg")
plt.show() -
How to record a 5 second video on Raspberry Pi 3 with USB webcam ?
16 mars 2023, par FeengineerHi i tried to record a video whit a USB-webcam on my RaspberryPi.
When i type
ffplay /dev/video0
I do see a live video, but when i try to record it withffmpeg
the video output is like a black screen with like the traffic cone in my VLC media player. I tried saving the video as a .mkv and .mp4 file. Anyone know how to fix this ?

The code i used to record a video is :
ffmpeg -f v4l2 -t 5 -framerate 25 -video_size 640x480 -i /dev/video0 output.mkv
andffmpeg -f v4l2 -t 5 -framerate 25 -video_size 640x480 -i /dev/video0 output.mp4

The video did show up in the folder, but it doesn't show video when opening.

edit : I fixed it now by changing the file type to .avi, but if anyone can still explain how to get .mkv or .mp4, let me know :)


-
Process Multiple Streams using ffmpeg-python
27 novembre 2019, par C DormanI have a MPEG-2 TS with a stream of video and a steam of KLV metadata. I can use ffmpeg-python to process each of these streams independently. For example, I can get the video stream, process each frames using numpy as shown in the docs. I can also get the data stream and show it in following way (using the library klvdata) :
process = (
ffmpeg
.input(in_filename)
.output('pipe:', format='data', codec='copy', map='data-re')
.run_async(pipe_stdout=True, pipe_stderr=True)
)
for packet in klvdata.StreamParser(process.stdout.read()):
packet.structure()
process.wait()How do I do these at the same time ? I need to split the TS data into its streams and process them both, keeping them in sync. ffmpeg by itself can demultiplex the streams into separate files, but how do I handle the streams in python. The KLV has information that I want to show on top of the video stream (recognition boxes).