
Recherche avancée
Médias (91)
-
Les Miserables
9 décembre 2019, par
Mis à jour : Décembre 2019
Langue : français
Type : Textuel
-
VideoHandle
8 novembre 2019, par
Mis à jour : Novembre 2019
Langue : français
Type : Video
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
-
Un test - mauritanie
3 avril 2014, par
Mis à jour : Avril 2014
Langue : français
Type : Textuel
-
Pourquoi Obama lit il mes mails ?
4 février 2014, par
Mis à jour : Février 2014
Langue : français
-
IMG 0222
6 octobre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Image
Autres articles (13)
-
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 (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (3604)
-
HTML5 Video FFMPEG Shell Script
18 novembre 2011, par SchermyI wrote this quick and dirty shell script to run ffmpeg over a bunch of files to generate webm/ogg/h.264 videos for a HTML5 site.
#!/bin/bash
ext=$1
enc=$2
#!/bin/bash
for file in *.$ext; do
while pidof /usr/local/bin/ffmpeg; do sleep 10; done >/dev/null
ffmpeg -i "$file" -s 1280x720 -b 500k "${file/%$ext/$enc}"
doneIt works great for my purposes but I've noticed that each video now takes a lot longe to convert and ffmpeg is not taking advantage of my multi-core setup.
I would like to improve this script when I have some time and make it available for use by others but I'd like to solve this issue first.
Thanks in advance for all of your help.
P.S. This is setup to use the ffmpeg installation from brew on the Mac (and yes I would like to make this script more platform agnostic later on).
-
ffmpeg program doesn't running on shell script with java Application
20 octobre 2017, par Hae-Yoon JoI code java Application and running Linux shell-script when java App running on Linux server.
The linux shell-script is running. But, i need runnning ffmpeg program by shell.-
the ffmpeg is running with shell-script command by ./shellName.sh
-
ffmpeg is not running with java App run by .
- only ffmpeg command in shell.
- working mkdir command
- working pwd command
#!/bin/bash
echo -n "ffmpeg cmd :"
/home/popsline/ffmpeg -i /home/popsline/sub02_chocolat.mp4 -r 0.14 -ss 00:00:20 -t 10:00:00 -vframes 10 -f image2 -y /home/popsline/img/iamges%d.png
mkdir /home/username/test
pwdJava code.
HomeController.java refer sh.java as Object.
so codes is follows :HomeController.java
/**
* Simply selects the home view to render by returning its name.
*/
@RequestMapping(value = "/", method = RequestMethod.GET)
public String home(Locale locale, Model model) {
logger.info("Welcome home! The client locale is {}.", locale);
Sh sh = new Sh();
sh.shRun();
return "home";
}sh.java
private static final Logger logger = LoggerFactory.getLogger(HomeController.class);
public void shRun(){
Runtime rt = Runtime.getRuntime();
Process proc = null;
InputStream is = null;
BufferedReader bf = null;
try {
String[] cmd = {
"/bin/sh"
, "-c"
, "/usr/local/bin/creaThum.sh"
};
proc = rt.exec(cmd);
proc.getInputStream();
is = proc.getInputStream();
bf = new BufferedReader(new InputStreamReader(is));
while (true) {
String info = bf.readLine();
if(info == null || info.equals("")){
break;
}
logger.info("info haeyoon:: " + info);
}
} catch (Exception e) {
logger.info(e.getMessage());
}
} -
-
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