Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (105)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

Sur d’autres sites (8579)

  • Introducing CI Status : the build dashboard for Travis CI

    6 octobre 2014, par Matthieu Napoli — Development, Meta

    The Piwik team has been working on a new tool for developers : CI Status.

    CI Status is a dashboard displaying the latest build status for all your repositories set up on Travis-CI.org or Travis-CI.com. The usage is meant to be as simple as possible : just login using your GitHub account and enjoy.

    CI-status.com

    Give CI Status a try now at ci-status.com !

    CI Status screenshot

    On your server : Setup CI Status

    The application is open source (released under the GNU Affero General Public License) and developed on GitHub. You are encouraged to contribute to the GitHub project if you find any bug or if you want to add new features. Since it was developed with reusability in mind, you can also install and maintain the application on your own server.

    We hope you will find this tool as useful as we do !

  • ffmpeg Python Subprocess Error returned non-zero exit status 1

    1er août 2014, par Varda Elbereth

    So I have a line here that is meant to dump frames from a movie via python and ffmpeg.

    subprocess.check_output([ffmpeg, "-i", self.moviefile, "-ss 00:01:00.000 -t 00:00:05 -vf scale=" + str(resolution) + ":-1 -r", str(framerate), "-qscale:v 6", self.processpath + "/" + self.filetitles + "-output%03d.jpg"])

    And currently it’s giving me the error :

    'CalledProcessError: Command ... returned non-zero exit status 1'

    The command python SAYS it’s running is :

    '['/var/lib/openshift/id/app-root/data/programs/ffmpeg/ffmpeg', '-i', u'/var/lib/openshift/id/app-root/data/moviefiles/moviename/moviename.mp4', '-ss 00:01:00.000 -t 00:00:05 -vf scale=320:-1 -r', '10', '-qscale:v 6', '/var/lib/openshift/id/app-root/data/process/moviename/moviename-output%03d.jpg']'

    But when I run the following command via ssh...

    '/var/lib/openshift/id/app-root/data/programs/ffmpeg/ffmpeg' -i '/var/lib/openshift/id/app-root/data/moviefiles/moviename/moviename.mp4' -ss 00:01:00.000 -t 00:00:05 -vf scale=320:-1 -r 10 -qscale:v 6 '/var/lib/openshift/id/app-root/data/process/moviename/moviename-output%03d.jpg'

    It works just fine. What am I doing wrong ? I think I’m misunderstanding the way subprocess field parsing works...

  • compile librtmp for android error : cannot find -ldl collect2 : error : ld returned 1 exit status

    6 mai 2014, par hosein

    I have problem on comple librtmp for android using :
    https://github.com/OnlyInAmerica/FFmpeg-Android

    ./build_librtmp_for_android.sh

    /home/user/loc_app/android-ndk-r9d/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot open crtbegin_so.o: No such file or directory
    /home/user/loc_app/android-ndk-r9d/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot open crtend_so.o: No such file or directory
    /home/user/loc_app/android-ndk-r9d/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lssl
    /home/user/loc_app/android-ndk-r9d/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lcrypto
    /home/user/loc_app/android-ndk-r9d/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lz
    /home/user/loc_app/android-ndk-r9d/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lc
    /home/user/loc_app/android-ndk-r9d/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -ldl
    collect2: error: ld returned 1 exit status
    make: *** [librtmp.so.1] Error 1

    here is build_librtmp_for_android.sh :

    #!/bin/bash
    NDK=/home/user/loc_app/android-ndk-r9
    #/home/user/loc_app/android-ndk-r9/platforms/android-19/arch-arm
    SYSROOT=$NDK/platforms/android-18/arch-arm
    #platforms/android-19/arch-arm/
    TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64
    #/home/user/loc_app/android-ndk-r9/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64
    OPENSSL_DIR=/home/user/libs/openssl-android-master/
    # Note: Change the above variables for your system.
    function build_one
    {
       set -e
       make clean
       ln -s ${SYSROOT}usr/lib/crtbegin_so.o
       ln -s ${SYSROOT}usr/lib/crtend_so.o
       export XLDFLAGS="$ADDI_LDFLAGS -L${OPENSSL_DIR}libs/armeabi -L${SYSROOT}usr/lib "
       export CROSS_COMPILE=$TOOLCHAIN/bin/arm-linux-androideabi-
       export XCFLAGS="${ADDI_CFLAGS} -I${OPENSSL_DIR}include -isysroot ${SYSROOT}"
       export INC="-I${SYSROOT}"
       make prefix=\"${PREFIX}\" OPT= install
    }
    CPU=arm
    PREFIX=$(pwd)/android/$CPU
    ADDI_CFLAGS="-marm"
    build_one

    OS : Fedora 64bit

    EDIT 1 : that seems to Makefile so i added it here

    VERSION=v2.4

    prefix=/usr/local

    incdir=$(prefix)/include/librtmp
    bindir=$(prefix)/bin
    libdir=$(prefix)/lib
    mandir=$(prefix)/man
    BINDIR=$(DESTDIR)$(bindir)
    INCDIR=$(DESTDIR)$(incdir)
    LIBDIR=$(DESTDIR)$(libdir)
    MANDIR=$(DESTDIR)$(mandir)

    CC=$(CROSS_COMPILE)gcc
    LD=$(CROSS_COMPILE)ld
    AR=$(CROSS_COMPILE)ar

    SYS=posix
    CRYPTO=OPENSSL
    #CRYPTO=GNUTLS
    DEF_POLARSSL=-DUSE_POLARSSL
    DEF_OPENSSL=-DUSE_OPENSSL
    DEF_GNUTLS=-DUSE_GNUTLS
    DEF_=-DNO_CRYPTO
    REQ_GNUTLS=gnutls,hogweed,nettle
    REQ_OPENSSL=libssl,libcrypto
    PUB_GNUTLS=-lgmp
    LIBZ=-lz
    LIBS_posix=
    LIBS_darwin=
    LIBS_mingw=-lws2_32 -lwinmm -lgdi32
    LIB_GNUTLS=-lgnutls -lhogweed -lnettle -lgmp $(LIBZ)
    LIB_OPENSSL=-lssl -lcrypto $(LIBZ)
    LIB_POLARSSL=-lpolarssl $(LIBZ)
    PRIVATE_LIBS=$(LIBS_$(SYS))
    CRYPTO_LIB=$(LIB_$(CRYPTO)) $(PRIVATE_LIBS)
    CRYPTO_REQ=$(REQ_$(CRYPTO))
    CRYPTO_DEF=$(DEF_$(CRYPTO))
    PUBLIC_LIBS=$(PUB_$(CRYPTO))

    SO_VERSION=1
    SOX_posix=so
    SOX_darwin=dylib
    SOX_mingw=dll
    SOX=$(SOX_$(SYS))
    SO_posix=.$(SOX).$(SO_VERSION)
    SO_darwin=.$(SO_VERSION).$(SOX)
    SO_mingw=-$(SO_VERSION).$(SOX)
    SO_EXT=$(SO_$(SYS))

    SODIR_posix=$(LIBDIR)
    SODIR_darwin=$(LIBDIR)
    SODIR_mingw=$(BINDIR)
    SODIR=$(SODIR_$(SYS))

    SO_LDFLAGS_posix=-shared -Wl,-soname,$@
    SO_LDFLAGS_darwin=-dynamiclib -twolevel_namespace -undefined dynamic_lookup \
       -fno-common -headerpad_max_install_names -install_name $(libdir)/$@
    SO_LDFLAGS_mingw=-shared -Wl,--out-implib,librtmp.dll.a
    SO_LDFLAGS=$(SO_LDFLAGS_$(SYS))

    INSTALL_IMPLIB_posix=
    INSTALL_IMPLIB_darwin=
    INSTALL_IMPLIB_mingw=cp librtmp.dll.a $(LIBDIR)
    INSTALL_IMPLIB=$(INSTALL_IMPLIB_$(SYS))

    SHARED=yes
    SODEF_yes=-fPIC
    SOLIB_yes=librtmp$(SO_EXT)
    SOINST_yes=install_so
    SO_DEF=$(SODEF_$(SHARED))
    SO_LIB=$(SOLIB_$(SHARED))
    SO_INST=$(SOINST_$(SHARED))

    DEF=-DRTMPDUMP_VERSION=\"$(VERSION)\" $(CRYPTO_DEF) $(XDEF)
    OPT=-O2
    CFLAGS=-Wall $(XCFLAGS) $(INC) $(DEF) $(OPT) $(SO_DEF)
    LDFLAGS=$(XLDFLAGS)


    OBJS=rtmp.o log.o amf.o hashswf.o parseurl.o

    all:    librtmp.a $(SO_LIB)

    clean:
       rm -f *.o *.a *.$(SOX) *$(SO_EXT) librtmp.pc

    librtmp.a: $(OBJS)
       $(AR) rs $@ $?

    librtmp$(SO_EXT): $(OBJS)
       $(CC) $(SO_LDFLAGS) $(LDFLAGS) -o $@ $^ $> $(CRYPTO_LIB)
       ln -sf $@ librtmp.$(SOX)

    log.o: log.c log.h Makefile
    rtmp.o: rtmp.c rtmp.h rtmp_sys.h handshake.h dh.h log.h amf.h Makefile
    amf.o: amf.c amf.h bytes.h log.h Makefile
    hashswf.o: hashswf.c http.h rtmp.h rtmp_sys.h Makefile
    parseurl.o: parseurl.c rtmp.h rtmp_sys.h log.h Makefile

    librtmp.pc: librtmp.pc.in Makefile
       sed -e "s;@prefix@;$(prefix);" -e "s;@libdir@;$(libdir);" \
           -e "s;@VERSION@;$(VERSION);" \
           -e "s;@CRYPTO_REQ@;$(CRYPTO_REQ);" \
           -e "s;@PUBLIC_LIBS@;$(PUBLIC_LIBS);" \
           -e "s;@PRIVATE_LIBS@;$(PRIVATE_LIBS);" librtmp.pc.in > $@

    install:    install_base $(SO_INST)

    install_base:   librtmp.a librtmp.pc
       -mkdir -p $(INCDIR) $(LIBDIR)/pkgconfig $(MANDIR)/man3 $(SODIR)
       cp amf.h http.h log.h rtmp.h $(INCDIR)
       cp librtmp.a $(LIBDIR)
       cp librtmp.pc $(LIBDIR)/pkgconfig
       cp librtmp.3 $(MANDIR)/man3

    install_so: librtmp$(SO_EXT)
       cp librtmp$(SO_EXT) $(SODIR)
       $(INSTALL_IMPLIB)
       cd $(SODIR); ln -sf librtmp$(SO_EXT) librtmp.$(SOX)