
Recherche avancée
Autres articles (45)
-
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 (...) -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (4385)
-
Unknown input format : 'x11grab'
5 juillet 2017, par jjhguys :
I have problems when i compile ffmpeg and run ffmpeg in linux.
My environment :
1 : ubuntu 17.10_x64_bit(i don’t think the os version is the key)
2 : gcc (Ubuntu 6.3.0-19ubuntu1) 6.3.0 20170618
3 : ffmpeg open source code:3.2
first, i download the source code from ffmpeg official site. I compile this project with there instructions:
./configure --prefix=/home/jjh/software/ffmpeg --enable-shared
make
make installand it worked without any error except some warning, then i run :
./ffmpeg -h
i make sure that it works and output normally.
but i want use ffmpeg to grabbing screen. so i use this construction(o) :
ffmpeg -f x11grab -video_size cif -framerate 25 -i :0.0 /tmp/out.mpg
then output error :
Unknown input format: 'x11grab'
i want to re-compile this project with —enable-x11grab option, btw , so many solution tell me to to this. but when i add this option, i get some errors :
Invalid option --enable-x11grab
some people says that i should install some libs :
libxfixes-dev
sudo apt-get install libxext-devso i installed these libs, but it always show this error. pls help me.
-
How to limit FFMpeg CPU usage ? Threads ? [closed]
6 mai 2013, par forg4tI read lot of forum comment how to limit ffmpeg cpu... many people wrote to use this formula : nice -n 10 or 20 it's ok. But I don't know what number should be use in ffmpeg threads ? 0 or 1, 2, 3 I don't know. I would really appreciate your help !
I checked the system data :
server : # lscpu
Architecture : x86_64
CPU op-mode(s) : 32-bit, 64-bit
Byte Order : Little Endian
CPU(s) : 2
On-line CPU(s) list : 0,1
Thread(s) per core : 1
Core(s) per socket : 2
Socket(s) : 1
NUMA node(s) : 1
Vendor ID : GenuineIntel
CPU family : 6
Model : 37
Stepping : 1
CPU MHz : 3066.775
BogoMIPS : 6133.55
Hypervisor vendor : VMware
Virtualization type : full
L1d cache : 32K
L1i cache : 32K
L2 cache : 256K
L3 cache : 12288K
NUMA node0 CPU(s) : 0,1server : # less /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 37
model name : Intel(R) Xeon(R) CPU X5675 @ 3.07GHz
stepping : 1
microcode : 0x15
cpu MHz : 3066.775
cache size : 12288 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes -
How do you set up carrierwave-video with ffmpeg ?
24 septembre 2013, par MaleckaiThis has been doing my head in for the past 2 days, and I just cannot seem to get it working.
I am building a simple Rails app with the sole purpose of uploading & processing images and videos. I'm working on Ubuntu Linux.
Here's the relevant gems in my Gemfile :
gem 'delayed_job_active_record'
gem 'carrierwave'
gem 'carrierwave-video'
gem 'carrierwave_backgrounder'
gem 'mini_magick'
gem 'streamio-ffmpeg'At first I was having problems with ffmpeg complaining about certain arguments (I determined this by taking the command the rails app attempted to run when it was to convert a video, and running it manually outside rails), which I discovered was because the version of ffmpeg I was using was 'too new'. So I downgraded to 1.2.1, which is what streamio-ffmpeg says is the only version of ffmpeg they're tested against.
After that, I could run the command manually, fine. But whenever I tried to convert through the app, I'd get the error :
Failed to transcode with FFmpeg. Check ffmpeg install and verify video is not corrupt or cut short. Original error: nil is not a symbol
I did a bit of Googling on the error, and only came up with one relevant result, but nothing in there has helped my situation.
I'm at a total loss at this point, and am not sure where I can go from here. I assume many of people have tried this before, so I'm hoping someone can guide me on the exact steps they took to get carrierwave-video & ffmpeg working together.