
Recherche avancée
Autres articles (105)
-
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 (...) -
Utilisation et configuration du script
19 janvier 2011, parInformations spécifiques à la distribution Debian
Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
Récupération du script
Le script d’installation peut être récupéré de deux manières différentes.
Via svn en utilisant la commande pour récupérer le code source à jour :
svn co (...)
Sur d’autres sites (9921)
-
mov : Write the display matrix in order
17 mars 2015, par Vittorio Giovaramov : Write the display matrix in order
This will allow to copy the matrix as is and it is just cleaner to keep
the matrix in the same order specified by the mov standard (which is
also explicitly described in the documentation).In order to preserve compatibility, flip the angle sign in the display API
av_display_rotation_set() and av_display_rotation_get(), and improve the
documentation mentioning the rotation direction. -
mov : Write the display matrix in order
17 mars 2015, par Vittorio Giovaramov : Write the display matrix in order
This will allow to copy the matrix as is and it is just cleaner to keep
the matrix in the same order specified by the mov standard (which is
also explicitly described in the documentation).In order to preserve compatibility, flip the angle sign in the display API
av_display_rotation_set() and av_display_rotation_get(), and improve the
documentation mentioning the rotation direction. -
Problems with paperclip and ffmpeg
15 avril 2015, par proeo preI have a problem with update a video for web cam.
my model :
has_attached_file :video_presentacion, :styles => {
:original => { :geometry => "1280x720", :format => 'mp4',:convert_options => { :output => { :vcodec => 'libx264'}} },
:thumb => { :geometry => "350x350#", :format => 'png', :time => 12}
}, :processors => [:ffmpeg]
validates_attachment_content_type :video_presentacion, :content_type => [ 'application/x-mp4','video/mp4',
'video/mpeg',
'video/quicktime',
'video/x-la-asf',
'video/x-ms-asf',
'video/x-msvideo',
'video/x-sgi-movie',
'video/x-flv',
'flv-application/octet-stream',
'video/3gpp',
'video/3gpp2',
'video/3gpp-tt',
'video/BMPEG',
'video/BT656',
'video/CelB',
'video/DV',
'video/H261',
'video/H263',
'video/H263-1998',
'video/H263-2000',
'video/H264',
'video/JPEG',
'video/MJ2',
'video/MP1S',
'video/MP2P',
'video/MP2T',
'video/mp4',
'video/MP4V-ES',
'video/MPV',
'video/mpeg4',
'video/mpeg4-generic',
'video/nv',
'video/parityfec',
'video/pointer',
'video/raw',
'video/rtx']MY file name have WIN_20150415_103337.MP4
file have codec h.264
sonido have codec MPEG-4 AACWhen I upload in development mode on my laptop, it work fines. When I update on test or production don’t work and log archive...
[paperclip] An error was received while processing: #tmp/3f143e8fbebaf46e7103d8153e06f17920150415-11490-1buc2jr.MP4' -vcodec libx264 -s 1280x720 -acodec aac -strict experimental -y '/tmp/3f143e8fbebaf46e7103d8153e06f17920150415-11490-1buc2jr20150415-11490-1ww6qqc.mp4'' returned 1. Expected 0
Here is the command output :
[paperclip] [ffmpeg] ffprobe "/tmp/3f143e8fbebaf46e7103d8153e06f17920150415-11490-1buc2jr.MP4" 2>&1
[paperclip] [ffmpeg] Command Success
[paperclip] [ffmpeg] Making...
[paperclip] [ffmpeg] Building Destination File: '3f143e8fbebaf46e7103d8153e06f17920150415-11490-1buc2jr' + 'png'
[paperclip] [ffmpeg] Destination File Built
[paperclip] [ffmpeg] Adding Geometry
[paperclip] [ffmpeg] Extracting Target Dimensions
[paperclip] [ffmpeg] Target Size is Available
[paperclip] [ffmpeg] Keeping Aspect Ratio
[paperclip] [ffmpeg] Pad Only
[paperclip] [ffmpeg] Convert Options:
[paperclip] [ffmpeg] Adding Format
[paperclip] [ffmpeg] Adding Source
[paperclip] [ffmpeg] Building Parameters
[paperclip] [ffmpeg] -ss 12 -i :source -vf scale=350:-1,pad=350:350:0:77.0:black -vframes 1 -f image2 -y :dest
Command :: PATH=/usr/local/bin/:$PATH; ffmpeg -ss 12 -i '/tmp/3f143e8fbebaf46e7103d8153e06f17920150415-11490-1buc2jr.MP4' -vf scale=350:-1,pad=350:350:0:77.0:black -vframes 1 -f image2 -y '/tmp/3f143e8fbebaf46e7103d8153e06f17920150415-11490-1buc2jr20150415-11490-txzcol.png'
Command :: PATH=/usr/local/bin/:$PATH; file -b --mime '/tmp/3f143e8fbebaf46e7103d8153e06f17920150415-11490-1buc2jr20150415-11490-txzcol.png'
Command :: PATH=/usr/local/bin/:$PATH; file -b --mime '/tmp/3f143e8fbebaf46e7103d8153e06f17920150415-11490-1kbatzu.MP4'
[1m[35m (0.3ms)[0m ROLLBACK