
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 (75)
-
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (8377)
-
Issues in executing FFmpeg command in Java code in Linux
12 août 2017, par Tina JI have problems executing this
ffmpeg
command in my java code :ffmpeg -i sample.mp4 -i ad.mp4 -filter_complex "[0:v]trim=0:15,setpts=PTS-STARTPTS[v0]; [1:v]trim=0:5,setpts=PTS-STARTPTS[v1]; [0:v]trim=20:30,setpts=PTS-STARTPTS[v2]; [v0][v1][v2]concat=n=3:v=1:a=0[out]" -map "[out]" output.mp4
I used the
getRuntime()
method below, but that doesn’t work for me. Even if I simply remove the"
, still it doesn’t work. When I simply copy-paste the equivalent string in terminal, it works.String c1=" -i "+dir+"sample.mp4 "+"-i "+dir+"ad.mp4 -filter_complex [0:v]trim=0:15,setpts=PTS-STARTPTS[v0]; [1:v]trim=0:5,setpts=PTS-STARTPTS[v1]; [0:v]trim=20:30,setpts=PTS-STARTPTS[v2]; [v0][v1][v2]concat=n=3:v=1:a=0[out] -map [out] "+dir+"output.mp4";
RunCommand("ffmpeg"+c1);Using this method :
private static void RunCommand(String command) throws InterruptedException {
try {
// Execute command
Process proc = Runtime.getRuntime().exec(command);
System.out.println(proc.exitValue());
// Get output stream to write from it
// Read the output
BufferedReader reader =
new BufferedReader(new InputStreamReader(proc.getInputStream()));
String line = "";
while((line = reader.readLine()) != null) {
System.out.print(line + "\n");
// System.out.println(ads.get(0));
}
proc.waitFor();
} catch (IOException e) {
}
}This one doesn’t work also, and printing the exit value shows this :
Exception in thread "main" java.lang.IllegalThreadStateException: process hasn't exited
at java.lang.UNIXProcess.exitValue(UNIXProcess.java:423)
at parser.Parser.RunCommand(Parser.java:106)
at parser.Parser.commandGenerator2(Parser.java:79)
at parser.Parser.main(Parser.java:44)If I move the
proc.waitFor();
before printing the exit value, it is1
.What is the problem ? Why it doesn’t run in Java code ?
-
mips/mathops : remove 64-bit code
26 février 2015, par James Cowgillmips/mathops : remove 64-bit code
GCC is perfectly happy generating optimized multiplication code on its own for
64-bit arches. GCC refuses to optimize the loongson code when in 32-bit mode,
so I’ve left that.Signed-off-by : James Cowgill <james410@cowgill.org.uk>
Signed-off-by : Michael Niedermayer <michaelni@gmx.at> -
How to code Laravel FFMpeg video conversion for specific parameters ?
7 octobre 2022, par Wayne FulcherI am using Laravel 9.x running php 8.1.x.
I have some code that I use to convert videos that have a context type other than video/mp4 to a H264 format. The reason is to make a video format that is compatible with Apple (iOS), Android and most web browsers. This code has worked so far on every video we have used it on except for one.
My current code is


$ffmpeg = FFMpeg::create();
 $video = $ffmpeg->open($videoFilename);
 $format = new X264();
 $format->setAudioCodec("aac"); 
 $video->save($format, $newFilename);



So in an attempt to debug what else needs to be done I started manually running ffmpeg commands on my computer against a copy of the video in question. I have finally figured out what additional parameters are required to successfully convert that video so it plays on all devices. The manual command is as follows :


ffmpeg -i input.mov -pix_fmt yuv420p -b:v 4000k -c:v libx264 output.mp4



I am about 90% sure the parameters that dealt with the specifics of this video were the following :


-pix_fmt yuv420p -b:v 4000k


My problem now is I can not figure out what changes to my php code I need to make that would be the equivalent to those additional command line parameters.
Also I am wondering as I am typing this question, is there a way for me to "auto-detect" when a video requires this additional parameters or not ? (maybe that is a second post/question)