
Recherche avancée
Médias (91)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
-
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
Autres articles (82)
-
Emballe Médias : Mettre en ligne simplement des documents
29 octobre 2010, parLe plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...) -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)
Sur d’autres sites (4622)
-
Find the files that have been modified in last 24 Hours only once(skip if its modified more than once) [duplicate]
4 janvier 2020, par Vijay ChandraThis question already has an answer here :
Im using this command to get all modified files in the last 24 hours in ubuntu,
find -type f -name "*.mp4" -mtime -1 -printf "%f\n"
How can i modify this to detect same file only once which means if same file is modified more than 1 time in the last 24 hours,It shouldnt consider this file,It should skip the file,Is there anyway to do this ?
I need this to create a watermarking script which will find the latest files within 24hours and save the list to a txt file and with the help of this text file,I use ffmpeg to watermark the videos and move them to original location.If i do this,the find command is considering the new updated video as modified file and adding watermark again and again,The process isnt getting stopped,Someone please help to fix this.My code is attached below :
#!/bin/bash find -type f -name "*.mp4" -mtime -1 -printf "%f\n" >> /home/domain.com/public_html/admin_panel/public_html/uploads/mp4/temp/file.txt filename='/home/domain.com/public_html/admin_panel/public_html/uploads/mp4/temp/file.txt' all_lines=`cat $filename` for item in $all_lines; do cp $item /home/domain.com/public_html/admin_panel/public_html/uploads/mp4/temp ffmpeg -i $item -i watermark.png -filter_complex "[1][0]scale2ref=w='iw*30/100':h='ow/mdar'[wm][vid];[vid][wm]overlay=(main_w-overlay_w):(main_h-overlay_h)"
-y /home/domain.com/public_html/admin_panel/public_html/uploads/mp4/temp/$item
done -
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
.