
Recherche avancée
Autres articles (61)
-
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 (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
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 (...)
Sur d’autres sites (4891)
-
node js (or other) as streaming server
20 décembre 2013, par Abdul AliApologies if a simple question but cannot find anything helpful . Am also new to the streaming concept.
Goal is to set up a server which keeps on listening for data on a speific port. The user will be sending sequence of images from their iphone (# of images unknown).
when the data is receieved, ffmpeg should start to get data from that port (as input) and send those images to ffserver to be streamed as a live video.
did try Nginx-Rtmp module but the iphone developer have informed that in iphone, only ip and port can be given to open a stream (and no other part of the url can be given e.g. streamname and application name in case of nginx-rtmp)
Any help and guide will be appreciatd that what can be used to set up a free and very simple sever that simply receives the images which ffmpeg can capture and send to ffserver .
-
Extract specific frames of youtube video without downloading video
22 janvier 2023, par Kashish AroraI need to extract specific frames of an online video to work on an algorithm but I don't want to download the whole video because that would make it highly inefficient.


For starters, I tried working with youtube videos. I can download whole of the video using
youtube-dl
in this way :

ydl_opts = {'outtmpl': r'OUTPUT_DIRECTORY_HERE',}
with youtube_dl.YoutubeDL(ydl_opts) as ydl:
 ydl.download([url])



And then I can capture individual frames.


I need to avoid downloading the whole video. After some research, I have found that
ffmpeg
might help me do this. I found no way to download just the frames so if this is not possible, the second option is that I can download specific portions of the video. One such example in linux is here but I couldn't find any solution for python.

What is a good way to download just the frames, or portions of videos (in python) without downloading the entire thing ?


-
NReco.VideoConverter.ConvertLiveMedia
12 décembre 2022, par PsychosocialI get an exception when trying to write a raw image to
ConvertLiveMedia
:



System.IO.IOException : "Канал был закрыт.


System.IO.IOException : "The channel has been closed."




var ffMpeg = new NReco.VideoConverter.FFMpegConverter();
var frame = Bitmap.FromFile("source.jpg");
var bytes = ImageToByte(frame);

using (var fs = new FileStream("output.mp4", FileMode.Create))
{
 var mediaTask = ffMpeg.ConvertLiveMedia(Format.raw_video, fs, Format.mp4, new ConvertSettings()
 { 
 });
 
 mediaTask.Start();

 for (int f = 0; f < frames; f++)
 {
 mediaTask.Write(bytes, 0, bytes.Length); //exception here channel was closed
 }
 mediaTask.Stop();
}