
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (101)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (12824)
-
calling ffmpeg from java on android [closed]
8 mai 2012, par LiorPossible Duplicate :
FFMPEG on AndroidCurrently I have a java application that calls ffmpeg process with parameters.
This works fine under Windows because I just run another process.
I want to call the same method in ffmpeg api under android os.What should I do in order to have minimal change in code and transform the same thing to android ?
How can I call, using java, a specific method in ffmpeg api under the android os.
thank you !
-
Merge commit ’f1ccd076801444ab7f524cb13e0886faaf10fd50’
17 décembre 2015, par Hendrik LeppkesMerge commit ’f1ccd076801444ab7f524cb13e0886faaf10fd50’
* commit ’f1ccd076801444ab7f524cb13e0886faaf10fd50’ :
h264 : do not call frame_start() for missing framesNot merged, FFmpeg does a lot more in frame_start to setup missing frames
as well (like coloring them), and the overhead of the other setup is
minimal.Merged-by : Hendrik Leppkes <h.leppkes@gmail.com>
-
Libav FFv1 read_quant_table decoding errors
16 novembre 2023, par flanselI am having trouble encoding and decoding video using the 'ffv1' codec. Interestingly when the width and height are 640 or less, this works correctly, but with any "large" frame size such as 1280x720 I get the follow errors ...


[ffv1 @ 0x5612f4ab2240] read_quant_table error
[ffv1 @ 0x5612f4ab2240] Cannot decode non-keyframe without valid keyframe



Are there any options which need to be set, or am I doing something else incorrectly, I made the example very minimal, I am aware that I am not writing an image to the frame and simply allocating garbage in the buffers among other things.
Thanks in advance.


// minimal example
// ...
#define FRAMES (500)

int main(int argc, char **argv)
{
 AVCodecContext *enc, *dec;
 AVFrame *frame = av_frame_alloc();
 AVFrame *decoded_frame = av_frame_alloc();
 AVPacket *packet = av_packet_alloc();
 AVPacket *padded_packet = av_packet_alloc();

 const AVCodec *enc_codec = avcodec_find_encoder_by_name("ffv1");
 const AVCodec *dec_codec = avcodec_find_decoder_by_name("ffv1");
 enc = avcodec_alloc_context3(enc_codec);
 dec = avcodec_alloc_context3(dec_codec);

 enc->width = 1280;
 enc->height = 720;
 enc->pix_fmt = AV_PIX_FMT_YUV420P;
 enc->time_base.num = 1001;
 enc->time_base.den = 60000;

 dec->width = enc->width;
 dec->height = enc->height;

 avcodec_open2(enc, enc_codec, NULL);
 avcodec_open2(dec, dec_codec, NULL);

 frame->height = enc->height;
 frame->width = enc->width;
 frame->format = enc->pix_fmt;
 av_frame_get_buffer(frame, 32);
 printf("frame linesz %i,%i,%i\n", frame->linesize[0], frame->linesize[1], frame->linesize[2]);

 for (int i = 0; i < FRAMES; ++i)
 {
 avcodec_send_frame(enc, frame);
 while (!avcodec_receive_packet(enc, packet))
 {
 av_new_packet(padded_packet, packet->size + AV_INPUT_BUFFER_PADDING_SIZE);
 padded_packet->size -= AV_INPUT_BUFFER_PADDING_SIZE;

 memset(padded_packet->data, 0, padded_packet->size);
 memcpy(padded_packet->data, packet->data, packet->size);
 printf("frame %i encoded %i bytes\n", i, padded_packet->size);
 if (!avcodec_send_packet(dec, padded_packet))
 {
 printf("sent bytes to decoder\n");
 }
 }

 while (!avcodec_receive_frame(dec, decoded_frame))
 {
 printf("decoded frame height %i, width %i\n", decoded_frame->height, decoded_frame->width);
 }
 usleep(16000);
 }
 return 0;
}