
Recherche avancée
Autres articles (103)
-
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...)
Sur d’autres sites (6019)
-
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% -
lavc : support extracting audio service type from side data
14 novembre 2014, par Anton Khirnov -
mov : export audio service type as side data
14 novembre 2014, par Anton Khirnov