
Recherche avancée
Autres articles (71)
-
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 (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, 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 (5416)
-
m3u8-segmenter not compiling
15 novembre 2012, par Publiccertroot@ip-**-**-**-**:/home/jeff/m3u8-segmenter# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for sys/types.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for memmove... yes
checking for memset... yes
checking for strrchr... yes
checking for strtol... yes
./configure: line 4160: PKG_PROG: command not found
./configure: line 4161: syntax error near unexpected token `FFMPEG,'
./configure: line 4161: `PKG_CHECK_MODULES(FFMPEG, libavformat libavcodec libavutil)'All my dependencies are in place, including FFMPEG, PKG_PROG, etc but I'm getting these errors and at a loss. Any ideas ?
-
Révision 108131 : [ux] Placer la prévisualisation du forum sous le forum (au lieu de dessus)
20 décembre 2017, par erational@erational.org -
FFMPEG zip stream c++
26 janvier 2018, par Javier RamírezI have the following code at the start to load a video from a file
SwsContext *img_convert_ctx = NULL;
AVFormatContext *pFormatCtx = NULL;
AVCodecContext *pCodecCtx = NULL;
AVCodec *pCodec = NULL;
AVFrame *pFrameRGB = NULL;
AVFrame *pFrame = NULL;
uint8_t *buffer = NULL;
AVPacket packet;
av_register_all();
if(avformat_open_input(&pFormatCtx,"video.avi",NULL,NULL) != 0)return GL_FALSE;
if(avformat_find_stream_info(pFormatCtx,NULL) < 0)return GL_FALSE;
av_dump_format(pFormatCtx,0,"video.avi",0);
pCodecCtx = pFormatCtx->streams[0]->codec;
pCodec = avcodec_find_decoder(pCodecCtx->codec_id);
if(pCodec == NULL)return GL_FALSE;
if(avcodec_open2(pCodecCtx,pCodec,NULL) < 0)return GL_FALSE;
pFrame = av_frame_alloc();
pFrameRGB = av_frame_alloc();
GLint numBytes;
numBytes = avpicture_get_size(AV_PIX_FMT_RGB24,pCodecCtx->width,pCodecCtx->height); //obsoleto
buffer = (uint8_t *)av_malloc(numBytes*sizeof(uint8_t));
avpicture_fill((AVPicture *)pFrameRGB,buffer,AV_PIX_FMT_RGB24,pCodecCtx->width,pCodecCtx->height); //obsoleto
img_convert_ctx = sws_getContext(pCodecCtx->width,pCodecCtx->height,pCodecCtx->pix_fmt,pCodecCtx->width,pCodecCtx->height,AV_PIX_FMT_RGB24,SWS_BICUBIC,NULL,NULL,NULL);
GLuint fotograma;
GLuint vboLienzo;
GLuint vboImagen;
GLuint CuadroAnc;
GLuint CuadroAlt;
double ticks = 0.0;
int frameFin = 0;
glGenTextures(1,&fotograma);
glBindTexture(GL_TEXTURE_RECTANGLE_ARB,fotograma);
glTexParameteri(GL_TEXTURE_RECTANGLE_ARB,GL_TEXTURE_MIN_FILTER,GL_LINEAR);
glTexParameteri(GL_TEXTURE_RECTANGLE_ARB,GL_TEXTURE_MAG_FILTER,GL_LINEAR);
glTexImage2D(GL_TEXTURE_RECTANGLE_ARB,0,GL_RGB,pCodecCtx->width,pCodecCtx->height,0,GL_RGB,GL_UNSIGNED_BYTE,NULL);
CuadroAnc = pCodecCtx->width;
CuadroAlt = pCodecCtx->height;
GLfloat anc = (GLfloat)pCodecCtx->width/2;
GLfloat alt = (GLfloat)pCodecCtx->height/2;
GLfloat datos[8] = {-anc,alt,-anc,-alt,anc,-alt,anc,alt};
GLfloat dtext[8] = {0.0,0.0,0.0,alt*2.0f,anc*2.0f,alt*2.0f,anc*2.0f,0.0};
glGenBuffers(1,&vboLienzo);
glBindBuffer(GL_ARRAY_BUFFER,vboLienzo);
glBufferData(GL_ARRAY_BUFFER,sizeof(datos),datos,GL_STATIC_DRAW);
glGenBuffers(1,&vboImagen);
glBindBuffer(GL_ARRAY_BUFFER,vboImagen);
glBufferData(GL_ARRAY_BUFFER,sizeof(dtext),dtext,GL_STATIC_DRAW);But now I want to read the video from a zip file. I already have how to extract the data from the zip file, but I do not know what function of ffmpeg I should use to read the data from the zip file.