
Recherche avancée
Autres articles (2)
-
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)
Sur d’autres sites (1634)
-
How is better to use ffmpeg with the ASP.NET Core, on Linux ?
26 mars, par user8245660I've got the project (ASP.NET Core, on Linux) where are the several tasks, which relate to the video converting and extracting frames from the video file.



I thought about the two possible options :



- 

- using
ffmpeg
console utility - using
P/Invoke
with thelibavcodec
library and others, whichffmpeg
uses







The second option is miles harder and may be very impractical, because it reminds me developing the new wrapper/library, instead of using the ready products.



I've done googling, but there aren't well-done projects for the C#/ASP.NET Core on Linux platform. There are some good for C++ and Python, but NOT for the C# on Linux/.NET Core.



I decided to look at the first option, which I suppose would be more easier and practical. But, there are some weak places, which can produce many problems. We understand (I suppose), that using the 1st option, the end-developer shall use the process forking. So, there could be possible problems with the process idle and other possible issues...



I'm asking about your practice, because it's my first experience on Linux platform with the video converting/sampling using C#. I've used the Expression Encoder .NET library on Windows platform, but it's other story and it makes no sense, right now.



May be, there are other options, which I can't see right at the moment. I dislike the 1st option because of possible unhandled exceptions, because
ffmpeg
with such role becomes the black box for the ASP.NET Core backend.

- using
-
Ffmpeg : Scale+crop video then overlay image ?
8 juillet 2019, par skitzoThis is my first SO question. Help me help you help me : does this question need any clarification ?
Goal : A script that makes Instagram-ready videos with audio, and a logo overlay. The script takes in an audio and video source and combines them. Important : the logo should have a consistent position and size for each video. This probably means that all output videos should have the same width x height.
Any alternate approaches are welcome !
The ffmpeg command I’m calling from python is below. I try to scale the video to 720 :-2 (so auto-height), then crop a 500x500 square from the center. The choices of 720 and 500 are arbitrary ; better approaches are welcome.
ffmpeg -i video.mp4 -i logo.png -i audio.mp3 -filter_complex "[0:v]scale=720:-2,crop=500:500[bg];[bg][1:v] overlay=(W-w)/2:(H-h)/2" -pix_fmt yuv420p -map 0:v -map 2:a -shortest + output.mp4
This script errors on some videos.
[Parsed_crop_1 @ 0x7fcf96401f00] Invalid too big or non positive size for width '500' or height '500'
[Parsed_crop_1 @ 0x7fcf96401f00] Failed to configure input pad on Parsed_crop_1I’m new to ffmpeg so please guide me to correct usage of filter_complex. Thank you !
-
Stream microphone from iOS and Android to ffmpeg on server [on hold]
22 août 2019, par DemosthenesTo be perfectly clear : The problem here is that ffserver has been dropped, and I find all alternatives proposed (such as gstreamer) too complicated to get into. If anybody wants to propose ffserver, it has been removed from ffmpeg, years ago actually, and is no longer maintained, and thus no option anymore.
I want something simple : I want to stream the microphone from a mobile device to an ffmpeg process. So, the device encodes audio (let’s say aac but it really doesn’t matter), and I have the data ready for sending. I can send it somewhere, but I cannot open a server on the phone hosting a stream.
What I want to be done : The data shall be processed, in real time, by an ffmpeg process running on a server. That process can be spawned on demand when needed, the handshake for this is not a problem.
My problem : It seems to me that ffmpeg cannot listen on a port for a stream as input, but only actively connect to another server to retrieve the input stream.
I’m looking for a simple solution to get this done. Writing a small program (almost any language, really) is not an issue. One solution I’ve been thinking about was writing a Python script or C++ program as the server and linking that against ffmpeg and feeding the audio data inside this program to ffmpeg. That’s not actually what I want, I would like to just pipe the data through the ffmpeg executable, but would be a last resort.
Does anybody have an idea for a simple solution for this ?