
Recherche avancée
Autres articles (73)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)
Sur d’autres sites (7563)
-
Java 8 does not wait for ffmpeg process output buffer read completion
13 février 2018, par Nitishkumar SinghWe need to create multiple clips from video, to do so we are using ProcessBuilder to create a new processes, Please fine code below
Process clipProcess = new ProcessBuilder("bash","-c",
"ffmpeg -i input.mp4 -ss 0:36:00.000 -codec copy -t 0:03:00.200 -threads 0 -y output.mp4").start();
clipProcess.waitFor();We need to perform some operation on the clips, as the processing get’s done and file is completely written to disk. But program returns control to next statement, even though file is not completely written to disk. Any suggestion, what I am doing wrong ?
Edit :
We are able to handle clips generated from any video below 45 minutes, but after that generated clips does not completely get written to disk before processing -
Get data from native process on Android
22 octobre 2013, par Gonzalo SoleraI´m converting a video with my app, and I got it using the FFmpeg library. I´m using a static compiled version of FFmpeg and I run my command like this :
//Conversion video
try {
Process p = Runtime.getRuntime().exec("data/data/package/cache/ffmpeg -i " path " -g " String.valueOf(keyFrames) " -s 720x480 -vcodec libx264 -an -y /sdcard/lowResolution.mp4");
p.waitFor();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
Log.d(TAG, "Video convertido");It works well but it takes me too much time, so I would like to put a progress bar, so I should need to read output events of the process (the same output I can see when I execute the command in terminal) in order to know how long will it take or something like that.
Sorry for my english and thanks for help !!
-
mp4 subtitle issue of traf/trun
24 octobre 2023, par TanyI'm implementing a progressive mp4 muxer to create a fmp4 with h264 video, aac audio, and tx3g subtitles. VLC can currently play the video I created (link), but the subtitles are not shown. I use ffmpeg to create a different video (link) for comparison. I examine the mp4 boxes of these two films using the mp4 parsers bento4-mp4dump(https://www.bento4.com/) and online mp4 parser(https://gpac.github.io/mp4box.js/test/filereader.html) (in particular, moov, moof, tref, trun and subtitle samples)


subtitle samples of ffmpeg generated video :



subtitle samples of my muxer generated video :



moov-trak-mdia-stbl-stsd-tx3g boxes are basically the same.
I can not figure out what's wrong with the moof-traf-trun boxes.


Any help would be greatly appreciated.