
Recherche avancée
Médias (9)
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (104)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Initialisation de MediaSPIP (préconfiguration)
20 février 2010, parLors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
Dans un premier temps il active ou désactive des options de SPIP qui ne le (...) -
Participer à sa documentation
10 avril 2011La documentation est un des travaux les plus importants et les plus contraignants lors de la réalisation d’un outil technique.
Tout apport extérieur à ce sujet est primordial : la critique de l’existant ; la participation à la rédaction d’articles orientés : utilisateur (administrateur de MediaSPIP ou simplement producteur de contenu) ; développeur ; la création de screencasts d’explication ; la traduction de la documentation dans une nouvelle langue ;
Pour ce faire, vous pouvez vous inscrire sur (...)
Sur d’autres sites (11298)
-
subprocess Task fail after 8min when run inside Flask or BaseHTTPServer
6 août 2015, par jthemovieI’m doing live HLS encoding with ffmpeg, and i usually run it via a python program as follow (i made some shortcuts...) :
import subprocess
def main():
subprocess.Popen("ffmpeg -i .... (live hls encoding)", shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
if __name__ == '__main__':
main()And everything works like a charm, but when i use Flask or BaseHTTPServer, the very same weird behaviour occurs.
After around 8min (more or less few seconds), the program stop responding and the encoding stop.
import subprocess
from flask import Flask, url_for, request, json, Response
@app.route('/api/v2/livetv', methods = ['POST'])
def api_live():
subprocess.Popen("ffmpeg -i .... (live hls encoding)", shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
return "-"
if __name__ == '__main__':
app.run(host='127.0.0.1', port=5001,debug=True)I tried using BaseHTTPServer, the very same behaviour occurs, it usually stop encoding after the segment number 46, or 47, which correspond at those 8 min.
I have no idea why this behavior occurs. For example, the first script, once terminated, the ffmpeg will continue in background, while if i terminate the script with the web server, the ffmpeg program will exit as well.
So if anyone could help me out with that, i would be more than glad.
Thanks a lot for your help.
Regards
ps : if interested , my ffmpeg line look like this :
/usr/bin/ffmpeg -user-agent "A User Agent" -headers "X-Forwarded-For:x.x.x.x"$’\r\n’ -re -i "http://..../index_2000_av-p.m3u8" -c:v libx264 -profile:v baseline -preset medium -x264opts level=41 -b:v 500k -s 600x340 -g 90 -bf 2 -c:a copy -f hls -hls_list_size 20 -hls_time 10 -hls_flags delete_segments -hls_segment_filename /var/www/livestream/"segment%03d.ts" /var/www/livestream/playlist.m3u8
-
Compiling x264 on a Mac : "No working C compiler found" and "arm-linux-androideabi-gcc : command not found"
29 novembre 2014, par Xavi GilI am trying to compile the
x264
library for Android, following this post.I have cloned the x264 project
git clone git://git.videolan.org/x264.git
and tried to compile with the following configuration :NDK=~/development/android-ndk-r10c
TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64
PLATFORM=$NDK/platforms/android-21/arch-arm
./configure \
--cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
--sysroot=$PLATFORM \
--host=arm-linux \
--enable-pic \
--enable-static \
--disable-cliThe problem is that I get a
No working C compiler found.
error.The
conftest.log
output :$ cat conftest.log
./configure: line 153: arm-linux-androideabi-gcc: command not foundBut the
arm-linux-androideabi-gcc
is the toolchain’s bin folder !!Looking at this other question it looks like for some reason, even though the file exists, since it is a 64bit Mac, it won’t execute the
arm-linux-androideabi-gcc
file and will return this weird error and log.
I am in a Mac OS X 10.10 and I have installed the XCode Command Line Tools :
$ xcode-select -p
/Applications/Xcode.app/Contents/DeveloperGCC version :
$ gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.0.0
Thread model: posix
Can anyone tell me how to fix this please ?
-
Compiling x264 on a Mac : "No working C compiler found" and "arm-linux-androideabi-gcc : command not found"
29 novembre 2014, par Xavi GilI am trying to compile the
x264
library for Android, following this post.I have cloned the x264 project
git clone git://git.videolan.org/x264.git
and tried to compile with the following configuration :NDK=~/development/android-ndk-r10c
TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64
PLATFORM=$NDK/platforms/android-21/arch-arm
./configure \
--cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
--sysroot=$PLATFORM \
--host=arm-linux \
--enable-pic \
--enable-static \
--disable-cliThe problem is that I get a
No working C compiler found.
error.The
conftest.log
output :$ cat conftest.log
./configure: line 153: arm-linux-androideabi-gcc: command not foundBut the
arm-linux-androideabi-gcc
is the toolchain’s bin folder !!Looking at this other question it looks like for some reason, even though the file exists, since it is a 64bit Mac, it won’t execute the
arm-linux-androideabi-gcc
file and will return this weird error and log.
I am in a Mac OS X 10.10 and I have installed the XCode Command Line Tools :
$ xcode-select -p
/Applications/Xcode.app/Contents/DeveloperGCC version :
$ gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.0.0
Thread model: posix
Can anyone tell me how to fix this please ?