
Recherche avancée
Autres articles (66)
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...) -
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...) -
Encodage et transformation en formats lisibles sur Internet
10 avril 2011MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)
Sur d’autres sites (10227)
-
How to stop ffmpeg video recording in c# ?
23 octobre 2016, par 최영재I am using FFmpeg in application and it start and record video perfectly
but when I want to stop it ask for press "q", I got a System.EntryPointNotFoundException Error message.How can I send message "q" to process which is in running state from application
int key_q = 81;
[DllImport("user32.dll", EntryPoint = "postmessage")]
private static extern bool postmessage(IntPtr hwnd, uint msg, int wparam, int lparam);
private void button_stop_Click(object sender, EventArgs e)
{
string process = "ffmpeg";
Process[] pro = Process.GetProcessesByName("ffmpeg");
pro[0].Refresh();
IntPtr h = pro[0].MainWindowHandle;
postmessage(h, 0x100, key_q, 0);
} -
How to debug ffmpeg c code used in IJKmediaplayer ?
15 août 2015, par Daniyal YasinI am trying to use the libstagefright codec of ffmpeg to decode an mp4 file using IJKmediaplayer on android. IJKmediaplayer is sort of a wrapper enabling the use of ffmpeg on Android.
This is the link giving basic info about ijkmediaplayer : https://github.com/Bilibili/ijkplayer
The link also describes the build process for ijkmediaplayer. First ffmpeg is built then the shared libraries are copied to appropriate places and then I have to import the project in eclipse.
I use the ijkmediaplayer android project in eclipse as a library project in another android application. The structure is like this :
|-ijkmediaplayer
| |-jni
| |-ffmpeg (this folder doesn't have the complete source just headers)
| |-ijkmedia (some c source files of ijkmediaplayer)
|
|-my_projectSo my question is how do I debug libstagefright.cpp from my application ?
Libstagefright.cpp is contained in the ffmpeg source not visible in the android ijkmediaplayer project. But used when building the ijkmediaplayer android project as described in the link.
The debugger easily reaches the code of the ijkmediaplayer android project. But does not proceed to the native code automatically if I press f5.
-
Catch "Unfortunately 'app' has stopped working" Error
2 juillet 2015, par cadesalaberryI am using a very unstable library on Android that crashes sporadically. I start it using the
startActivity()
in my code.The unstable part of the code is doing a lot of video processing and uploading the result to a server. I do not really mind if the activity crashes, but I need to signal the server that it did.
The crash comes from a memory leak (no time to solve it yet). Is there a way I can catch the error a display a more friendly/funny message instead ?
try {
context.startActivity(intent);
} catch (ApplicationCrashedException e) {
server.notifyServerOfCrash();
toast("I really disliked your face...");
}Edit : Here is the Error :
java.lang.OutOfMemoryError
at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
at java.nio.MemoryBlock.allocate(MemoryBlock.java:125)
at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:72)
at io.cine.android.streaming.FFmpegMuxer.writeSampleData(FFmpegMuxer.java:151)
at io.cine.android.streaming.AndroidEncoder.drainEncoder(AndroidEncoder.java:128)
at io.cine.android.streaming.TextureMovieEncoder.handleFrameAvailable(TextureMovieEncoder.java:264)
at io.cine.android.streaming.TextureMovieEncoder$EncoderHandler.handleMessage(TextureMovieEncoder.java:409)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at io.cine.android.streaming.TextureMovieEncoder.run(TextureMovieEncoder.java:219)
at java.lang.Thread.run(Thread.java:841)For some reason once the
BroadcastActivity
runs out of memory, the Activity gets killed and comes back to the previous one. It then displays the ’app’ has stopped working Dialog. If I press OK, it kills the entire application and comes back to the home screen.Ideally I would just have it come back to the previous activity notifying the server silently. (Not killing the application)