
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 (55)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)
Sur d’autres sites (4955)
-
why 'read' command in shell script is missing initial characters ? [duplicate]
15 avril 2019, par todThis question already has an answer here :
I have the following shell script and it is missing some initial characters (it misses initial couple of characters, so far in my observation) from each line except the first line.
And this happens only when I use the
ffmpeg
command. Otherwise, it is fine. But this command does the actual task in this script.Why is it so and what is the fix ?
#!/bin/bash
while read line; do
printf "%s\n" "$line"
ifile=$line
printf "%s\n" "$ifile"
ofile=abc_$line
printf "%s\n" "$ofile"
############### Problem is the following command: ##########
ffmpeg -y -i $ifile -c:v libx264rgb -b:v 512k -bf 0 -pix_fmt rgb24 -r 25 -strict -2 $ofile
##########rest is fine##########
echo $ifile
done < file_list -
Shell script not working on a different server
11 novembre 2013, par Alex BlundellI've just migrated a shell script to another server with similar specs (same CentOS version) but the following command seems to fail :
find /home/removed/captures -name '*.avi' -exec ffmpeg -y -i {} -ab 1280 -b 1024000 {}.mp4 \;
The following message gets returned :
find: `ffmpeg': No such file or directory
I have installed ffmpeg, and made sure it runs from the command line. I've also tried passing in the full path to ffmpeg instead of just 'ffmpeg'. Both ffmpeg versions are the same on each server. I was thinking it was something to do with syntax of the find program changing between versions, but they're both the same version too. This runs via the root crontab.
The script does run by itself though if I call it directly. Could this be an issue with permissions ? It runs on a cPanel server.
Thanks :)
-
possible C code implementation ideas for a given shell script(related to ffmpeg)
21 août 2011, par TedThe shell script i'm trying to implement goes like this,
#!/bin/bash
while [ 1 ]
do
nc -l 1234 | ffmpeg -i pipe:0 -vcodec mpeg4 -s qcif -f m4v -y pipe:1 | nc localhost 1235
donewhat it does is to simply take in a stream of video input through network and do live video transcoding(with ffmpeg of course !) and streaming back the video through the net. my question is how should i go by to implement this functionality in a clean C code. i know i can use popen() to pipe such a command from a c code but i would like to do better. may be with sockets and staff... any pointers are appreciated.
AskLearnDo.