
Recherche avancée
Autres articles (6)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Que fait exactement ce script ?
18 janvier 2011, parCe script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
Installation de dépendances de MediaSPIP
Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)
Sur d’autres sites (3054)
-
webM files shows green and purple effects on mobile
11 octobre 2015, par Naveen GamageI have converted several
GIFs
towebM
files usingffmpeg
on my Ubuntu 14.04 server.Heres the code I used for conversation.
ffmpeg -i your_gif.gif -c:v libvpx -crf 12 -b:v 500K output.webm
source https://gist.github.com/ndarville/10010916
The problem is converted webM files shows perfectly fine on PCs but on my mobile it shows with green and purple shadows.
PC
Mobile
I tried changing
-crf
and-b:v
values to their max but nothing happens.webM file : http://d1pnsuxwa0it39.cloudfront.net/uploads/comments/webm/4673555.webm
edit :
also I can see webM files on some other sites fine. I think this has to do something with the way I convert files.
edit :
I have tried another code I found on stackoverflow but still the same.
ffmpeg -f gif -i infile.gif outfile.mp4
EDIT :
If anyone think this has something to do with the way I installed FFMPEG, I followed the steps on FFMPEG official docs.
https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
EDIT :
Input file :
http://d1pnsuxwa0it39.cloudfront.net/test/1.gif
Output file :
http://d1pnsuxwa0it39.cloudfront.net/test/output.webm
FFMPEG CLI output
/home/naveencg/bin/ffmpeg -i 1.gif -c:v libvpx -crf 12 -b:v 500K output.webm
ffmpeg version 2.5.git Copyright (c) 2000-2014 the FFmpeg developers
built on Dec 31 2014 14:37:15 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
configuration: --prefix=/home/naveencg/ffmpeg_build --extra-cflags=-I/home/naveencg/ffmpeg_build/include --extra-ldflags=-L/home/naveencg/ffmpeg_build/lib --bindir=/home/naveencg/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree
libavutil 54. 15.100 / 54. 15.100
libavcodec 56. 19.100 / 56. 19.100
libavformat 56. 16.102 / 56. 16.102
libavdevice 56. 3.100 / 56. 3.100
libavfilter 5. 6.100 / 5. 6.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Input #0, gif, from '1.gif':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: gif, bgra, 350x169, 25 fps, 25 tbr, 100 tbn, 100 tbc
[libvpx @ 0x1e2bf60] v1.3.0
Output #0, webm, to 'output.webm':
Metadata:
encoder : Lavf56.16.102
Stream #0:0: Video: vp8 (libvpx), yuva420p, 350x169, q=-1--1, 500 kb/s, 25 fps, 1k tbn, 25 tbc
Metadata:
encoder : Lavc56.19.100 libvpx
Stream mapping:
Stream #0:0 -> #0:0 (gif (native) -> vp8 (libvpx))
Press [q] to stop, [?] for help
frame= 21 fps=0.0 q=0.0 size= 58kB time=00:00:00.84 bitrate= 569.7kbits/sframe= 44 fps= 41 q=0.0 size= 110kB time=00:00:01.76 bitrate= 512.4kbits/sframe= 62 fps= 39 q=0.0 size= 153kB time=00:00:02.48 bitrate= 505.9kbits/sframe= 84 fps= 40 q=0.0 size= 210kB time=00:00:03.36 bitrate= 510.8kbits/sframe= 88 fps= 41 q=0.0 Lsize= 218kB time=00:00:03.52 bitrate= 508.3kbits/s
video:216kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.971527% -
convert videos server side using ffmpeg
22 janvier 2015, par EdwardGood evening,
I am looking for a way to convert any type of video format (avi, mp4, 3gp, ogg, etc..) to .flv, I currently use flowplayer and it only supports flv
I have installed ffmpeg onto my server just fine, the issue is, when ever I upload any video formatted (for an example an .mp4) file I get the error "could not convert video file"
How may I fix this issue ?
what I am trying to accomplish with this, I want to upload videos of any format have ffmpeg convert it to lets say .flv and then have the video played through flowplayer
-
avdevice/alsa-audio-common : Use *alloc_array()
20 janvier 2015, par Michael Niedermayer