
Recherche avancée
Médias (91)
-
Head down (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Echoplex (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Discipline (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Letting you (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
1 000 000 (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
999 999 (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (76)
-
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 ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (9132)
-
how to set ffmpeg bitrate, frame per second when scalling from low to high resolution/ high to low
21 janvier 2015, par user2303069I’m developing a video sharing app for mobile device users. I noticed if I convert video with ffmpeg from a low(ex 240x320) to a higher resolution(ex 480x-1) the video looses quality and also there is no sound at the end. My question to you is how should I filter(how many fps,bitrate ect) the converted file ? In terms of parameters, how should I convert to make sure the video comes out in good quality at it’s destination(the user who will play it on their mobile device[Android/BlackBerry]).
Here is my current code(java) :
/************************ CONVERTING TIME *************************
method to convert video-clip
*/
if(sn.toString().trim().startsWith("<>")){
String info=sn.toString().trim().substring(2);
String scale=info.substring(0, info.indexOf("."));
String width=scale.substring(0, scale.indexOf("x"));
String name=info.substring(info.indexOf(".")+1, info.length());
String to = null;
String from;
try{
//calculate to and from
to=name.substring(0, name.indexOf("$"));
from=name.substring(name.indexOf("$")+1, name.lastIndexOf("$"));
gui.textArea1.append("\nStart converting...: to="+to+" from="+from+" fileName="+name);
}catch(NullPointerException npe){
gui.textArea1.append("\nNullpointer in calculate name in converting: "+npe.getMessage());
}
final Path videoIn = Paths.get("c:\\wamp\\www\\iclips\\videoMessages\\"+name);
final Path encodingFile = Paths.get("c:\\wamp\\www\\iclips\\videoMessages\\scaled-"+name);
final Path errorFile = Paths.get("c:\\ffmpeg\\bin\\error.txt");
String pro;
int w=Integer.parseInt(width);
if(w<=240){
pro="baseline";
}else if(w>240&&w<=480){
pro="main";
}else if(w>480){
pro="high";
}else{
pro="baseline";
}
//int retCode;
try {
Files.deleteIfExists(encodingFile);
Files.deleteIfExists(errorFile);
final ProcessBuilder pb
= new ProcessBuilder("c:\\ffmpeg\\bin\\ffmpeg.exe",
"-i", videoIn.toString(),
"-y",
"-vf", "scale="+width+":-1",
// "-pix_fmt","yuv420p",
"-vcodec", "libx264",
"-vprofile", pro,
"c:\\wamp\\www\\iclips\\videoMessages\\scaled-"+name
); //or other command....
pb.redirectError(errorFile.toFile());
pb.redirectOutput(encodingFile.toFile());
final Process p = pb.start();
try {
p.waitFor();
if(p.exitValue()==0){
gui.textArea1.append("\n+++++++++++++Vic-^clip converted successfully:"
+ " ExitValue=["+String.valueOf(p.exitValue())+"] ++++++++++++++");
if(Files.deleteIfExists(videoIn)){
gui.textArea1.append("\n"+videoIn.toString()+" deleted!");
}
sendMsg("Scalling successfull:-) Video-clip name=scaled-"+name+"_", "\nSent scaled successfull "+username);
NotifyClientOfScaledVideoMessage(to,"^scaled-"+name+"_");
}else{
gui.textArea1.append("\nSomething went wrong with process-convert: ExitValue="+String.valueOf(p.exitValue()));
sendMsg("Unable to scale video, try again._", "\nSent scaled failed to "+username);
}
} catch (InterruptedException e) {
gui.textArea1.append("\nInterrupted process convert: "+e.getMessage());
}
} catch (IOException e) {
// deal with e here
gui.textArea1.append("\nIOException in Convert Video: "+e.getMessage());
}
}Thank you very much.
-
Change the camera resolution in of ip camera using ffmpeg library
20 février 2020, par Nouman YosufI want to restrict ip camera with resolution < 480p in my application. And if the resolution is < 480p, I want to change the resolution to 480 and then continue streaming.
I am able to get the resolution of camera using AVFrame*->height and AVFrame*-width. I tried using int av_image_check_size2(unsigned int w, unsigned int h, int64_t max_pixels, enum AVPixelFormat pix_fmt, int log_offset, void *log_ctx) ;
but it doesn’t work as expected.
I could not find my api that could change the camera resolution programmatically. Could any suggest how can I achieve this ? -
ffmpeg change video stream resolution
10 décembre 2014, par skorpionetI have an MKV with a video stream with wrong resolution of 1920x800, but the inside film is 1920x1080 so my main video player, an LG Smart TV, shows a flattened image. I can easily change resolution in container metadata but LG TV ignores this data and read only video stream data.
First question : only way to change video stream resolution data is scale the video ?
To scale with ffmpeg I used this command :
ffmpeg -i input.mkv -map 0 -c:a copy -c:s copy -c:v libx264 -preset slow -crf 17 -vf scale=1920:1080,setdar=16/9 output.mkv
Now the mkv is fine, my LG TV read it, looks awesome but..... size went from 3,3Gb to 12Gb !!
Overall bit rate of 3,3Gb video is 2.704 Kbps, 12Gb is 9.829 Kbps. I think that 7000Kbps more are useless, in original video there aren’t info to raise quality.Second question : Why this huge size change ? What is my mistake ?
Best Regards