
Recherche avancée
Médias (91)
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
-
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 (82)
-
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)
Sur d’autres sites (6237)
-
python Instagram API doesnt work
9 avril 2017, par sdgmI was looking for a c++-Instagram API but there was not any complete project. Now,I am using python-Instagram API. whenever I execute my code, too many errors occur. this is my code :
from InstagramAPI import InstagramAPI
InstagramAPI = InstagramAPI("no_ideaw", "xs*************#")
InstagramAPI.login()
InstagramAPI.removeProfilePicture()Then, these are the errors :
Traceback (most recent call last):
File "tester.py", line 1, in <module>
from InstagramAPI import InstagramAPI
File "/home/muhammad/Downloads/Instagram-API-python-master/InstagramAPI.py", line 25, in <module>
from moviepy.editor import VideoFileClip
File "/home/muhammad/.local/lib/python2.7/site-packages/moviepy/editor.py", line 22, in <module>
from .video.io.VideoFileClip import VideoFileClip
File "/home/muhammad/.local/lib/python2.7/site-packages/moviepy/video/io/VideoFileClip.py", line 3, in <module>
from moviepy.video.VideoClip import VideoClip
File "/home/muhammad/.local/lib/python2.7/site-packages/moviepy/video/VideoClip.py", line 20, in <module>
from .io.ffmpeg_writer import ffmpeg_write_image, ffmpeg_write_video
File "/home/muhammad/.local/lib/python2.7/site-packages/moviepy/video/io/ffmpeg_writer.py", line 15, in <module>
from moviepy.config import get_setting
File "/home/muhammad/.local/lib/python2.7/site-packages/moviepy/config.py", line 38, in <module>
FFMPEG_BINARY = get_exe()
File "/home/muhammad/.local/lib/python2.7/site-packages/imageio/plugins/ffmpeg.py", line 86, in get_exe
raise NeedDownloadError('Need ffmpeg exe. '
imageio.core.fetching.NeedDownloadError: Need ffmpeg exe. You can download it by calling:
imageio.plugins.ffmpeg.download()
</module></module></module></module></module></module></module>I tried to install
imageio.plugins.ffmpeg.download()
but nothing happened. what is wrong with my python code ?
-
ffmpeg main() function in android studio
21 avril 2016, par SpartanHere I am trying to use ffmpeg with gradle experimental plugin.
This is how I included all my shared libraries and their headers in repositories
repositories {
libs(PrebuiltLibraries) {
libavdevice {
headers.srcDir "/home/spartan/AndroidStudioProjects/Hello/app/src/main/jni/include"
binaries.withType(SharedLibraryBinary) {
sharedLibraryFile = file("/home/spartan/AndroidStudioProjects/Hello/app/src/main/jniLibs/${targetPlatform.getName()}/libavdevice-57.so")
}
}
libavcodec {
headers.srcDir "/home/spartan/AndroidStudioProjects/Hello/app/src/main/jni/include"
binaries.withType(SharedLibraryBinary) {
sharedLibraryFile = file("/home/spartan/AndroidStudioProjects/Hello/app/src/main/jniLibs/${targetPlatform.getName()}/libavcodec-57.so")
}
}
libavutil {
headers.srcDir "/home/spartan/AndroidStudioProjects/Hello/app/src/main/jni/include"
binaries.withType(SharedLibraryBinary) {
sharedLibraryFile = file("/home/spartan/AndroidStudioProjects/Hello/app/src/main/jniLibs/${targetPlatform.getName()}/libavutil-55.so")
}
}
libavformat {
headers.srcDir "/home/spartan/AndroidStudioProjects/Hello/app/src/main/jni/include"
binaries.withType(SharedLibraryBinary) {
sharedLibraryFile = file("/home/spartan/AndroidStudioProjects/Hello/app/src/main/jniLibs/${targetPlatform.getName()}/libavformat-57.so")
}
}
libswscale {
headers.srcDir "/home/spartan/AndroidStudioProjects/Hello/app/src/main/jni/include"
binaries.withType(SharedLibraryBinary) {
sharedLibraryFile = file("/home/spartan/AndroidStudioProjects/Hello/app/src/main/jniLibs/${targetPlatform.getName()}/libswscale-4.so")
}
}
libswresample {
headers.srcDir "/home/spartan/AndroidStudioProjects/Hello/app/src/main/jni/include"
binaries.withType(SharedLibraryBinary) {
sharedLibraryFile = file("/home/spartan/AndroidStudioProjects/Hello/app/src/main/jniLibs/${targetPlatform.getName()}/libswresample-2.so")
}
}
}
}
android.ndk {
moduleName = "video_trim"
ldLibs.addAll(["log", "android","jnigraphics"])
}
android.sources {
main {
jni {
dependencies {
library "libavdevice" linkage "shared"
library "libavcodec" linkage "shared"
library "libavutil" linkage "shared"
library "libavformat" linkage "shared"
library "libswscale" linkage "shared"
library "libswresample" linkage "shared"
}
}
}
}I tested one ffmpeg function(without using main function) which is running successfully. So this configuration seems ok.
No I want to use ffmpeg.c’s
main()
function to usecmd
for that I manually copy pasted ffmpeg.c,cmdutils.c, cmdutils.h, ffmpeg_filter.c, ffmpeg_opt.c,ffmpeg.h in my jni folder along with video_trim.c.( I took refrence from halfninja ).Here I am not using Andoid.mk so instead of LOCAL_C_INCLUDES, tried like this(updated android.ndk) to include ffmpeg folder(cppFlags was not working so I used CFlags also) :
android.ndk {
moduleName = "video_trim"
cppFlags.add("-I/home/spartan/ndk/android-ndk-r11c/sources/ffmpeg-3.0.1")
CFlags.add("-I/home/spartan/ndk/android-ndk-r11c/sources/ffmpeg-3.0.1")
ldLibs.addAll(["log", "android","jnigraphics"])
}But I am getting lot of undefined reference to error.
Ex :/home/spartan/AndroidStudioProjects/Hello/app/src/main/none/cmdutils.c
Error:(1086) undefined reference to 'avfilter_version'
Error:(1086) undefined reference to 'avfilter_configuration'
Error:(1621) undefined reference to 'avfilter_pad_get_type'
Error:(1618) undefined reference to 'avfilter_pad_get_name'
Error:(1610) undefined reference to 'avfilter_next'
Error:(1815) undefined reference to 'avfilter_get_by_name'
Error:(1834) undefined reference to 'avfilter_pad_count' -
Compile ffmpeg with x264 shows : ERROR : libx264 not found in docker building image
3 mai 2019, par NKamTrying to install ffmpeg from source with libx264 package. When I compile ffmpeg can’t find x264 because it is not installed.
I followed ffmpeg installation guide.Before intention to compile ffmpeg in building docker image I tried to install locally and found out in folder ffmpeg_build/include I don’t have x264 files installed.
To compile libx264 I used :
cd /ffmpeg_sources &&
git -C x264 pull 2> /dev/null || git clone —depth 1 https://code.videolan.org/videolan/x264.git &&
cd x264 &&
PATH="$HOME/bin :$PATH"
PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure —prefix="$HOME/ffmpeg_build" —bindir="$HOME/bin" —enable-static —enable-pic &&
PATH="$HOME/bin :$PATH" make &&
make install
I changed url to https://code.videolan.org/videolan/x264.git, because this url https://git.videolan.org/git/x264 from guide not working
I want to know what I missed. I want ffmpeg to find x264, if it is not installed how can I find way to install.