
Recherche avancée
Médias (2)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (69)
-
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 (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (5743)
-
Track format difference when importing BMP file into quicktime .mov file
23 juillet 2015, par Neal DavisI am creating a quicktime container .mov file from one BMP file in two ways :
- Using the quicktime COM object API for .NET C# under windows
- Using ffmpeg command line (rawvideo codec)
Both resulting .MOV files open with Quicktime Player Pro just fine and look identical to my eyes, also they are either the same size as the original BMP or larger.
However, when viewing the track properties under QT Player PRO, they show :
- track format = BMP.
- track format = NONE.
Is there likely a difference since in 1. above I do not set a track properties format ? In other words, is there likely any changes being made to the BMP bits in number 1 above (like compression, or alpha, or ???) ?
-
undefined reference to 'main' in Android.mk file with NDK
25 juillet 2015, par Laurent GorseI’m trying to recompile a native ffmpeg (with rtmp) library with PIE for Android 5.0 compatibility.
The library works fine without -pie, but when I try to recompile it with the following flags :
LOCAL_CFLAGS += -fPIE
LOCAL_LDFLAGS += -fPIE -piethe following error gets thrown :
/Users/lgorse/Android_Libraries/android-ndk-r10e/platforms/android-21/arch-arm/usr/lib/crtbegin_dynamic.o:crtbrand.c:function _start: error: undefined reference to 'main'
Error:error: ld returned 1 exit status
make: *** [obj/local/armeabi/libffmpegbridge.so] Error 1
make: Leaving directory `/Users/lgorse/Android_Libraries/ffmpegbridge/app/src/main'
:app:ndkBuild FAILED
Error:Execution failed for task ':app:ndkBuild'.
> Process 'command '/Users/lgorse/Android_Libraries/android-ndk-r10e/ndk-build'' finished with non-zero exit value 2It seems that the ndk-build is trying to access a .main method from within crtbegin_dynamic. Those files are built-in with the NDK so I assume there’s nothing fundamentally wrong with them, and I’m attempting to run my configuration in the wrong way.
Here is the Android.mk file :
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := ffmpegbridge
LOCAL_SRC_FILES := ffmpegbridge.c ffmpegbridge_context.c logdump.c
LOCAL_CFLAGS := -I$(LOCAL_PATH)/include -I$(LOCAL_PATH)/../prebuilt/include
LOCAL_CFLAGS += -fPIE
LOCAL_LDFLAGS += -fPIE -pie
LOCAL_LDLIBS += -llog
LOCAL_LDLIBS += -L$(LOCAL_PATH)/../prebuilt/lib
LOCAL_LDLIBS += -lcrypto -lssl -lrtmp-1 -lavcodec-56 -lavdevice-56 -lavfilter-5 -lavformat-56 -lavutil-54 -lswresample-1 -lswscale-3
include $(BUILD_SHARED_LIBRARY)Here is my Gradle file (it contains the build instructions for ndkBuild) :
apply plugin: 'android'
android {
compileSdkVersion 19
buildToolsVersion "19.1.0"
defaultConfig {
applicationId "io.cine.ffmpegbridge"
minSdkVersion 18
targetSdkVersion 19
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
sourceSets.main {
jniLibs.srcDir 'src/main/libs'
jni.srcDirs = [] // disable NDK-auto-build
}
Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())
task ndkBuild(type: Exec) {
def ndkDir = properties.getProperty('ndk.dir')
commandLine "$ndkDir/ndk-build", '-C', file('src/main').absolutePath
}
task cleanNdkBuild(type: Exec) {
def ndkDir = properties.getProperty('ndk.dir')
commandLine "$ndkDir/ndk-build", '-C', file('src/main').absolutePath, "clean"
}
tasks.withType(JavaCompile) { compileTask -> compileTask.dependsOn ndkBuild }
clean.dependsOn cleanNdkBuild
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
}I’ll be watching this question closely so feel free to ask for follow-ups. I’m definitely around !
-
Metadata is not showing ffmpeg C++
18 août 2015, par Kaidul IslamI am muxing h264 encoded video data and PCM g711 encoded audio data into a
.mov
media container. I am trying to write metadata on header but the metadata is not showing when I go to file->right click->properties->details on windows and likewise in Ubuntu. This is my code -// Instead of creating new AVDictionary object, I also tried following way
// stated here: http://stackoverflow.com/questions/17024192/how-to-set-header-metadata-to-encoded-video
// but no luck
AVDictionary* pMetaData = m_pFormatCtx->metadata;
av_dict_set(&pMetaData, "title", "Cloud Recording", 0);
av_dict_set(&pMetaData, "artist", "Foobar", 0);
av_dict_set(&pMetaData, "copyright", "Foobar", 0);
av_dict_set(&pMetaData, "filename", m_sFilename.c_str(), 0);
time_t now = time(0);
struct tm tStruct = *localtime(&now);
char date[100];
strftime(date, sizeof(date), "%c", &tStruct); // i.e. Thu Aug 23 14:55:02 2001
av_dict_set(&pMetaData, "date", date, 0);
av_dict_set(&pMetaData, "creation_time", date, 0);
av_dict_set(&pMetaData, "comment", "This video has been created using Eyeball MSDK", 0);
// ....................
// .................
/* write the stream header, if any */
int ret = avformat_write_header(m_pFormatCtx, &pMetaData);I also tried to see if the file contains any metadata using
mediainfo
andexiftools
in linux. Also I triedffmpeg -i output.mov
but no metadata is shown.Whats the problem ? Is the
flags
value0
inav_dict_set
okay ? DO I need to set different flags for different platform (windows/linux) ?I saw this link and it stated that for windows, I have to use
id3v2_version 3
and-write_id3v1 1
to make metadata working. If so, how can I do this in C++ ?