
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (37)
-
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 -
Submit enhancements and plugins
13 avril 2011If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone. -
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" (...)
Sur d’autres sites (4724)
-
FFMPEG undefined reference to `avdevice_register_all'
23 février 2016, par user3177342I’m trying to build simple programm using ffmpeg
#include
#include
#define __STDC_CONSTANT_MACROS
extern "C" {
#include <libavcodec></libavcodec>avcodec.h>
#include <libavformat></libavformat>avformat.h>
#include <libavformat></libavformat>avio.h>
#include <libavdevice></libavdevice>avdevice.h>
#include <libavutil></libavutil>time.h>
}
#include <iostream>
int main( int argc, char* argv[] )
{
AVCodec *icodec;
AVFormatContext *ifcx = NULL;
AVInputFormat *ifmt;
AVCodecContext *iccx;
AVStream *ist;
AVStream *ost;
AVPacket pkt;
int i_index;
int64_t timenow, timestart;
int got_key_frame = 0;
AVFormatContext *ofcx;
const char *sProg = argv[ 0 ];
const char *sFileInput;
const char *sFileOutput;
int64_t bRunTime;
bRunTime = atoi( argv[ 2 ] ) * 1000000;
// Initialize library
av_log_set_level( AV_LOG_DEBUG );
av_register_all();
avcodec_register_all();
avformat_network_init();
avdevice_register_all();
</iostream>And i get these errors
g++ -o rtsp3 -I/usr/include -I/usr/local/include rtsp3.cpp -lavformat -lavcodec -lavutil -lm -lz -lva -lpthread
/tmp/ccAXDgvi.o : In functionmain':
rtsp3.cpp:(.text+0x115): undefined reference toavdevice_register_all’
/usr/local/lib/libavformat.a(matroskadec.o) : In functionmatroska_decode_buffer':
/home/user/projects/ffmpeg-git/ffmpeg/libavformat/matroskadec.c:1242: undefined reference toBZ2_bzDecompressInit’
/home/user/projects/ffmpeg-git/ffmpeg/libavformat/matroskadec.c:1257 : undefined reference toBZ2_bzDecompress'
/home/user/projects/ffmpeg-git/ffmpeg/libavformat/matroskadec.c:1250: undefined reference toBZ2_bzDecompressEnd’
/home/user/projects/ffmpeg-git/ffmpeg/libavformat/matroskadec.c:1262 : undefined reference to `BZ2_bzDecompressEnd’
collect2 : error : ld returned 1 exit statusI have git version of ffmpeg and successfully compiled it and make install.
-
How many "Ruby on Rails" sites can be hosted using sub url in apache configuration file on apache4 with passenger4 on Ubuntu server ?
17 octobre 2013, par user1731249Server's Hardware config :
Ubuntu server 12.04, CPU : dual code (64-bit), RAM : 8GB, Disk : 200GB.Server's Software config :
Apache2, Passenger4, Rails4, ruby2, MySQL.I'm developing a Ruby on Rails website which performs following tasks.
- Upload a series of images as zip.
- Extract zip images to temp directory.
- Convert series of images to video using FFMPEG.
- updating video info in MySQL db
- Viewing the video in HTML5 video tag.
Maximum length of single video being 1min and on an average there may be 50 videos to be converted per day. I created three copies (Don't ask me why !) of same website and hosting three sites as sub-URLs like "example.com" being the domain and example.com/site1, example.com/site2, example.com/site3. Below is the Apache configuration :
RailsAutoDetect offServerName 127.0.0.1
DocumentRoot /home/ubuntuuser/work/public
ErrorDocument 404 /404.html
RailsBaseURI /site1
<directory></directory>home/ubuntuuser/work/site1/advisor/public>
Allow from all
Options -MultiViews
RailsEnv production
RailsBaseURI /site2
<directory></directory>home/ubuntuuser/work/site2/advisor/public>
Allow from all
Options -MultiViews
RailsEnv production
RailsBaseURI /site3
<directory></directory>home/ubuntuuser/work/site3/advisor/public>
Allow from all
Options -MultiViews
RailsEnv production
How many such sites can I host with sub-URLs without big performance drag ?
Also please help to do a performance test for all the sub-URLs. -
FFmpeg Android compilation : command not found
18 février 2019, par maxestSo I’m trying to build, on Ubuntu, FFmpeg from sources. Here’s a script I assembled from here and there :
#!/bin/bash
NDK=$HOME/Desktop/adt/android-ndk-r19b
SYSROOT=$NDK/platforms/android-26/arch-arm/
TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64
function build_one
{
./configure
--prefix=$PREFIX
--arch=arm
--target-os=linux
--enable-cross-compile
--cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi-
--sysroot=$SYSROOT
--extra-cflags="-Os -fpic $ADDI_CFLAGS"
--extra-ldflags="$ADDI_LDFLAGS"
$ADDITIONAL_CONFIGURE_FLAG
make clean
make -j9
make install
}
CPU=arm
PREFIX=$(pwd)/android/$CPU
ADDI_CFLAGS="-marm"
build_oneUnfortunately I get a list of following outputs :
ffbuild/config.sh is unchanged
./build_android_2.sh: line 26: --prefix=/home/maxest/Desktop/adt/android-ndk-r19b/sources/ffmpeg-4.1/android/arm: No such file or directory
./build_android_2.sh: line 27: --arch=arm: command not found
./build_android_2.sh: line 28: --target-os=linux: command not found
./build_android_2.sh: line 29: --enable-cross-compile: command not found
./build_android_2.sh: line 30: --cross-prefix=/home/maxest/Desktop/adt/android-ndk-r19b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-: No such file or directory
./build_android_2.sh: line 31: --sysroot=/home/maxest/Desktop/adt/android-ndk-r19b/platforms/android-26/arch-arm/: No such file or directory
./build_android_2.sh: line 32: --extra-cflags=-Os -fpic -marm: command not found
./build_android_2.sh: line 34: --extra-ldflags=: command not foundI’ve double checked all the paths are correct. Although I create by hand folder
/home/maxest/Desktop/adt/android-ndk-r19b/sources/ffmpeg-4.1/android/arm
because there were no folderandroid/arm
.