
Recherche avancée
Médias (91)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
avec chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
sans chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
config chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (81)
-
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 (...) -
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 (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, 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 (...)
Sur d’autres sites (7010)
-
avformat/id3v2 : Don't reverse the order of id3v2 APICs
13 avril 2021, par Andreas Rheinhardtavformat/id3v2 : Don't reverse the order of id3v2 APICs
When parsing ID3v2 tags, special (non-text) metadata is not applied
directly and unconditionally ; instead it is stored in a linked list
in which elements are prepended. When traversing the list to add APICs
(or private tags) at the end, the order is reversed. The same also
happens for chapters and therefore the chapter parsing code already
reverses the chapters.This commit changes this : By keeping pointers to both head and tail
of the linked list one can preserve the order of the entries and
remove the reordering code for chapters. Only the pointer to head
will be exported : No current caller uses a nonempty list, so exporting
both head and tail is unnecessary. This removes the functionality
to combine the lists of special metadata read from different ID3v2 tags,
but that doesn't make really much sense anyway (and would be trivial
to implement if desired) and allows to remove the now unnecessary
initializations performed by the callers.The FATE-reference for the id3v2-priv test had to be updated
because the order of the tags read into the dict is reversed ;
for id3v2-priv-remux only the md5 and not the ffprobe output
of the remuxed file changes because the order of the private tags
has up until now been reversed twice.The references for the aiff/mp3 cover-art tests needed to be updated,
because the order of the attached pics is reversed upon reading.
It is still not correct, because the muxers write the pics in the order
in which they arrive at the muxer instead of the order given by
pkt->stream_index.Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
- [DH] libavformat/aacdec.c
- [DH] libavformat/aiffdec.c
- [DH] libavformat/asf.c
- [DH] libavformat/dsfdec.c
- [DH] libavformat/id3v2.c
- [DH] libavformat/id3v2.h
- [DH] libavformat/iff.c
- [DH] libavformat/omadec.c
- [DH] libavformat/wavdec.c
- [DH] tests/ref/fate/cover-art-aiff-id3v2-remux
- [DH] tests/ref/fate/cover-art-mp3-id3v2-remux
- [DH] tests/ref/fate/id3v2-priv
- [DH] tests/ref/fate/id3v2-priv-remux
-
ffmpeg : make a copy from a decoded frame (AVFrame)
19 août 2015, par MehdiI want to make a backup frame (AVFrame) from a special frame(let’s say pic). So, I have written
AVFrame* bkf = avcodec_alloc_frame();
memcpy(bkf,pic,sizeof(AVFrame));
bkf->extended_data = pic->extended_data;
bkf->linesize[0] = pic->linesize[0];
memcpy(bkf->data, pic->data, sizeof(pic->data));
bkf->reordered_opaque = pic->reordered_opaque;
bkf->sample_rate = pic->sample_rate;
bkf->channel_layout = pic->channel_layout;
bkf->pkt_pts = pic->pkt_pts;
bkf->pkt_pos = pic->pkt_pos;
bkf->width = pic->width;
bkf->format = pic ->format;to copy pic to bkf. But after running, I saw a lot of distortion. any idea how to make a correct copy from a decoded frame ?
-
Can i programmatically rename a file on removable sd card
2 août 2015, par Bhuvnesh VarmaI tried below codes for renaming file.It works fine for internal storage but is not working for removable sd card file.I need to rename file on removable sd card to remove spaces and special characters from filename as I am using fmpeg command to cut videos.
File from = new File(originalpath);
String rename=originalpath.replace(" ", "").replace("-","").replace(",","").trim();
File to = new File(rename);
Boolean result= from.renameTo(to);OR
File from = new File(originalpath);
File to=new File((Environment.getExternalStorageDirectory()),"gvideo.mp4");
Boolean result2= from.renameTo(to);Both of them gives result false
Adding details about command-
execFFmpegBinary("-i " + from.getAbsolutePath() + " -ss " + startMs / 1000 + " -to " + endMs / 1000 + " -strict -2 -async 1 " + dest.getAbsolutePath());
private void execFFmpegBinary(final String command) {
try {
ffmpeg.execute(command, new ExecuteBinaryResponseHandler() {
@Override
public void onFailure(String s) {
Log.e("Previewragment", "FAILED with output : " + s);
}
@Override
public void onSuccess(String s) {
Log.e("Previewragment", "SUCCESS with output : " + s);
}
@Override
public void onProgress(String s) {
Log.e("Previewragment", "Started command : ffmpeg " + command);
Log.e("Previewragment", "progress : " + s);
}
@Override
public void onStart() {
Log.e("Previewragment", "Started command : ffmpeg " + command);
}
@Override
public void onFinish() {
Log.e("Previewragment", "Finished command : ffmpeg " + command);
}
});
} catch (FFmpegCommandAlreadyRunningException e) {
// do nothing for now
}
}Failure message-
FAILED with output : WARNING: linker: /data/data/xyz/files/ffmpeg has text relocations. This is wasting memory and prevents security hardening. Please fix.
ffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
built on Oct 7 2014 15:11:41 with gcc 4.8 (GCC)
configuration: --target-os=linux --cross-prefix=/home/sb/Source-Code/ffmpeg-android/toolchain-android/bin/i686-linux-android- --arch=x86 --cpu=i686 --enable-runtime-cpudetect --sysroot=/home/sb/Source-Code/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/sb/Source-Code/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/sb/Source-Code/ffmpeg-android/build/x86 --extra-cflags='-I/home/sb/Source-Code/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -march=i686' --extra-ldflags='-L/home/sb/Source-Code/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
libavutil 54. 7.100 / 54. 7.100
libavcodec 56. 1.100 / 56. 1.100
libavformat 56. 4.101 / 56. 4.101
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 1.100 / 5. 1.100
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100
"/storage/emulated/0/Movies/m_ASUS_Display_Demo.mp4": No such file or directoryAdded complete method-
private void executeTrimCommand(int startMs, int endMs) {
File moviesDir = Environment.getExternalStoragePublicDirectory(
Environment.DIRECTORY_MOVIES
);
String filePrefix = "guggu";
String fileExtn = ".mp4";
String fileName = filePrefix + fileExtn;
File from = new File(path);
try {
dest = new File(moviesDir, filePrefix + "_1" + fileExtn);
if (dest.exists()) {
dest.delete();
}
String command = String.format("-i \"%s\" -ss %d -to %d -strict -2 -async 1 \"%s\" ",path,startMs / 1000 , endMs / 1000, dest.getAbsolutePath());
execFFmpegBinary(command);
} catch (Exception e) {
Log.e("Previewragment", e.toString());
e.printStackTrace();
}
}