
Recherche avancée
Médias (2)
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (87)
-
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 (9010)
-
Evolution #2812 : Avertir de l’absence de SQLite sur la page de backup
12 mai 2013, par cedric -@Thierry : Les warning sur l’unicité des clés primaires sont "normaux" dans le sens où ils permettent de se protéger vis à vis de l’approximation inhérente à la reprise sur interruption. Les backups au format XML des versions précédentes avaient les mêmes défauts mais sans protection de ce côté là, conduisant à des données erronées au final.
L’absence de table meta a la connexion est aussi normale lors du backup.
Le fait que ce soit lent est lui inhérent au mode de sauvegarde où l’on lit les tables morceau par morceau pour les écrires dans un fichier (que ce soit SQLite ou XML ne change rien sur ce point).Et bien sur, mysqldump est bien plus rapide, de plusieurs ordres de grandeur. Mais le format SQL qu’il produit n’est pas portable, pose parfois des problèmes au ré-import sur un autre serveur avec une version mySQL différente, et n’est pas importable dans un SQLite par exemple.
Bref pas de solution idéale, encore une fois celle proposée dans le core essaye d’être le plus générique possible.
-
Using Coldfusion's CFFILE tag to monitor a progress log from FFMpeg
5 mai 2013, par user1493918I want to learn how to use the CFFILE tag from ColdFusion to read the contents of a text file. In my case, that text file is a progress log that is generated by FFMpeg while it transcodes a media file. I want to write a ColdFusion script that will poll the progress log periodically, until the log indicates that FFMpeg has finished its transcoding operation. On the client side I can then use Ajax to hit that ColdFusion script and show the user a "percentage completed" while FFMpeg does its work.
I got FFMpeg to generate the log file by using a new "progress" flag that recent versions of FFMpeg now support. Below I'll show you the way to use this flag, and also the generated output within the log file.
Here's the FFMpeg command :
ffmpeg -i c:\my_original_file.ogg c:\my_converted_file.mp3 -progress c:\my_progress.txt
The above command will cause FFMpeg to generate a log file called my_progress.txt.
Here's what it generates in the log file :
total_size=206150
out_time_ms=51410044
out_time=00:00:51.410044
dup_frames=0
drop_frames=0
progress=continueThe above 6 lines are generated repeatedly in the log file, with increasing values.
total_size=206150
out_time_ms=51410044
out_time=00:00:51.410044
dup_frames=0
drop_frames=0
progress=continue
total_size=412413
out_time_ms=102975756
out_time=00:01:42.975756
dup_frames=0
drop_frames=0
progress=continue
total_size=618363
out_time_ms=154463111
out_time=00:02:34.463111
dup_frames=0
drop_frames=0
progress=continue
total_size=824939
out_time_ms=206107189
out_time=00:03:26.107189
dup_frames=0
drop_frames=0
progress=continueFinally, when the job completes, the final block of 6 lines are the last ones in the log file. Notice the "progress=end" on the last line :
total_size=9725902
out_time_ms=2431348011
out_time=00:40:31.348011
dup_frames=0
drop_frames=0
progress=endI want to write a Coldfusion script using the CFFILE tag to read only the last 6 lines of the file (no matter how large the file has become), and to do this each time the script is called, by the browser, via Ajax. Finally I need to parse the values on these lines into variables so I can return some data to the caller.
I've researched progress bars for FFMpeg but they're in PHP which is hard for me, and besides, they parse the older formatted versions of FFMpeg's log files, and I would like to use the above newer formatting. Can anyone please help ?
-
Incorrect frame rate in video (Xuggler + MPEG 4 + H.264)
12 novembre 2014, par Vladislav BauerI have a problem with incorrect value of frame rate in output file, after converting. I made a really simple example to describe a problem :
public static void main(String[] args) {
// reader
IMediaReader reader = ToolFactory.makeReader("/tmp/1/i3.avi");
IMediaWriter writer = ToolFactory.makeWriter("/tmp/1/o3.mp4", reader);
reader.addListener(writer);
while (true) {
try {
final IError error = reader.readPacket();
if(error != null) {
System.err.println("Error decoding packet " + error.getDescription());
if (!reader.isOpen()) {
break;
}
}
} catch (final Exception ex) {
System.err.println("Error decoding packet " + ex.getMessage());
if (!reader.isOpen()) {
break;
}
}
}
}Any additional parameters for video or audio streams/codecs aren’t configured .
The input video file ("/tmp/1/i3.avi") has the following features :
- General
- Container : Audio Video Interleave (AVI)
- Video
- Dimensions : 624x352
- Codec : XVID MPEG-4
- Framerate : 24 frames per second
- Bitrate : N/A
- Audio :
- Codec : MPEG-1 Layer 3 (MP3)
- Channels : Stereo
- Sample rate : 48000 Hz
- Bitrate : 112 kbps
The output video file ("/tmp/1/o3.avi") has the following features :
- General
- Container : Quicktime
- Video
- Dimensions : 624x352
- Codec : H.264
- Framerate : 8 frames per second
- Bitrate : 378 kbps
- Audio :
- Codec : MPEG-4 AAC
- Channels : Stereo
- Sample rate : 48000 Hz
- Bitrate : 127 kbps
So, the frame rate in output file is 8 instead of 24. How can I fix it ? Please, help me..
PS : I’ve already tried Xuggler H264 FPS encoding issue and few another solutions, it doesn’t help..
UPD : After a long war with Xugler I wrote my own pure-java interface to the avconv and it works fine for me : https://github.com/vbauer/avconv4java
- General