
Recherche avancée
Médias (2)
-
Granite de l’Aber Ildut
9 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
Autres articles (112)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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 (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (11322)
-
About java.lang.UnsatisfiedLinkError:org.bytedeco.javacpp.avutil
7 juin 2017, par Noo LiI try to work it out a couple days. But it didn’t work.
Below is full error logs :
02-19 09:41:31.239 17753-17753/com.superdata.cxim E/art: dlopen("/system/lib64/libdl.so", RTLD_LAZY) failed: dlopen failed: cannot locate symbol "__cxa_finalize" referenced by "/system/lib64/libdl.so"...
02-19 09:41:31.317 17753-17753/com.superdata.cxim E/art: dlopen("/data/app/com.superdata.cxim-1/lib/arm64/libavutil.so", RTLD_LAZY) failed: dlopen failed: "/data/app/com.superdata.cxim-1/lib/arm64/libavutil.so" is 32-bit instead of 64-bit
02-19 09:41:31.359 17753-17753/com.superdata.cxim E/InputEventReceiver: Exception dispatching input event.
02-19 09:41:31.360 17753-17753/com.superdata.cxim E/MessageQueue-JNI: Exception in MessageQueue callback: handleReceiveCallback
02-19 09:41:31.361 17753-17753/com.superdata.cxim E/MessageQueue-JNI: java.lang.UnsatisfiedLinkError: org.bytedeco.javacpp.avutil
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:309)
at org.bytedeco.javacpp.Loader.load(Loader.java:390)
at org.bytedeco.javacpp.Loader.load(Loader.java:358)
at org.bytedeco.javacpp.avcodec$AVPacket.<clinit>(avcodec.java:1407)
at com.superdata.cxim.ui.camera.javacv.FFmpegFrameRecorder.<init>(FFmpegFrameRecorder.java:252)
at com.superdata.cxim.ui.camera.recorder.WXLikeVideoRecorder.initRecorder(WXLikeVideoRecorder.java:174)
at com.superdata.cxim.ui.camera.recorder.WXLikeVideoRecorder.startRecording(WXLikeVideoRecorder.java:278)
at com.superdata.cxim.ui.camera.main.NewRecordVideoActivity.startRecord(NewRecordVideoActivity.java:158)
at com.superdata.cxim.ui.camera.main.NewRecordVideoActivity.onTouch(NewRecordVideoActivity.java:234)
at android.view.View.dispatchTouchEvent(View.java:8656)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2523)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2114)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2523)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2114)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2523)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2114)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2523)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2114)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2523)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2114)
at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2511)
at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1807)
at android.app.Activity.dispatchTouchEvent(Activity.java:2841)
at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2468)
at android.view.View.dispatchPointerEvent(View.java:8873)
at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4831)
at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4689)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4188)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4241)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4207)
at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4344)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4215)
at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4401)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4188)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4241)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4207)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4215)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4188)
at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:6645)
at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:6619)
at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:6572)
at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6812)
at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:148)
at android.os.Looper.loop(Looper.java:151)
</init></clinit> -
ffmpeg amr codec non-interleaving
4 décembre 2018, par AcrobatPlease tell me how to ffmpeg for speech encoding (wav) in AMR format, disable interleaving ??? I can’t find that flag. By default, the output AMR frame is encoded according to the standard ETSI TS 126 101 https://www.etsi.org/deliver/etsi_ts/126100_126199/126101/11.00.00_60/ts_126101v110000p.pdf
int main()
{
AVCodec *codec;
AVCodecContext *c = NULL;
AVFrame *frame;
AVPacket *pkt = NULL;
int i, j, k, ret, got_output;
int buffer_size;
FILE *f;
uint16_t *samples;
float t, tincr;
codec = avcodec_find_encoder(AV_CODEC_ID_AMR_NB);
if (!codec) {
fprintf(stderr, "Codec not found\n");
exit(1);
}
c = avcodec_alloc_context3(codec);
if (!c) {
fprintf(stderr, "Could not allocate audio codec context\n");
exit(1);
}
c->sample_rate = 8000;
c->bit_rate = 12200;
c->channels = 1;
c->sample_fmt = AV_SAMPLE_FMT_S16;
c->channel_layout = AV_CH_LAYOUT_MONO;
c->av_class->option->flags
if (avcodec_open2(c, codec, NULL) < 0) {
fprintf(stderr, "Could not open codec\n");
exit(1);
}
pkt = av_packet_alloc();
if (!pkt) {
fprintf(stderr, "could not allocate the packet\n");
exit(1);
}
frame = av_frame_alloc();
if (!frame) {
fprintf(stderr, "Could not allocate audio frame\n");
exit(1);
}
frame->nb_samples = c->frame_size;
frame->format = c->sample_fmt;
frame->sample_rate = c->sample_rate;
frame->channel_layout = av_get_default_channel_layout(c->channels);
frame->flags;
/* setup the data pointers in the AVFrame */
ret = av_frame_get_buffer(frame, 0);
if (ret < 0) {
fprintf(stderr, "Could not allocate audio data buffers\n");
exit(1);
}
/* encode a single tone sound */
t = 0;
tincr = 2 * M_PI * 440.0 / c->sample_rate;
FILE *output;
output = fopen("file.amr", "wb");
for (i = 0; i < 200; i++) {
/* make sure the frame is writable -- makes a copy if the encoder
* kept a reference internally */
ret = av_frame_make_writable(frame);
if (ret < 0)
exit(1);
samples = (uint16_t*)frame->data[0];
for (j = 0; j < c->frame_size; j++) {
samples[j] = (int)(sin(t) * 10000);
t += tincr;
}
/* encode the samples */
//frame->flags = AVFrame::flags
ret = avcodec_send_frame(c, frame);
if (ret < 0) {
fprintf(stderr, "Error sending the frame to the encoder\n");
exit(1);
}
// while (ret >= 0)
{
ret = avcodec_receive_packet(c, pkt);
if (ret == AVERROR(EAGAIN) || ret == AVERROR_EOF)
return 0;
else if (ret < 0) {
fprintf(stderr, "Error encoding audio frame\n");
exit(1);
}
fwrite(pkt->data, 1, pkt->size, output);
av_packet_unref(pkt);
}
}
system("PAUSE");}
i.e. the packat after coding is exposed shifts of bits, according to the table of the standard : enter image description here
enter image description here how to force the coder, not to use interleaving ??? -
Extracting Frames form Video in Android [closed]
2 juillet 2024, par Muhammad BilalI want to extract frames from video and want to change the frames at that point where i extracted the frames.


I have scene apps like Video Status Maker(https://play.google.com/store/apps/details?id=com.krishna.videostatusmaker), Vidify (https://play.google.com/store/apps/details?id=com.beautifullyrical.videomaker). These apps are using template videos. In my view there is a json file behind the video which exactly tells where the frames should be replaced in the video. I checked out the FFmpeg. It is giving me the frames but as i said there must be file which tells where the frames should be replaced. If anyone Knows how this can be done then please guide me. Thanks