Recherche avancée

Médias (0)

Mot : - Tags -/auteurs

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

Autres articles (57)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

Sur d’autres sites (5786)

  • Android ffmpeg with opus support

    6 décembre 2014, par ademar111190

    I’m following this tutorial, with some changes, i want add the opus support, I think adding the option --enable-libopus is all i need but no, when I try compile with the shell as follow I’m getting the error :

    configure.sh

    #!/bin/bash

    export ANDROID_NDK=/home/ademar/android-ndk-r9
    export TOOLCHAIN=$(pwd)/temp/ffmpeg
    export SYSROOT=$TOOLCHAIN/sysroot/
    $ANDROID_NDK/build/tools/make-standalone-toolchain.sh --platform=android-9 --toolchain=arm-linux-androideabi-4.8 --install-dir=$TOOLCHAIN

    export PATH=$TOOLCHAIN/bin:$PATH
    export CC=arm-linux-androideabi-gcc
    export LD=arm-linux-androideabi-ld
    export AR=arm-linux-androideabi-ar

    CFLAGS="-O3 -Wall -mthumb -pipe -fpic -fasm \
     -finline-limit=300 -ffast-math \
     -fstrict-aliasing -Werror=strict-aliasing \
     -fmodulo-sched -fmodulo-sched-allow-regmoves \
     -Wno-psabi -Wa,--noexecstack \
     -D__ARM_ARCH_5__ -D__ARM_ARCH_5E__ \
     -D__ARM_ARCH_5T__ -D__ARM_ARCH_5TE__ \
     -DANDROID -DNDEBUG"

    EXTRA_CFLAGS="-march=armv7-a -mfpu=neon -mfloat-abi=softfp -mvectorize-with-neon-quad"
    EXTRA_LDFLAGS="-Wl,--fix-cortex-a8"

    FFMPEG_FLAGS="--prefix=/tmp/ffmpeg/build \
     --target-os=linux \
     --arch=arm \
     --enable-cross-compile \
     --cross-prefix=arm-linux-androideabi- \
     --enable-shared \
     --disable-symver \
     --disable-doc \
     --disable-ffplay \
     --disable-ffmpeg \
     --disable-ffprobe \
     --disable-ffserver \
     --disable-avdevice \
     --disable-avfilter \
     --disable-encoders  \
     --disable-muxers \
     --disable-filters \
     --disable-devices \
     --disable-everything \
     --enable-protocols  \
     --enable-parsers \
     --enable-demuxers \
     --disable-demuxer=sbg \
     --enable-decoders \
     --enable-bsfs \
     --disable-network \
     --enable-swscale  \
     --enable-asm \
     --enable-libopus \
     --enable-libtheora \
     --enable-libvorbis \
     --enable-nonfree \
     --enable-version3"

    cd ffmpeg
    ./configure $FFMPEG_FLAGS --extra-cflags="$CFLAGS $EXTRA_CFLAGS" --extra-ldflags="$EXTRA_LDFLAGS"

    the error :

    ERROR: opus not found

    If you think configure made a mistake, make sure you are using the latest version from Git. If the latest version fails, report the problem to the ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "config.log" produced by configure as this will help solving the problem.

    if want i can post the config.log content, but it is big.

    on folder ffmpeg I have a git clone from source.ffmpeg.org on branch release/1.2

  • Using FFMPEG library in PPAPI : Naclports with FFmpeg

    30 avril 2017, par rasulzhan

    I have configured Webports, ffmpeg ; and I have created the following Makefile for the current project. However, I have met some problem with ffmpeg library linking.

    $ TOOLCHAIN=pnacl make
     LINK pnacl/Release/client_unstripped.bc
    pnacl/Release/src/client.o: error: undefined reference to 'av_register_all'
    make: *** [pnacl/Release/client_unstripped.bc] Error 1

    Can you tell me what I am doing wrong here, my Makefile is shown below :

    VALID_TOOLCHAINS := pnacl glibc clang-newlib win

    NACL_SDK_ROOT ?= $(abspath $(CURDIR)/../..)

    TARGET = client

    OTHERDIR=src

    INC_DIR = inc

    FFMPEG_INC_DIR = ../../toolchain/mac_pnacl/le32-nacl/usr/include

    INCLUDES = -I$(INC_DIR) -I$(FFMPEG_INC_DIR)

    include $(NACL_SDK_ROOT)/tools/common.mk

    CHROME_ARGS += —allow-nacl-socket-api=localhost

    LIBS = nacl_io ppapi_cpp ppapi

    CFLAGS = -Wall -g -O2 $(INCLUDES)
    -L../../toolchain/mac_pnacl/le32-nacl/usr/lib -lavformat \
    -lvpx -lvorbisenc -lvorbis -logg -ltheoraenc -ltheoradec -logg -lmp3lame -lm -pthread -lavcodec -lvpx -lvorbisenc -lvorbis -logg \
    -ltheoraenc -ltheoradec -logg -lmp3lame -lm -pthread -lswresample -lm -lavutil -lm -lavdevice -lavfilter

    SOURCES = $(OTHERDIR)/tcp_util.cc $(OTHERDIR)/tpool.cc
    $(OTHERDIR)/net.cc $(OTHERDIR)/rtsp_response.cc \ $(OTHERDIR)/rtsp.cc
    $(OTHERDIR)/rtsp_common.cc \ $(OTHERDIR)/rtsp_client.cc
    $(OTHERDIR)/udp_util.cc \ $(OTHERDIR)/client.cc

    # Build rules generated by macros from common.mk :

    $(foreach src,$(SOURCES),$(eval $(call
    COMPILE_RULE,$(src),$(CFLAGS))))

    # The PNaCl workflow uses both an unstripped and finalized/stripped binary.
    # On NaCl, only produce a stripped binary for Release configs (not Debug). ifneq (,$(or $(findstring pnacl,$(TOOLCHAIN)),$(findstring
    Release,$(CONFIG)))) $(eval $(call
    LINK_RULE,$(TARGET)_unstripped,$(SOURCES),$(LIBS),$(DEPS))) $(eval
    $(call STRIP_RULE,$(TARGET),$(TARGET)_unstripped)) else $(eval $(call
    LINK_RULE,$(TARGET),$(SOURCES),$(LIBS),$(DEPS))) endif

    $(eval $(call NMF_RULE,$(TARGET),))

    And here is the way, how the library has been used in the class context.

    class VideoDecodePack {
    public:
       VideoDecodePack() {
           av_register_all();
       }
    };

    class ClientInstance : public pp::Instance {
    public:
     explicit ClientInstance(PP_Instance instance) : pp::Instance(instance){
       cses = InitRtspClientSession();
       _videoDecoder = new VideoDecodePack();
     }
    ...
  • Convert WMV to mp4 using ffmpeg get Black screen

    16 mars 2015, par HawkEye000

    When converting an .wmv file to .mp4 i used this command :

    exec("ffmpeg -i file.wmv -vcodec mpeg4 -acodec libfaac -b 1200 -r 15 -s 320x240 -pix_fmt yuv420p file.mp4") ;

    Sound is fine but i have no image (using html5 not when downloaded to pc) .
    this is the outputs :

    FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers
     built on Jan 29 2012 17:52:15 with gcc 4.4.5 20110214 (Red Hat 4.4.5-6)
     configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-avfilter-lavf --enable-libdc1394 --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab
     libavutil     50.15. 1 / 50.15. 1
     libavcodec    52.72. 2 / 52.72. 2
     libavformat   52.64. 2 / 52.64. 2
     libavdevice   52. 2. 0 / 52. 2. 0
     libavfilter    1.19. 0 /  1.19. 0
     libswscale     0.11. 0 /  0.11. 0
     libpostproc   51. 2. 0 / 51. 2. 0
    [wmv3 @ 0xc2daa0]Extra data: 8 bits left, value: 20

    Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 30.00 (30/1)
    Input #0, asf, from '/home/xxx/public_html/new/zawmju.wmv':
     Metadata:
       Application     : Windows Movie Maker 2.6.4037.0
       WM/ParentalRating:
       WMFSDKVersion   : 12.0.9200.16384
       WMFSDKNeeded    : 0.0.0.0000
       IsVBR           : 0
       title           :
       author          : SahlaTube
       copyright       :
       comment         :
     Duration: 00:00:04.03, start: 2.000000, bitrate: 740 kb/s
       Stream #0.0: Audio: wmav2, 44100 Hz, 2 channels, s16, 64 kb/s
       Stream #0.1: Video: wmv3, yuv420p, 640x480, 30 tbr, 1k tbn, 1k tbc
    [wmv3 @ 0xc2daa0]Extra data: 8 bits left, value: 20
    Output #0, mp4, to '/home/xxx/public_html/new/zawmju.wmv.mp4':
     Metadata:
       encoder         : Lavf52.64.2
       Stream #0.0: Video: mpeg4, yuv420p, 320x240, q=2-31, 1 kb/s, 15 tbn, 15 tbc
       Stream #0.1: Audio: libfaac, 44100 Hz, 2 channels, s16, 64 kb/s
    Stream mapping:
     Stream #0.1 -> #0.0
     Stream #0.0 -> #0.1
    Press [q] to stop encoding
    frame=   61 fps=  0 q=24.8 Lsize=      82kB time=4.02 bitrate= 166.4kbits/s dup=0 drop=59    

    video:55kB audio:24kB global headers:0kB muxing overhead 3.828952%