
Recherche avancée
Autres articles (62)
-
Utilisation et configuration du script
19 janvier 2011, parInformations spécifiques à la distribution Debian
Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
Récupération du script
Le script d’installation peut être récupéré de deux manières différentes.
Via svn en utilisant la commande pour récupérer le code source à jour :
svn co (...) -
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 (...) -
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
Sur d’autres sites (4624)
-
How to install this nodejs Application
15 février 2016, par metalbughttps://github.com/hexator/live4chan
i have VMware run ubuntu-14.10-server and 15.10-server
sudo apt-get install -y
git mongodb imagemagick libcairo2-dev libjpeg8-dev
libpango1.0-dev libgif-dev build-essential g++ ffmpeg curlinstall success
git clone https://github.com/hexator/live4chan.git;
cd live4chan;
npm installbut have errors
test@ubuntu:~/live4chan$ npm start
LiveChan@0.0.1 start /home/test/live4chan
node lib/index.js
Missing certificate or private key
Running with insecure server
info - socket.io started
connect.limit() will be removed in connect 3.0
connect.multipart() will be removed in connect 3.0
visit https://github.com/senchalabs/connect/wiki/Connect-3.0 for alternatives
connect.limit() will be removed in connect 3.0
module.js:340
throw err;
^
Error: Cannot find module 'carrier'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/test/ircd.js/lib/server.js:24:15)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
npm ERR! Linux 4.2.0-16-generic
npm ERR! argv "node" "/usr/local/bin/npm" "start"
npm ERR! node v0.10.42
npm ERR! npm v3.7.2
npm ERR! code ELIFECYCLE
npm ERR! LiveChan@0.0.1 start: node lib/index.js
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the LiveChan@0.0.1 start script 'node lib/index.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the LiveChan package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node lib/index.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs LiveChan
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls LiveChan
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/test/live4chan/npm-debug.log
==========================================================
/home/test/live4chan/npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ 'node', '/usr/local/bin/npm', 'start' ]
2 info using npm@3.7.2
3 info using node@v0.10.42
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle LiveChan@0.0.1~prestart: LiveChan@0.0.1
6 silly lifecycle LiveChan@0.0.1~prestart: no script for prestart, continuing
7 info lifecycle LiveChan@0.0.1~start: LiveChan@0.0.1
8 verbose lifecycle LiveChan@0.0.1~start: unsafe-perm in lifecycle true
9 verbose lifecycle LiveChan@0.0.1~start: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/home/test/live4chan/node_modules/.bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
10 verbose lifecycle LiveChan@0.0.1~start: CWD: /home/test/live4chan
11 silly lifecycle LiveChan@0.0.1~start: Args: [ '-c', 'node lib/index.js' ]
12 silly lifecycle LiveChan@0.0.1~start: Returned: code: 8 signal: null
13 info lifecycle LiveChan@0.0.1~start: Failed to exec start script
14 verbose stack Error: LiveChan@0.0.1 start: node lib/index.js
14 verbose stack Exit status 8
14 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:239:16)
14 verbose stack at EventEmitter.emit (events.js:98:17)
14 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)
14 verbose stack at ChildProcess.emit (events.js:98:17)
14 verbose stack at maybeClose (child_process.js:766:16)
14 verbose stack at Process.ChildProcess._handle.onexit (child_process.js:833:5)
15 verbose pkgid LiveChan@0.0.1
16 verbose cwd /home/test/live4chan
17 error Linux 4.2.0-16-generic
18 error argv "node" "/usr/local/bin/npm" "start"
19 error node v0.10.42
20 error npm v3.7.2
21 error code ELIFECYCLE
22 error LiveChan@0.0.1 start: node lib/index.js
22 error Exit status 8
23 error Failed at the LiveChan@0.0.1 start script 'node lib/index.js'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the LiveChan package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error node lib/index.js
23 error You can get information on how to open an issue for this project with:
23 error npm bugs LiveChan
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls LiveChan
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]I tried this :
npm install carrierOr an error.
and install Other versions of nodejs
wget http://nodejs.org/dist/latest-v0.10.x/node-v0.10.42.tar.gz
wget http://nodejs.org/dist/latest-v0.12.x/node-v0.12.10.tar.gz
wget http://nodejs.org/dist/latest-v4.x/node-v4.3.0.tar.gz
wget http://nodejs.org/dist/latest-v5.x/node-v5.6.0.tar.gz
tar zxvf node-v4.3.0.tar.gz
cd node-v4.3.0
./configure
make
sudo make installNothing happened
please help me
Or you can tell me how to install, detailed, thank you very much ! -
FFMPEG gives an error for rtp_mpegts on fedora
6 mars 2017, par chaitanya kiranWhile executing below ffmpeg command on fedora 21 i m facing "Requested output format ’rtp_mpegts’ is not a suitable output format" ; whereas same works on Ubuntu any ideas please.
ffmpeg -f v4l2 -i /dev/video0 -s 720x480 -pix_fmt yuv420p -vcodec h264 -r 30 -g 15 -ar 0 -streamid 0:48 -bf 2 -f rtp_mpegts rtp://239.0.32.0:50000
ffmpeg version 2.4.11 Copyright (c) 2000-2015 the FFmpeg developers
built on Aug 26 2015 19:46:08 with gcc 4.9.2 (GCC) 20150212 (Red Hat
4.9.2-6) configuration : —prefix=/usr —bindir=/usr/bin —datadir=/usr/share/ffmpeg —incdir=/usr/include/ffmpeg —libdir=/usr/lib —mandir=/usr/share/man —arch=i686 —optflags=’-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong —param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables’ —enable-bzlib —disable-crystalhd —enable-frei0r —enable-gnutls —enable-ladspa —enable-libass —enable-libcdio —enable-libdc1394 —disable-indev=jack —enable-libfreetype —enable-libgsm —enable-libmp3lame —enable-openal —enable-opencl —enable-libopencv —enable-libopenjpeg —enable-libopus —enable-libpulse —enable-libschroedinger —enable-libsoxr —enable-libspeex —enable-libtheora —enable-libvorbis —enable-libv4l2 —enable-libvpx —enable-libx264 —enable-libx265 —enable-libxvid —enable-x11grab —enable-avfilter —enable-avresample —enable-postproc —enable-pthreads —disable-static —enable-shared —enable-gpl —disable-debug —disable-stripping —shlibdir=/usr/lib —cpu=i686 —enable-runtime-cpudetect libavutil 54. 7.100 / 54. 7.100 libavcodec 56. 1.100 / 56. 1.100 libavformat 56. 4.101 /
56. 4.101 libavdevice 56. 0.100 / 56. 0.100 libavfilter 5. 1.100 / 5. 1.100 libavresample 2. 1. 0 / 2. 1. 0 libswscale 3. 0.100 / 3. 0.100 libswresample 1. 1.100 /
1. 1.100 libpostproc 53. 0.100 / 53. 0.100 Input #0, video4linux2,v4l2, from ’/dev/video0’ : Duration : N/A, start :
554538.584009, bitrate : 199065 kb/s
Stream #0:0 : Video : rawvideo (YUY2 / 0x32595559), yuyv422, 1920x1080, 199065 kb/s, 6 fps, 6 tbr, 1000k tbn, 1000k tbc[NULL @ 0x8e94d00] Requested output format ’rtp_mpegts’ is not a suitable output format rtp ://239.0.32.0:50000 : Invalid argument
-
libffmpeg.so Not Executing ffmpeg 2.8.4 Commands
27 janvier 2016, par Chirag Darji- libffmpeg.so is not working with command line arguments
- I have successfully compiles ffmpeg and get static libffmpeg.so library.
- I installed using android.mk and its installed successfully
-
but unable to execute ffmpeg command.
*My build.sh is as follows
function build_r8b_test
{
bash configure --target-os=linux \
--arch=arm \
--cpu=cortex-a8 \
--enable-runtime-cpudetect \
--prefix=$PREFIX \
--enable-pic \
--disable-shared \
--enable-static \
--enable-cross-compile \
--cc=$PREBUILT/bin/arm-linux-androideabi-gcc \
--cross-prefix=$PREBUILT/bin/arm-linux-androideabi- \
--sysroot="$PLATFORM" \
--extra-cflags="-I../x264 -mfloat-abi=softfp -mfpu=neon -fPIE -pie -fPIC -DANDROID -marm -march=armv7-" \
--extra-ldflags="-L../x264 -L$PREBUILT/lib/gcc/arm-linux-androideabi/4.9" \
--extra-libs="-lgcc" \
--enable-gpl \
--enable-version3 \
--enable-nonfree \
--disable-doc \
--enable-yasm \
--enable-decoders \
--enable-encoders \
--enable-muxers \
--enable-demuxers \
--enable-parsers \
--enable-protocols \
--enable-filters \
--disable-indevs \
--disable-outdevs \
--enable-hwaccels \
--disable-ffmpeg \
--disable-ffplay \
--disable-ffprobe \
--disable-ffserver \
--disable-network \
--enable-zlib \
--enable-demuxer=mov \
--enable-demuxer=h264 \
--enable-protocol=file \
--enable-avformat \
--enable-avcodec \
--enable-decoder=rawvideo \
--enable-decoder=mjpeg \
--enable-decoder=h263 \
--enable-decoder=mpeg4 \
--enable-decoder=h264 \
--enable-parser=h264 \
--enable-encoder=mpeg4 \
--disable-asm \
--enable-neon \
--enable-armv5te \
--disable-network \
--enable-avfilter \
--disable-avdevice \
--enable-postproc \
$ADDITIONAL_CONFIGURE_FLAG
make clean
make
make -j4 install
$PREBUILT/bin/arm-linux-androideabi-ld -rpath- link=$PLATFORM/usr/lib -L$PLATFORM/usr/lib -soname libffmpeg.so -shared -nostdlib -z noexecstack -Bsymbolic --whole-archive --no-undefined -o $PREFIX/libffmpeg.so libavcodec/libavcodec.a libavformat/libavformat.a libavutil/libavutil.a libavfilter/libavfilter.a libpostproc/libpostproc.a libswresample/libswresample.a libswscale/libswscale.a -lc -lm -lz -ldl -llog --warn-search-mismatch --dynamic-linker=/system/bin/linker $PREBUILT/lib/gcc/arm-linux-androideabi/4.9/libgcc.a
}
#arm v7vfpv3
CPU=armv7-a
OPTIMIZE_CFLAGS="-mfloat-abi=softfp -mfpu=vfpv3-d16 -marm -march=$CPU "
PREFIX=./android/$CPU
ADDITIONAL_CONFIGURE_FLAG=
build_r8b_test
* and my androi.mk is as follow
LOCAL_PATH := $(call my-dir)
APP_ABI := armeabi-v7a
include $(CLEAR_VARS)
LOCAL_MODULE =myffmpeg
LOCAL_SRC_FILES :=libffmpeg.so
include $(PREBUILT_SHARED_LIBRARY)
include $(CLEAR_VARS)
PATH_TO_FFMPEG_SOURCE:=$(LOCAL_PATH)/ffmpeg
LOCAL_C_INCLUDES += $(PATH_TO_FFMPEG_SOURCE)
LOCAL_MODULE=ffmpeg-jni
LOCAL_LDLIBS := -L/home/admin/android-sdk-linux/ndk-bundle/platforms/android-21/arch-arm/usr/lib -L$(LOCAL_PATH) -llog -ljnigraphics -lz -ldl -lgcc -lm
LOCAL_SRC_FILES := ffmpeg-jni.c ffmpeg/cmdutils.h ffmpeg/cmdutils.c ffmpeg/ffmpeg.h ffmpeg/ffmpeg_opt.c ffmpeg/ffmpeg_filter.c
LOCAL_SHARED_LIBRARIES:=myffmpeg
include $(BUILD_SHARED_LIBRARY)- I have successfully installed armeabi obj and armeabi-v7a
But it is not works simple ffmpeg command like (ffmpeg -y -i /mnt/sdcard/app.mp4 /mnt/sdcard/app.mkv).
Applciation is terminate at ret = ffmpeg_parse_options(argc, argv) ; in ffmpeg-jni.c
which is copied from ffmpeg.c.
If i am doing wrond build please help me to get out this.
- I have successfully installed armeabi obj and armeabi-v7a