
Recherche avancée
Autres articles (42)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Configuration spécifique pour PHP5
4 février 2011, parPHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
Modules spécifiques
Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...) -
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 (5478)
-
Revision 31020 : max = 255, ça bloquait la création de la table sur certaine base
20 août 2009, par vincent@… — Logmax = 255, ça bloquait la création de la table sur certaine base
-
Revision 37427 : mmmh c’est l’inverse manuel écrit brutalement ... non manuel d’une manière ...
19 avril 2010, par kent1@… — Logmmmh c’est l’inverse manuel écrit brutalement ... non manuel d’une manière plus smooth
-
avio_open crashes, avcodec_copy_context doesn't work
5 mars 2017, par NulanoI’m trying to port https://ffmpeg.org/doxygen/trunk/doc_2examples_2remuxing_8c-example.html to JavaCPP Presets for FFmpeg https://github.com/bytedeco/javacpp-presets/tree/master/ffmpeg.
I have this so far :
av_register_all();
AVFormatContext inFmtCtx = new AVFormatContext(null);
if (avformat_open_input(inFmtCtx, "file.ts", null, null) != 0)
throw new Exception("Could not open input file");
if (avformat_find_stream_info(inFmtCtx, (PointerPointer)null) != 0)
throw new Exception("Failed to retrieve input stream information");
av_dump_format(inFmtCtx, 0, "file.ts", 0);
AVFormatContext outFmtCtx = new AVFormatContext(null);
avformat_alloc_output_context2(outFmtCtx, null, null, "file2.ts");
AVOutputFormat outFmt = outFmtCtx.oformat();
for (int i = 0; i < inFmtCtx.nb_streams(); i++) {
AVStream inStr = inFmtCtx.streams(i);
AVStream outStr = avformat_new_stream(outFmtCtx, inStr.codec().codec());
if (outStr.isNull()) throw new Exception("Failed allocating output stream");
if (avcodec_copy_context(outStr.codec(), inStr.codec()) != 0)
throw new Exception("Failed to copy context from input to"+
" output stream codec context");
if ((outFmtCtx.oformat().flags() & AVFMT_GLOBALHEADER) != 0)
outStr.codec().flags(outStr.codec().flags() | CODEC_FLAG_GLOBAL_HEADER);
}
av_dump_format(outFmtCtx, 0, "file2.ts", 1);
if ((outFmt.flags() & AVFMT_NOFILE) == 0)
if (avio_open(outFmtCtx.pb(), "file2.ts", AVIO_FLAG_WRITE) != 0)
throw new Exception("Could not open output file");The problem is, that the avio_open call causes the JVM to crash with an access violation.
Stack: [0x00000000037e0000,0x00000000038e0000], sp=0x00000000038df6d0, free space=1021k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [avformat-57.dll+0x28877]
C [jniavformat.dll+0x383cb]
C 0x0000000003bcdfcc
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j org.bytedeco.javacpp.avformat.avio_open(Lorg/bytedeco/javacpp/avformat$AVIOContext;Ljava/lang/String;I)I+0
j TestRemuxer.main([Ljava/lang/String;)V+226
v ~StubRoutines::call_stubThis is the output (without the crash message) :
Input #0, mpegts, from 'file.ts':
Duration: 00:00:17.60, start: 0.000000, bitrate: 1016 kb/s
Program 1
Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 636x480 [SAR 900:901 DAR 45:34], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 194 kb/s
Output #0, mpegts, to 'file2.ts':
Stream #0:0: Unknown: none
Stream #0:1: Unknown: noneI suspect the cause of the access violation is the same as what causes the output streams to be unknown. However, if I pause debugging on the second av_dump_format call, I can use Evaluate to verify, that the codecs were copied properly. (I checked the FFmpeg sources, and I know that a stream is dumped as Unknown, if and only if its codec_type is set to an invalid value, however the value is correctly 0 for the first stream and 1 for the second stream.)