
Recherche avancée
Médias (1)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
Autres articles (73)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
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 (...) -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)
Sur d’autres sites (7868)
-
ffmpeg reduce mp4 size errors : 'Unknown encoder libx264' and 'Unable to find a suitable output format for'
25 juillet 2018, par martinsI am quite new to ffmpeg and video editing. I try to reduce the size of various mp4 files. I followed a pretty straightforward tutorial (link) and also copy the audio. In Terminal (Mac user) I write :
ffmpeg -i inputfile.mp4 -c:a copy -c:v libx264 -crf 24 outputfile.mp4
The error here is :
Unknown encoder 'libx264'
and even when I omit the ’libx264’ from the code above, it still gives me the following error :[NULL @ 0x7f9a21814c00] Unable to find a suitable output format for '24' 24: Invalid argument
As long as I know, 24 is a totally valid value for crf. Of course I tried with others (20, 14, 30) and the error is still there.
I would very much appreciate a bit of guidance. Thanks for your time in advance.
-
Unknown encoder 'libx264' error in AWS EC2
6 juillet 2018, par Krzysztof PastorczykI installed ffmpeg using the following config file :
packages:
yum:
ImageMagick: []
ImageMagick-devel: []
commands:
01-wget:
command: "wget -O /tmp/ffmpeg.tar.xz https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz"
02-mkdir:
command: "if [ ! -d /opt/ffmpeg ] ; then mkdir -p /opt/ffmpeg; fi"
03-tar:
command: "tar xvf /tmp/ffmpeg.tar.xz -C /opt/ffmpeg --strip 1"
04-ln:
command: "if [[ ! -f /usr/bin/ffmpeg ]] ; then ln -sf /opt/ffmpeg/ffmpeg /usr/bin/ffmpeg; fi"
05-ln:
command: "if [[ ! -f /usr/bin/ffprobe ]] ; then ln -sf /opt/ffmpeg/ffprobe /usr/bin/ffprobe; fi"
06-pecl:
command: "if [ `pecl list | grep imagick` ] ; then pecl install -f imagick; fi"Unfortunatelly during the encode process from carrierwave-video I get the following error :
Unknown encoder 'libx264'
(FFMPEG::Error)
from gems/streamio-ffmpeg-3.0.2/lib/ffmpeg/transcoder.rb:45:in `run'
from gems/streamio-ffmpeg-3.0.2/lib/ffmpeg/movie.rb:200:in `transcode'
from gems/carrierwave-video-0.6.0/lib/carrierwave/video.rb:68:in `block in encode_video'
from gems/carrierwave-video-0.6.0/lib/carrierwave/video.rb:81:in `with_trancoding_callbacks'
from gems/carrierwave-video-0.6.0/lib/carrierwave/video.rb:62:in `encode_video'
from app/uploaders/file_uploader.rb:21:in `encode'I guess I’ll need to install ’libx264’. Do you know how can I do this on Elastic beanstalk ?
Problem solved. I used different codec.
encode_video(:mp4, resolution: :same, custom: %w(-vcodec mpeg4) )
-
Unknown encoder 'libx264' error in AWS EC2
6 juillet 2018, par Krzysztof PastorczykI installed ffmpeg using the following config file :
packages:
yum:
ImageMagick: []
ImageMagick-devel: []
commands:
01-wget:
command: "wget -O /tmp/ffmpeg.tar.xz https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz"
02-mkdir:
command: "if [ ! -d /opt/ffmpeg ] ; then mkdir -p /opt/ffmpeg; fi"
03-tar:
command: "tar xvf /tmp/ffmpeg.tar.xz -C /opt/ffmpeg --strip 1"
04-ln:
command: "if [[ ! -f /usr/bin/ffmpeg ]] ; then ln -sf /opt/ffmpeg/ffmpeg /usr/bin/ffmpeg; fi"
05-ln:
command: "if [[ ! -f /usr/bin/ffprobe ]] ; then ln -sf /opt/ffmpeg/ffprobe /usr/bin/ffprobe; fi"
06-pecl:
command: "if [ `pecl list | grep imagick` ] ; then pecl install -f imagick; fi"Unfortunatelly during the encode process from carrierwave-video I get the following error :
Unknown encoder 'libx264'
(FFMPEG::Error)
from gems/streamio-ffmpeg-3.0.2/lib/ffmpeg/transcoder.rb:45:in `run'
from gems/streamio-ffmpeg-3.0.2/lib/ffmpeg/movie.rb:200:in `transcode'
from gems/carrierwave-video-0.6.0/lib/carrierwave/video.rb:68:in `block in encode_video'
from gems/carrierwave-video-0.6.0/lib/carrierwave/video.rb:81:in `with_trancoding_callbacks'
from gems/carrierwave-video-0.6.0/lib/carrierwave/video.rb:62:in `encode_video'
from app/uploaders/file_uploader.rb:21:in `encode'I guess I’ll need to install ’libx264’. Do you know how can I do this on Elastic beanstalk ?
Problem solved. I used different codec.
encode_video(:mp4, resolution: :same, custom: %w(-vcodec mpeg4) )