
Recherche avancée
Autres articles (62)
-
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)
Sur d’autres sites (8868)
-
ffmpeg shell script to squeeze videos for twitter
12 juin 2018, par André LevyHere’s a pretty rookie attempt at creating a shell script to squeeze videos into twitter’s 140s limitation :
for f in "$@"
do
/Applications/ffmpeg -i $f -filter_complex "[0:v]setpts=140 / \
$(/Applications/ffprobe -i $f -show_entries format=duration -v quiet -of csv="p=0") \
* PTS[v];[0:a]atempo= \
$(/Applications/ffprobe -i $f -show_entries format=duration -v quiet -of csv="p=0") \
/ 140[a]" -map "[v]" -map "[a]" "${f%.*}_twitter.mp4"
doneIt works, but it’s pretty badly written. Can you help me improve it ?
- How can I run ffprobe only once ?
- Do I need ffprobe at all, or does ffmpeg have the duration of the input amongst its arguments ?
- Will it encode faster with other settings (e.g. HW acceleration) ?
- Any twitter upload scripts out there to pipe this into ?
Needless to say, I looked for this answers all around, to no avail.
Cheers.
-
bash Shell : lost first element data partially
10 mars 2016, par Sandeep Singh RanaUsing bash shell :
I am trying to read a file line by line.
and every line contains two meaning full file names delimited by"``"
file:1 image_config.txt
bbbbb.mp4``thumb/hashdata.gif
bbbbb.mp4``thumb/hashdata2.gifShell Script
#!/bin/bash
filename="image_config.txt"
while IFS='' read -r line || [[ -n "$line" ]]; do
IFS='``' read -r -a array <<< "$line"
if [ "$line" = "" ]; then
echo lineempty
else
file=${array[0]}
hash=${array[2]}
echo $file$hash;
output=$(ffmpeg -v warning -ss 2 -t 0.8 -i $file -vf scale=200:-1 -gifflags +transdiff -y $hash);
echo $output;
# echo ${array[0]}${array[1]}${array[2]}
fi;
done < "$filename"first time executed successfully but when loop executes second time.
variablefile
lostbbbbb
frombbbbb.mp4
and following output comes outOutput :
user@domain [~/public_html/Videos]$ sh imager.sh
bbbbb.mp4thumb/hashdata.gif
.mp4thumb/hashdata2.gif
.mp4: No such file or directory
lineempty -
Is it possible to open a shell window on Windows with QNX Development Platform already installed to configure and make Ffmpeg ?
2 août 2017, par xiaokaoyI need to build FFmpeg (with some features disabled first to reduce the size of the target application file) for QNX/ARM. QNX Software Development Platform has been installed on my Windows. Is it possible to open a shell on my Windows to configure and make FFMPEG for QNX/ARM ?
Or is it also possible to configure that in the IDE ?