
Recherche avancée
Médias (91)
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
-
USGS Real-time Earthquakes
8 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
-
Creativecommons informational flyer
16 mai 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (64)
-
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 (4123)
-
how to redirect adb screenrecord output to pc(windows/linux) storage
30 novembre 2018, par asullahercIn linux, I use following code to cast android screen to pc, it work well
adb shell "screenrecord --time-limit 1 --output-format=h264 -; screenrecord --time-limit 180 --output-format=h264 -" | ffplay -
so I think exist way to redirect screenrecord output to pc storage, so I try following code
adb shell "screenrecord --time-limit 1 --output-format=h264 -; screenrecord --time-limit 180 --output-format=h264 -" >> /tmp/t.mp4
but the output video file cannot be opened by vlc and google-chrome, how to fix it ?
ffplay is belongs ffmpeg, so I guess exist similar cli in ffmpeg to output input video streaming into video file
-
Python, FFMPEG : Redirecting output of FFMPEG subprocess call to a string
31 décembre 2019, par user1452030I’ve managed to run an FFMPEG command using the subprocess module as shown below :
output = subprocess.check_output(command, shell=True)
This works fine, but it prints the verbose FFMPEG output to console. The program I’m writing is supposed to run for hundreds/thousands of files in a batch and I don’t want detailed outputs for every file processed, unless the user chooses to do so. Can I redirect the console outputs and errors to strings, so that I can decide when I should and shouldn’t print them ?
This might be lame, but I tried the following snippet :
outputBuffer = BytesIO()
output = subprocess.check_output(command, shell=True, stdout=outputBuffer)But it gave me the following error :
ValueError: stdout argument not allowed, it will be overridden.
I saw other examples where the
POpen
interface was used, but given that I’m not communicating with the external command as it is running, and that I need to run this for a large number of items, I’d prefer something simpler, if possible.Thanks in advance !
Note : I’ve found lots of questions in this broad topic, but I couldn’t find anything perfectly relevant to my situation.
-
Publish local .mp4 video from android to wowza using FFmpeg
13 mars 2016, par Parth DoshiI am trying to publish a local .mp4 video from my sdcard to wowza using the ffmpeg java wrapper.
I have used the library for executing ffmpeg commands on Android
On Android, my code looks as follows :
FfmpegController objController = new FfmpegController(MainActivity.this, new File("/tmp"));
//objController.installBinaries(MainActivity.this,true);
mFfmpegBin = objController.installBinary(MainActivity.this, R.raw.ffmpeg, "ffmpeg", true);
//no just extract the audio
ArrayList<string> cmd = new ArrayList<string>();
//-f dshow -i video="Integrated Camera" out.mp4
cmd.add(mFfmpegBin);
//cmd.add("-sample_fmts");
cmd.add("-re");
cmd.add("-i");
cmd.add("/sdcard/sample.mp4");
cmd.add("-c");
cmd.add("copy");
cmd.add("-f");
cmd.add("flv");
cmd.add("rtsp://192.168.1.35:1936/live/myStream");
objController.execFFMPEG(cmd, new ShellUtils.ShellCallback() {
@Override
public void shellOut(String shellLine) {
// TODO Auto-generated method stub
System.out.println("shell out" + " " +shellLine);
}
@Override
public void processComplete(int exitValue) {
// TODO Auto-generated method stub
System.out.println("process complete::" + " " +exitValue);
}
});
}catch(Exception ex){
ex.printStackTrace();
}
}
</string></string>Now, when I execute the command, I get the following logs
shell out Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/sdcard/sample.mp4':
shell out rtmp://192.168.1.35:1936/live/myStream: Protocol not foundWhy is the protocol not supported on Android. When I run the same ffmpeg command from windows command line using ffmpeg then it works fine.
The command is,
ffmpeg -re -i sample.mp4 -c copy -f flv rtmp ://192.168.1.35:1936/live/myStream
Can please someone help ?