Recherche avancée

Médias (0)

Mot : - Tags -/acrobat

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

Autres articles (77)

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

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (5849)

  • Identifying Audio bit rate using FFMPEG

    28 mai 2013, par user1756535

    I'm using FFMPEG to identify the bit rate of an audio file in my Rails app. I am downloading the file from S3, and storing temporarily in the tmp folder, then running FFMPEG commands against it.

    Locally everything is running absolutely as expected. The problem comes when deploying, and I get nothing returned from FFMPEG.

    s3 = AWS::S3.new(
    :access_key_id => ENV["AWS_ACCESS_KEY_ID"],
    :secret_access_key => ENV["AWS_SECRET_ACCESS_KEY"])

    object = s3.buckets[ENV["AWS_S3_BUCKET"]].objects[CGI::unescape(self.url)]

    tempname = Digest::MD5.hexdigest(DateTime.now.to_s) + "." + self.file_format
    File.open(Rails.root.to_s + '/tmp/' + tempname, 'wb') do |f|
       f.write(object.read)
    end

    dl = Rails.root.to_s + '/tmp/' + tempname
    brcommand = "ffmpeg -i " + dl + " 2>&1 | grep Duration | sed 's/Duration: \(.*\), start/\1/g'"
    ffmpeg = %x{#{brcommand}}

    I am using %xffmpeg_command to access the command line, so I'm wandering whether that may be causing the problem where it is not finding the file as if it had been running natively in Rails.

    I have used FFMPEG on the command line on the server, so I know it is working fine.

  • FFMPEG compile with x264 support for Android

    10 mars, par Pecana

    I am trying to build ffmpeg extensions for media3 (ExoPlayer) for Android

    


    https://github.com/androidx/media/tree/release/libraries/decoder_ffmpeg

    


    Using the default settings everything is fine but if I try to add support to libx264 the build failed. I compiled x264 for Android locally and it worked so the .so file for arm64 is present, I added it to the pkg-config with :

    


    export PKG_CONFIG_PATH=/build/x264/arm64/lib/pkgconfig:$PKG_CONFIG_PATH

    


    but when I try to build ffmpeg with the following command it fails :

    


    ./configure \
--prefix=/build/ffmpeg \
--enable-gpl \
--enable-libx264 \
--enable-static \
--enable-pic \
--arch=arm64 \
--target-os=android \
--cross-prefix=$TOOLCHAIN/bin/aarch64-linux-android21- \
--sysroot=$SYSROOT


    


    Error : ERROR : x264 not found using pkg-config

    


    But it is not due to pkg-config as the command :

    


    pkg-config --cflags --libs x264


    


    reports : -DX264_API_IMPORTS -I/build/x264/arm64/include -L/build/x264/arm64/lib -lx264

    


    Any idea on how to fix it ?

    


    Thank you :-)

    


  • FFMPEG compile with x264 support for Android

    10 mars, par Pecana

    I am trying to build ffmpeg extensions for media3 (ExoPlayer) for Android

    


    https://github.com/androidx/media/tree/release/libraries/decoder_ffmpeg

    


    Using the default settings everything is fine but if I try to add support to libx264 the build failed. I compiled x264 for Android locally and it worked so the .so file for arm64 is present, I added it to the pkg-config with :

    


    export PKG_CONFIG_PATH=/build/x264/arm64/lib/pkgconfig:$PKG_CONFIG_PATH

    


    but when I try to build ffmpeg with the following command it fails :

    


    ./configure \
--prefix=/build/ffmpeg \
--enable-gpl \
--enable-libx264 \
--enable-static \
--enable-pic \
--arch=arm64 \
--target-os=android \
--cross-prefix=$TOOLCHAIN/bin/aarch64-linux-android21- \
--sysroot=$SYSROOT


    


    Error : ERROR : x264 not found using pkg-config

    


    But it is not due to pkg-config as the command :

    


    pkg-config --cflags --libs x264


    


    reports : -DX264_API_IMPORTS -I/build/x264/arm64/include -L/build/x264/arm64/lib -lx264

    


    Any idea on how to fix it ?

    


    Thank you :-)