
Recherche avancée
Médias (1)
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
Autres articles (55)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)
Sur d’autres sites (5215)
-
I would make the fadeout this code go to the volume 0.1 is possible
18 décembre 2015, par wildsonI would make the fadeout this code go to the volume 0.1 is possible ?
exec("ffmpeg -i audio.mp3 -af 'afade=t=out:st=30:d=5' out.mp3");
-
C++ code for ffmpeg terminal command [on hold]
17 janvier 2018, par KingWealthPlatform - Linux
I created a v4l2loopback device by following the guide.
The following terminal command is used to write the video testsrc.avi into the loopback device /dev/video1ffmpeg -re -i testsrc.avi -f v4l2 /dev/video1
Now the question is, I want the c++ code for the above mentioned to terminal comment.
Note - c++ code for
-f v4l2 /dev/video1
is enough too.The actual program and logic is really long and irrelevant to explain.
The problem is, i want to write ffmpeg avframes into the loopback device but using fwrite is giving disturbed output. -
undefined reference in ffmpeg (use code blocks)
6 février 2015, par Yonghao ZhaoI am currently testing a video encoding program using ffmepg codeblocks.I encountered several undefined reference warning. I have checked on internet and add extern "c" to the headers but it still doesnt work. Please help me check.
Here is part of the code :
extern "C" {
#include "libavcodec/avcodec.h"
#include "libavutil/channel_layout.h"
#include "libavutil/common.h"
#include "libavutil/imgutils.h"
#include "libavutil/mathematics.h"
#include "libavutil/samplefmt.h"
}
#include
#include "libavutil/opt.h"
static void video_encode_example(const char *filename, int codec_id)
{
AVCodec *codec;
AVCodecContext *c= NULL;
int i, ret, x, y, got_output;
FILE *f;
AVFrame *frame;
AVPacket pkt;
uint8_t endcode[] = { 0, 0, 1, 0xb7 };
printf("Encode video file %s\n", filename);
/* find the mpeg1 video encoder */
codec = avcodec_find_encoder(AV_CODEC_ID_H264);
if (!codec) {
fprintf(stderr, "Codec not found\n");
exit(1);
}
c = avcodec_alloc_context3(codec);
if (!c) {
fprintf(stderr, "Could not allocate video codec context\n");
exit(1);
}
int main(int argc, char **argv)
{
avcodec_register_all();
video_encode_example("test.mpg", AV_CODEC_ID_MPEG1VIDEO);
return 0;
}The error given :
||=== Build : Debug in ffmepg_video_en (compiler : GNU GCC Compiler) ===|
obj/Debug/main.o||In functionvideo_encode_example':|
codeblocksfile/ffmepg_video_en/main.cpp|36|undefined reference toavcodec_find_encoder’|
codeblocksfile/ffmepg_video_en/main.cpp|41|undefined reference toavcodec_alloc_context3'|
codeblocksfile/ffmepg_video_en/main.cpp|63|undefined reference toav_opt_set(void*, char const*, char const*, int)’|
codeblocksfile/ffmepg_video_en/main.cpp|65|undefined reference toavcodec_open2'|
codeblocksfile/ffmepg_video_en/main.cpp|74|undefined reference toav_frame_alloc’|
codeblocksfile/ffmepg_video_en/main.cpp|85|undefined reference toav_image_alloc(unsigned char**, int*, int, int, AVPixelFormat, int)'|
codeblocksfile/ffmepg_video_en/main.cpp|92|undefined reference toav_init_packet’|
codeblocksfile/ffmepg_video_en/main.cpp|112|undefined reference toavcodec_encode_video2'|
codeblocksfile/ffmepg_video_en/main.cpp|120|undefined reference toav_free_packet’|
codeblocksfile/ffmepg_video_en/main.cpp|126|undefined reference toavcodec_encode_video2'|
/home/yonghao/codeblocksfile/ffmepg_video_en/main.cpp|134|undefined reference toav_free_packet’|
codeblocksfile/ffmepg_video_en/main.cpp|140|undefined reference toavcodec_close'|
codeblocksfile/ffmepg_video_en/main.cpp|141|undefined reference toav_free’|
codeblocksfile/ffmepg_video_en/main.cpp|142|undefined reference toav_freep'|
codeblocksfile/ffmepg_video_en/main.cpp|143|undefined reference toav_frame_free’|
obj/Debug/main.o||In functionmain':|
codeblocksfile/ffmepg_video_en/main.cpp|151|undefined reference toavcodec_register_all’|
||=== Build failed : 16 error(s), 0 warning(s) (0 minute(s), 1 second(s)) ===|