
Recherche avancée
Médias (3)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (76)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Le plugin : Gestion de la mutualisation
2 mars 2010, parLe plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
Installation basique
On installe les fichiers de SPIP sur le serveur.
On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
< ?php (...)
Sur d’autres sites (8230)
-
How to parse ffmpeg progress real time in ruby
7 octobre 2015, par jryancantySo I was struggling with this problem a long time last night and finally figured it out so I wanted to post here in case someone ran across the same issue.
The goal is to parse the output of FFmpeg so that it would run in a Sidekiq worker and save progress and duration to an ActiveRecord model so I could get a progress bar in the UI by polling the database.
How do I parse ffmpeg
duration
andtime
real-time without waiting for the process to finish ? -
django upload and convert and save
31 août 2015, par hessam zaheriI have a form in django that I upload an avi movie and I want to convert to mp4 and save in media root and save path in database record :
class Content(models.Model):
content_title_en = models.CharField(max_length=255)
content_movie = models.FileField(verbose_name='movie')
def save(self, *args, **kwargs):
if self.content_movie:
os.popen("ffmpeg -i C:/new/Wildlife.wmv video.mp4")
super(Content, self).save(*args, **kwargs)and I convert file but I don’t know how save in file and my database record.
-
Unresolved symbols when linking ffmpeg 2.7.1 on OSX 10.10.4/amd64 with Xcode 6.4
9 juillet 2015, par Corey BrennerI am seeing a problem linking against ffmpeg 2.7.1 (as installed by homebrew just today). Though the libraries in question are referenced on the command line, and though the linker admits to pulling in the correct libraries, and though the libraries themselves have the desired symbols (verified with NM), the symbols I need from the ffmpeg libraries do not show up.
My host and target platform is Mac x86_64, Xcode 6.4, OS X v10.10.4.
("ERROR (LINK.dll) : " is from my build system)
Thanks in advance !
ERROR (LINK.dll): /usr/bin/clang -dynamiclib -single_module -install_name @loader_path/ourapp_ffmpeg_test.5.0.0.dylib -compatibility_version 5.0.0 -current_version 5.0.0 -v -Wl,-t -arch x86_64 -mmacosx-version-min=10.7 -g -o "/Users/myname/src/oursdk/devel/main/out/mac/x86-64/system/debug/obj/source/ourapp/decoders/ourapp_ffmpeg_test/dll/shared/ourapp_ffmpeg_test.5.0.0.dylib" /Users/myname/src/oursdk/devel/main/out/mac/x86-64/system/debug/obj/source/ourapp/decoders/ourapp_ffmpeg_test/pic/main.o /Users/myname/src/oursdk/devel/main/out/mac/x86-64/system/debug/obj/source/ourbaselib/lib/pic/libourbaselib.a -L"/usr/local/lib" -lavformat -lavcodec -lswscale -lavutil -framework IOKit -framework CoreServices -liconv -lstdc++
ERROR (LINK.dll): Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
ERROR (LINK.dll): Target: x86_64-apple-darwin14.4.0
ERROR (LINK.dll): Thread model: posix
ERROR (LINK.dll): "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -dynamic -dylib -dylib_compatibility_version 5.0.0 -dylib_current_version 5.0.0 -arch x86_64 -dylib_install_name @loader_path/ourapp_ffmpeg_test.5.0.0.dylib -macosx_version_min 10.7.0 -single_module -o /Users/myname/src/oursdk/devel/main/out/mac/x86-64/system/debug/obj/source/ourapp/decoders/ourapp_ffmpeg_test/dll/shared/ourapp_ffmpeg_test.5.0.0.dylib -L/usr/local/lib -t /Users/myname/src/oursdk/devel/main/out/mac/x86-64/system/debug/obj/source/ourapp/decoders/ourapp_ffmpeg_test/pic/main.o /Users/myname/src/oursdk/devel/main/out/mac/x86-64/system/debug/obj/source/ourbaselib/lib/pic/libourbaselib.a -lavformat -lavcodec -lswscale -lavutil -framework IOKit -framework CoreServices -liconv -lstdc++ -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.1.0/lib/darwin/libclang_rt.osx.a
ERROR (LINK.dll): Undefined symbols for architecture x86_64:
ERROR (LINK.dll): "av_frame_free(AVFrame**)", referenced from:
ERROR (LINK.dll): ourapp_ffmpeg_shutdown(ourapp_ffmpeg_handle_s*) in main.o
ERROR (LINK.dll): "av_read_frame(AVFormatContext*, AVPacket*)", referenced from:
ERROR (LINK.dll): ourapp_ffmpeg_frame_get(ourapp_ffmpeg_handle_s*, AVFrame**, int*, int*) in main.o
ERROR (LINK.dll): "avcodec_close(AVCodecContext*)", referenced from:
ERROR (LINK.dll): ourapp_ffmpeg_shutdown(ourapp_ffmpeg_handle_s*) in main.o
ERROR (LINK.dll): "avcodec_open2(AVCodecContext*, AVCodec const*, AVDictionary**)", referenced from:
ERROR (LINK.dll): ourapp_ffmpeg_decode_init(char const*, ourapp_ffmpeg_handle_s*) in main.o
ERROR (LINK.dll): "av_dump_format(AVFormatContext*, int, char const*, int)", referenced from:
ERROR (LINK.dll): ourapp_ffmpeg_decode_init(char const*, ourapp_ffmpeg_handle_s*) in main.o
ERROR (LINK.dll): "av_frame_alloc()", referenced from:
ERROR (LINK.dll): ourapp_ffmpeg_decode_init(char const*, ourapp_ffmpeg_handle_s*) in main.o
ERROR (LINK.dll): "av_free_packet(AVPacket*)", referenced from:
ERROR (LINK.dll): ourapp_ffmpeg_frame_get(ourapp_ffmpeg_handle_s*, AVFrame**, int*, int*) in main.o
ERROR (LINK.dll): "avpicture_fill(AVPicture*, unsigned char const*, AVPixelFormat, int, int)", referenced from:
ERROR (LINK.dll): ourapp_ffmpeg_decode_init(char const*, ourapp_ffmpeg_handle_s*) in main.o
ERROR (LINK.dll): "av_register_all()", referenced from:
ERROR (LINK.dll): ourapp_ffmpeg_init() in main.o
ERROR (LINK.dll): "avpicture_get_size(AVPixelFormat, int, int)", referenced from:
ERROR (LINK.dll): ourapp_ffmpeg_decode_init(char const*, ourapp_ffmpeg_handle_s*) in main.o
ERROR (LINK.dll): "avformat_open_input(AVFormatContext**, char const*, AVInputFormat*, AVDictionary**)", referenced from:
ERROR (LINK.dll): ourapp_ffmpeg_decode_init(char const*, ourapp_ffmpeg_handle_s*) in main.o
ERROR (LINK.dll): "avcodec_copy_context(AVCodecContext*, AVCodecContext const*)", referenced from:
ERROR (LINK.dll): ourapp_ffmpeg_decode_init(char const*, ourapp_ffmpeg_handle_s*) in main.o
ERROR (LINK.dll): "avcodec_find_decoder(AVCodecID)", referenced from:
ERROR (LINK.dll): ourapp_ffmpeg_decode_init(char const*, ourapp_ffmpeg_handle_s*) in main.o
ERROR (LINK.dll): "avformat_close_input(AVFormatContext**)", referenced from:
ERROR (LINK.dll): ourapp_ffmpeg_shutdown(ourapp_ffmpeg_handle_s*) in main.o
ERROR (LINK.dll): "sws_getCachedContext(SwsContext*, int, int, AVPixelFormat, int, int, AVPixelFormat, int, SwsFilter*, SwsFilter*, double const*)", referenced from:
ERROR (LINK.dll): get_scalecontext(SwsContext**, AVStream const*, int, int, AVPixelFormat) in main.o
ERROR (LINK.dll): "avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, AVPacket const*)", referenced from:
ERROR (LINK.dll): ourapp_ffmpeg_frame_get(ourapp_ffmpeg_handle_s*, AVFrame**, int*, int*) in main.o
ERROR (LINK.dll): "avcodec_alloc_context3(AVCodec const*)", referenced from:
ERROR (LINK.dll): ourapp_ffmpeg_decode_init(char const*, ourapp_ffmpeg_handle_s*) in main.o
ERROR (LINK.dll): "sws_getColorspaceDetails(SwsContext*, int**, int*, int**, int*, int*, int*, int*)", referenced from:
ERROR (LINK.dll): get_scalecontext(SwsContext**, AVStream const*, int, int, AVPixelFormat) in main.o
ERROR (LINK.dll): "sws_setColorspaceDetails(SwsContext*, int const*, int, int const*, int, int, int, int)", referenced from:
ERROR (LINK.dll): get_scalecontext(SwsContext**, AVStream const*, int, int, AVPixelFormat) in main.o
ERROR (LINK.dll): "avformat_find_stream_info(AVFormatContext*, AVDictionary**)", referenced from:
ERROR (LINK.dll): ourapp_ffmpeg_decode_init(char const*, ourapp_ffmpeg_handle_s*) in main.o
ERROR (LINK.dll): "av_free(void*)", referenced from:
ERROR (LINK.dll): ourapp_ffmpeg_shutdown(ourapp_ffmpeg_handle_s*) in main.o
ERROR (LINK.dll): "av_malloc(unsigned long)", referenced from:
ERROR (LINK.dll): ourapp_ffmpeg_decode_init(char const*, ourapp_ffmpeg_handle_s*) in main.o
ERROR (LINK.dll): "sws_scale(SwsContext*, unsigned char const* const*, int const*, int, int, unsigned char* const*, int const*)", referenced from:
ERROR (LINK.dll): ourapp_ffmpeg_frame_get(ourapp_ffmpeg_handle_s*, AVFrame**, int*, int*) in main.o
ERROR (LINK.dll): ld: symbol(s) not found for architecture x86_64
ERROR (LINK.dll): /Users/myname/src/oursdk/devel/main/out/mac/x86-64/system/debug/obj/source/ourapp/decoders/ourapp_ffmpeg_test/pic/main.o
ERROR (LINK.dll): /usr/local/lib/libavformat.dylib
ERROR (LINK.dll): /usr/local/lib/libavcodec.dylib
ERROR (LINK.dll): /usr/local/lib/libswscale.dylib
ERROR (LINK.dll): /usr/local/lib/libavutil.dylib
ERROR (LINK.dll): /System/Library/Frameworks//IOKit.framework/IOKit
ERROR (LINK.dll): /System/Library/Frameworks//CoreServices.framework/CoreServices
ERROR (LINK.dll): /usr/lib/libiconv.dylib
ERROR (LINK.dll): /usr/lib/libSystem.dylib
ERROR (LINK.dll): /usr/lib/libstdc++.dylib
ERROR (LINK.dll): /System/Library/Frameworks//CFNetwork.framework/CFNetwork
ERROR (LINK.dll): /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents
ERROR (LINK.dll): /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
ERROR (LINK.dll): /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
ERROR (LINK.dll): /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
ERROR (LINK.dll): /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
ERROR (LINK.dll): /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation
ERROR (LINK.dll): /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
ERROR (LINK.dll): /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
ERROR (LINK.dll): /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
ERROR (LINK.dll): /usr/lib/system/libcache.dylib
ERROR (LINK.dll): /usr/lib/system/libcommonCrypto.dylib
ERROR (LINK.dll): /usr/lib/system/libcompiler_rt.dylib
ERROR (LINK.dll): /usr/lib/system/libcopyfile.dylib
ERROR (LINK.dll): /usr/lib/system/libcorecrypto.dylib
ERROR (LINK.dll): /usr/lib/system/libdispatch.dylib
ERROR (LINK.dll): /usr/lib/system/libdyld.dylib
ERROR (LINK.dll): /usr/lib/system/libkeymgr.dylib
ERROR (LINK.dll): /usr/lib/system/liblaunch.dylib
ERROR (LINK.dll): /usr/lib/system/libmacho.dylib
ERROR (LINK.dll): /usr/lib/system/libquarantine.dylib
ERROR (LINK.dll): /usr/lib/system/libremovefile.dylib
ERROR (LINK.dll): /usr/lib/system/libsystem_asl.dylib
ERROR (LINK.dll): /usr/lib/system/libsystem_blocks.dylib
ERROR (LINK.dll): /usr/lib/system/libsystem_c.dylib
ERROR (LINK.dll): /usr/lib/system/libsystem_configuration.dylib
ERROR (LINK.dll): /usr/lib/system/libsystem_coreservices.dylib
ERROR (LINK.dll): /usr/lib/system/libsystem_coretls.dylib
ERROR (LINK.dll): /usr/lib/system/libsystem_dnssd.dylib
ERROR (LINK.dll): /usr/lib/system/libsystem_info.dylib
ERROR (LINK.dll): /usr/lib/system/libsystem_kernel.dylib
ERROR (LINK.dll): /usr/lib/system/libsystem_m.dylib
ERROR (LINK.dll): /usr/lib/system/libsystem_malloc.dylib
ERROR (LINK.dll): /usr/lib/system/libsystem_network.dylib
ERROR (LINK.dll): /usr/lib/system/libsystem_networkextension.dylib
ERROR (LINK.dll): /usr/lib/system/libsystem_notify.dylib
ERROR (LINK.dll): /usr/lib/system/libsystem_platform.dylib
ERROR (LINK.dll): /usr/lib/system/libsystem_pthread.dylib
ERROR (LINK.dll): /usr/lib/system/libsystem_sandbox.dylib
ERROR (LINK.dll): /usr/lib/system/libsystem_secinit.dylib
ERROR (LINK.dll): /usr/lib/system/libsystem_stats.dylib
ERROR (LINK.dll): /usr/lib/system/libsystem_trace.dylib
ERROR (LINK.dll): /usr/lib/system/libunc.dylib
ERROR (LINK.dll): /usr/lib/system/libunwind.dylib
ERROR (LINK.dll): /usr/lib/system/libxpc.dylib
ERROR (LINK.dll): /Users/myname/src/oursdk/devel/main/out/mac/x86-64/system/debug/obj/source/ourbaselib/lib/pic/libourbaselib.a(ourbaselib_memory.o)
ERROR (LINK.dll): /Users/myname/src/oursdk/devel/main/out/mac/x86-64/system/debug/obj/source/ourbaselib/lib/pic/libourbaselib.a(ourbaselib_atomic.o)
ERROR (LINK.dll): /Users/myname/src/oursdk/devel/main/out/mac/x86-64/system/debug/obj/source/ourbaselib/lib/pic/libourbaselib.a(ourbaselib_stacktrace.o)
ERROR (LINK.dll): clang: error: linker command failed with exit code 1 (use -v to see invocation)