Recherche avancée

Médias (0)

Mot : - Tags -/auteurs

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (112)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains 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 ;

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (15305)

  • How to parse ffmpeg progress real time in ruby

    7 octobre 2015, par jryancanty

    So 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 and time real-time without waiting for the process to finish ?

  • django upload and convert and save

    31 août 2015, par hessam zaheri

    I 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 Brenner

    I 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)