
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (81)
-
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 (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
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
Sur d’autres sites (4661)
-
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 ?
-
GPUMp4Composer is Muting my video, when app is running on my phnone(android 10). But it is working fine in Emulator(android 9)
11 juillet 2020, par Monis KhanI am using GPUMp4Composer for adding two things :
-Filter
-Watermark


Both the things are working correctly in the emulator (android 9).
But the resulted video from GPUMp4Composer does not have any sound (muted) when I am using the app on my phone (android 10).


This is my code :


Bitmap watermark = BitmapFactory.decodeResource(getResources(), R.drawable.watermark);
 new GPUMp4Composer(srcMp4Path, destMp4Path)
 .size(540, 960)
 .videoBitrate((int) (0.25 * 16 * 540 * 960))
 .filter(new GlFilterGroup(FilterType.createGlFilter(filterTypes.get(select_postion), getApplicationContext())))
 .filter(new GlWatermarkFilter(watermark))
 .mute(false)
 .listener(new GPUMp4Composer.Listener() {
 @Override
 public void onProgress(double progress) {

 Log.d("resp",""+(int) (progress*100));

 }

 @Override
 public void onCompleted() {

 Log.i("watermark & filter","Completed");
 
 }

 @Override
 public void onCanceled() {

 Log.d("resp", "onCanceled");

 }

 @Override
 public void onFailed(Exception exception) {

 Log.d("resp",exception.toString());

 }
 })
 .start();



This only happens when I merge audio(aac file) with my video and remove the original video.


-
Python FileNotFoundError : [Errno 2] No such file or directory : 'ffprobe' on Synology
24 juillet 2022, par Junn SorranI was making a small python 3.8 script to sort photos and videos according to their metadata on my Synology NAS (working on DSM 7.0), overall it works well on ubuntu but it fails on the NAS with this error :




FileNotFoundError : [Errno 2] No such file or directory : 'ffprobe'




I've been searching everywhere for help on this issue, I saw this post and tried the solutions but I still got the error on any video I try to read metadata from.


ffmpeg is installed and so are ffmpeg-python and ffprobe-python


Here's my test code :


from datetime import datetime
import ffmpeg

name = "VID_20200130_185053.mp4"
path = "/volume1/photo/phone/DCIM/Camera/"
data_keys = ["DateTimeOriginal", "DateTime", "creation_time"]
file = f"{path}{name}"
print(file)
vid = ffmpeg.probe(file)['streams']
# vid = ffprobe.FFProbe(file).streams
for key in data_keys:
 if key in vid[0]['tags']:
 print(datetime.strptime(vid[0]['tags'].get(key).split('T')[0], "%Y-%m-%d"))