
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (42)
-
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
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 -
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 (...)
Sur d’autres sites (7495)
-
When converting video through ffmepg show error
9 septembre 2019, par KrunalI am trying to convert video through ffmepg but its show this error
"Error initializing output stream 1:0 — Error while opening encoder for output stream #1:0 - maybe incorrect parameters such as bit_rate, rate, width or height".
Its working fine on my system but facing the issue on server.Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
encoder : Lavf58.20.100
Stream #0:0(eng): Video: h264 (libx264), yuv420p, 426x240, q=-1--1, 400 kb/s, 23.98 fps, 90k tbn, 23.98 tbc (default)
Metadata:
creation_time : 2019-07-15T08:22:53.000000Z
handler_name : Core Media Video
encoder : Lavc58.35.100 libx264
Side data:
cpb: bitrate max/min/avg: 428000/0/400000 buffer size: 600000 vbv_delay: -1
Stream #0:1(und): Audio: aac (LC), 48000 Hz, stereo, fltp, 64 kb/s (default)
Metadata:
creation_time : 2019-07-15T08:22:53.000000Z
handler_name : Core Media Audio
encoder : Lavc58.35.100 aac
[libx264 @ 0x6501780] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
Error initializing output stream 1:0 -- Error while opening encoder for output stream #1:0 - maybe incorrect parameters such as bit_rate, rate, width or heigh -
FFMPEG, the penultimate image from the .txt file doesn't show in the video
25 octobre 2019, par ArmKhI’m trying to create a video from the images using
ffmeg
. Actually, the creating of the video works but there is a small problem. I have a text file with the names of the images (paths) which I’m using in the video. The file looks like thisfile 'image1.jpg'
file 'image2.jpg'
file 'image3.jpg'
file 'image4.jpg'
file 'image5.jpg'And the ffmeg command is following
ffmpeg -y -r 1/5 -f concat -safe 0 -i imagenames.txt -i some_audio.mp3 -c:v libx264 -vf fps=30 -pix_fmt yuv420p -t 30 output.mp4
This video should keep the frame on every image for 5 seconds. But the problem is the penultimate image
( image4 in this case )
is not being shown in the video. So, it keeps onimage3
10 seconds and moves toimage5
So, the video in seconds looks like this
[image1] -> [image2] -> [image3] -> [image4] -> [image5]
5sec 5sec 10sec 0sec 5secAnd the problem is not with the
image4
exactly. In case of swappingimage3
andimage4
, the video will skipimage3
[image1] -> [image2] -> [image4] -> [image3] -> [image5]
5sec 5sec 10sec 0sec 5secHope you’ll have any suggestions to fix this issue
-
ffmpeg libfdk-aac open coder error and show The encoder timebase is not set
28 octobre 2019, par RodStewardI try to encode some pcm data,and I compile ffmpeg for myself with libfdk-aac,but When I use a aac encoder,It shows timebase is not set,but aac data seems not need a timebase,and even I set the timebase,it shows the same error again
here is the Initializationcode :
AVCodec *pCodec;
AVCodecContext *pCodecCtx = NULL;
int i, ret, got_output;
FILE *fp_in;
FILE *fp_out;
AVFrame *pFrame;
uint8_t* frame_buf;
int size = 0;
AVPacket pkt;
int y_size;
int framecnt = 0;
char filename_in[] = "tdjm.pcm";
AVCodecID codec_id = AV_CODEC_ID_AAC;
char filename_out[] = "tdjm.aac";
int framenum = 1000;
avcodec_register_all();
pCodec = avcodec_find_encoder_by_name("libfdk_aac");
if (!pCodec) {
printf("Codec not found\n");
return -1;
}
pCodecCtx = avcodec_alloc_context3(pCodec);
if (!pCodecCtx) {
printf("Could not allocate video codec context\n");
return -1;
}
//pCodecCtx->codec_id = codec_id;
pCodecCtx->codec_type = AVMEDIA_TYPE_AUDIO;
pCodecCtx->sample_fmt = AV_SAMPLE_FMT_S16;
pCodecCtx->sample_rate = 44100;
pCodecCtx->channel_layout = AV_CH_LAYOUT_STEREO;
pCodecCtx->channels = av_get_channel_layout_nb_channels(pCodecCtx->channel_layout);
pCodecCtx->bit_rate = 64000;
pCodecCtx->time_base = AVRational{1,10};
if (avcodec_open2(pCodecCtx, pCodec, NULL) < 0) {
printf("Could not open codec\n");
return -1;
}