
Recherche avancée
Médias (2)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (29)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (4620)
-
Previewing mp4 video of cv2s VideoWriter not possible
19 juin 2024, par user22614632I am writing a machine learning football analysis system, and I want to store the result video as seen in the code block. I can see the video normally under Windows' media player, but in VSCode and Streamlit, I can't open/show the video.


Edit : On Mac, it works perfectly well.


def save_video(frames: List[np.ndarray], path: str, fps: int=24) -> None:
 fourcc = cv2.VideoWriter_fourcc(*"avc1") # codec for compressing the video
 out = cv2.VideoWriter(filename=path, fourcc=fourcc, fps=fps, frameSize=(frames[0].shape[1], frames[0].shape[0]))
 
 for frame in frames:
 out.write(frame)
 
 # close video file and release ressources
 out.release() 



I thought it might be a slightly different mp4 ? I also used mp4v for fourcc, didn't help.


-
Previewing mp4 video of cv2s VideoWriter not possible
19 juin 2024, par JanSknI am writing a machine learning football analysis system, and I want to store the result video as seen in the code block. I can see the video normally under Windows' media player, but in VSCode and Streamlit, I can't open/show the video.


Edit : On Mac, it works perfectly well.


def save_video(frames: List[np.ndarray], path: str, fps: int=24) -> None:
 fourcc = cv2.VideoWriter_fourcc(*"avc1") # codec for compressing the video
 out = cv2.VideoWriter(filename=path, fourcc=fourcc, fps=fps, frameSize=(frames[0].shape[1], frames[0].shape[0]))
 
 for frame in frames:
 out.write(frame)
 
 # close video file and release ressources
 out.release() 



I thought it might be a slightly different mp4 ? I also used mp4v for fourcc, didn't help.


-
ffprobe Fastest way to read video packets
12 novembre 2018, par secondplaceI’ve been using ffprobe to read packets from video streams for analysis. However it’s painfully slow. A 30min 720p video takes roughly 8min to read.
I’m using the following command at the moment :ffprobe.exe -i video.mp4 -show_entries packet=size,pts_time,flags,duration_time
This gives me the following information for every packet :
[PACKET]
pts_time=1981.392000
duration_time=0.032000
size=1536
flags=K_
[/PACKET]I did read a fair bit in the documentation but it looks like this is just it or is there a way to make this faster ?
Or would there be any alternative CLI tool to get the above information from a video faster ?