
Recherche avancée
Autres articles (92)
-
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation" -
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. -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (5047)
-
How to Manage User Uploaded Content and Storage
6 novembre 2014, par BenI’m building an app in PHP (Laravel 4 framework) where a teacher in their account can create a digital lesson for a student. Digital lessons can contain the following content :
- Text (text from form, .doc, .txt, .pdf, etc.)
- Images (.gif, .png, .jpg etc.)
- Video (.avi, .mov, .mp4, etc.)
- Audio (.mp3, etc.)
Raw text entered from forms can obviously be stored in the DB against the lesson_id. All the other content formats will need to be stored somewhere, where I can manage and read the files, as well as keep track of the teachers storage total as I plan to bill for storage thresholds at 5GB, 10GB etc.
On the create a lesson page, content files need to be uploaded as lesson attachments before the lesson is saved, so a teacher can visually see all the lessons content, and then hit save to create the lesson instantly.
Here’s what I’ve come up with :
-
Upload all lesson file attachments to AWS S3 to the teachers dedicated bucket, before the lesson is created. Add the teachers ID and date time to each filename.
-
Force all uploaded video / audio files to be converted to .mp4, .mp3, etc. if they are not in an iDevice friendly format or they exceed a file size limit. Use FFmpeg to do this.
-
When the lesson is saved and created, record the S3 file URL’s against the lesson ID in the DB.
-
If the lesson has not been created after a specific period of time, run a cron job to check for uploaded S3 files with no lesson and delete them.
I am unsure what is the best way to solve this problem as user uploaded content management is really new to me.
What do you think of this approach ? Can you recommend an improved or better way to solve this problem ?
-
Getting troubles when I generate rtsp stream as an output with ffmpeg from static images as an input
10 août 2013, par Ilya YevlampievI'm trying to start the rtsp stream via feeding ffmpeg with static images and feeding ffserver with ffmpeg output.
The first problem appears from the ffserver.config :
Port 12345
RTSPPort 8544
BindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 1000
CustomLog /var/log/ffserver-access.log
<feed>
File /tmp/videofeed.ffm
FileMaxSize 3M
#Launch ffmpeg -s 640x480 -f video4linux2 -i /dev/video0
#Launch ffmpeg http://localhost:8090/videofeed.ffm
Launch ffmpeg -loop 1 -f image2 -r 20 -b 9600 -i Janalif.jpg -t 30 http://127.0.0.1:8090/videofeed.ffm -report
ACL allow 127.0.0.1
</feed>
<stream>
Format rtsp
#rtsp://localhost:5454/test1-rtsp.mpg
Feed videofeed.ffm
#webcam.ffm
Format flv
VideoCodec flv
VideoFrameRate 30
VideoBufferSize 80000
VideoBitRate 200
VideoQMin 1
VideoQMax 5
VideoSize 640x480
PreRoll 1
NoAudio
</stream>
<stream>
Format status
</stream>Please ignore codecs etc in stream part. The problem appears for
RTSPPort
, after starting the servernmap
shows no binding to 8544, only 12345 port is used.8090/tcp open unknown
12345/tcp open netbusI can download mpeg stream through http from
http://localhost:12345/test1-rtsp.mpg
. How can I setup 8544 port working ?and another question is about
Launch
part of the stream. Am I right, that ffserver executes the content ofLaunch
line ? If so, how can i configure ffserver to wait the stream in some particular port, but start streaming at the moment I desire ?P.S. The solution looks like Säkkijärven polkka, hoowever the idea behind this construct is to provide the controlled rtsp stream to emulate the camera output. In future I plan to substitute the command line for ffmpeg with some java bindings for it to produce the program-controlled images to the camera input to test the computer vision, that's why I need a way to launch ffmpeg independently on ffserver.
-
FFMPEG install on server
23 juillet 2013, par s19k15I have an online server (shared hosting plan) in linux, i do not know a lot stuff about linux and i am trying to install ffmpeg.
I have tryied a lot of scripts but no luck.
Now i am trying to install the below script via putty.
<a href="https://github.com/heidisoft/FFMPEG-install-script-for-shared-host" rel="nofollow">https://github.com/heidisoft/FFMPEG-install-script-for-shared-host</a>
When the install was running i get this message and the installation stops...
Installation of MPlayer-1.0rc1.tar.bz2 ....... started
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1233 100 1233 0 0 7713 0 --:--:-- --:--:-- --:--:-- 7803
bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error is not recoverable: exiting now
mplayer.sh: line 32: cd: MPlayer-1.0rc1/: No such file or directory
mplayer.sh: line 33: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
cp: cannot stat `etc/codecs.conf': No such file or directory
Installation of MPlayer-1.0rc1.tar.bz2 ....... Completed
Mplayer installation Failed :( , please visit the forumWhat can i do to install ??? Thanks !