
Recherche avancée
Autres articles (18)
-
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users. -
MediaSPIP Player : problèmes potentiels
22 février 2011, parLe lecteur ne fonctionne pas sur Internet Explorer
Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)
Sur d’autres sites (2604)
-
Xcode shows error when trying to use FFMpeg
8 octobre 2019, par Tony.LeeI try to use FFMpeg in my iOS project. It’s weird when I import
libavcodec/avcodec.h
and
libavformat/avformat.h
, Xcode show error : " ’TestViewController’ cannot use ’super’ because it is a root class ".Everything is OK before I import the two file above and even I comment these two line codes, it shows this error still. And one more thing, Xcode cannot autocomplete to
NSLog
when I typensl
.Codes can run without any problem, but when writing codes it show those annoying error messages.
-
FFPMEG command to record screen works only from cmd on windows but not from my Java class
21 mars 2024, par Youssef Hammoumai have a JUNIT test that uses a Java class called ScreenRecordingWatcher where i specified my ffpmeg command to record the computer when my test fails.


But unfortunately, my command only works from my cmd and not from my class, On both sides it generates successfully my file, but when it is generated from my Java class, the file is not readable from my windows player (0xc10100be error).


Here is the command i am using :


C:\outils\ffmpeg-master-latest-win64-gpl\bin\ffmpeg.exe -f gdigrab -framerate 30 -i desktop -c:v h264_nvenc -qp 0 C:\outils\video\output.mkv



Here is the same command from my class :


public class ScreenRecordingWatcher extends TestWatcher {

private static final String FFMPEG_PATH = "C:\\outils\\ffmpeg-master-latest-win64-gpl\\bin\\ffmpeg.exe";
private static final String OUTPUT_FILE = "C:\\outils\\video\\fichier.mkv";
private boolean testFailed = false;

@Override
protected void failed(Throwable e, Description description) {

 super.failed(e, description);
 testFailed = true;
}

@Override
protected void finished(Description description) {
 super.finished(description);
 if (testFailed) {
 startRecording();

 try {
 Thread.sleep(5000);

 } catch (InterruptedException e) {
 throw new RuntimeException(e);
 }
 stopRecording();
 }
}

private void startRecording() {
 String[] command = { FFMPEG_PATH, "-f", "gdigrab", "-framerate", "30", "-i", "desktop", "-c:v", "h264_nvenc", "-qp", "0", OUTPUT_FILE };

 System.out.println(Arrays.toString(command));
 ProcessBuilder builder = new ProcessBuilder(command);
 try {
 builder.start();
 } catch (IOException e) {
 e.printStackTrace();
 }
}

private void stopRecording() {
 String[] command = { "tskill", "ffmpeg" };
 ProcessBuilder builder = new ProcessBuilder(command);
 try {
 builder.start();
 } catch (IOException e) {
 throw new RuntimeException(e);
 }
}



}


Does someone have an idea of why it executes well from my cmd but not from my class ?


Thank you in advance


-
Evolution #3987 : Ne pas supprimer les crédits à la compression CSS
18 août 2017, par tetue tetueValoriser les crédits dans plugin.xml, c’est super interne (puisque ça concerne une population hyper minoritaire de spipmestres lecteurs de ces infos) mais c’est bien aussi, mais ça ne résout pas le problème qui est pire : on les supprime du code source des pages web !
L’exclamation dans les commentaires CSS
/*! */
marque l’importance et doit échapper à la compression, ce que respecte la minification via LESS et SASS par exemple.Ce n’est certes pas un pur dysfonctionnement technique, mais ça pose un problème moral qui me semblait assez grave pour justifier une priorisation.