
Recherche avancée
Autres articles (108)
-
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
Sur d’autres sites (10418)
-
Revision 56fa3ab886 : Use non-zero mode threshold for NEARESTMV modes This commit makes the encoder t
16 septembre 2014, par Jingning HanChanged Paths :
Modify /vp9/encoder/vp9_rd.c
Use non-zero mode threshold for NEARESTMV modesThis commit makes the encoder to use non-zero mode threshold for
NEARESTMV modes. The runtime for test clips of speed 3 is reduced
by about 1%.pedestrian 1080p 2000 kbps, 143239 ms -> 141989 ms
bus CIF 1000 kbps, 7835 ms -> 7749 msThe compression performance change is about -0.02% for both derf
and stdhd.Change-Id : Ib71808922c41ae2997100cb7c561f68dcebfa08e
-
Using FFMpeg with Runtime.exec() to do a simple transcoding
1er novembre 2011, par Adam IngmanssonI know there are many questions touching this subject, but none have helped me solve my issue.
Purpose :
Transcoding a video taken,from a queue, from .mov to h.264 (for now only that)
Solution :
Building a java application that gets the next in the queue, transcodes it then repeat
Problem :
Running ffmpeg using Runtime.exec() is not working.
Im using the StreamGobbler from this tutorial to capturing the output from the process.This code shows how i start my process :
String[] command = new String[]{"./ffmpeg/ffmpeg","-i",videoFile.getPath(),"-vcodec","libx264","-fpre",preset,folder + recID + ".flv"};
System.out.println("Running command..");
Process p = r.exec(command);
// any error message?
StreamGobbler errorGobbler = new
StreamGobbler(p.getErrorStream(), "ERROR");
// any output?
StreamGobbler outputGobbler = new
StreamGobbler(p.getInputStream(), "OUT");
// kick them off
errorGobbler.start();
outputGobbler.start();
//logProcessOutputAndErrors(p);
int res = p.waitFor();
if (res != 0) {
throw new Exception("Encoding error: "+String.valueOf(res));
}and this is the current modified version of StreamGobbler (the important part)
InputStreamReader isr = new InputStreamReader(is);
BufferedReader br = new BufferedReader(isr);
String line=null;
int c = 0;
StringBuilder str = new StringBuilder();
while (true) {
c = br.read();
}Sometimes ffmpeg just stalls, maybe waiting for my input (although there is no indication on screen).
Sometimes it just ends.
Sometimes (when I added the line "System.out.print((char) c) ;" in the while-loop above) i got loads of "¿¿ï" repeated over and over again, wich might be the actual encoding of the video wich I managed to capture instead of to a file.
For those who wonders why i dont just go with a commandline or maybe even php :
The purpose is an application that will run 24/7 transcoding anything and everything from a queue. The files are pretty large to begin with and takes about 15 min to transcode.
-
Revision d435148fe6 : Enable adaptive motion search for ARF coding This commit turns on adaptive moti
5 septembre 2014, par Jingning HanChanged Paths :
Modify /vp9/encoder/vp9_rd.c
Modify /vp9/encoder/vp9_rdopt.c
Enable adaptive motion search for ARF codingThis commit turns on adaptive motion search for ARF coding, in
addition to other normal inter frame coding. It improves the
average compression efficiency :stdhd 0.1%
derf 0.04%For the test sequences, the speed 3 runtime is reduced :
pedestrian 1080p 2000 kbps, 149932 ms -> 144580 ms, (3.3% speed-up)
bus CIF 1000 kbps, 8050 ms -> 7895 ms, (1.9%)
highway CIF 100 bkps, 45033 ms -> 44078 ms, (2.2%)Change-Id : I5228565b609f99e8ae04f6140a2bf2b64a831d21