Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (67)

  • 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

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (10398)

  • FFMPEG 1.0 ANDROID NDK R8B

    6 février 2013, par user1613977

    I have tried to compile the last version of ffmpeg with the android ndk r8b, but i always have errors and i dont know how to solve them. I am reading this tutorial http://www.roman10.net/how-to-build-ffmpeg-for-android/ but the script doesnt work with my environment, i am using this :
    - Ubuntu 12.04 LTS.
    - Intel Core i7.
    - Android ndk r8b
    - Last version ffmeg (1.0)

    Basically i want to encode films from one format to other.

    And that is the script that i am using :

    NDK=../android-ndk-r8b
    PLATFORM=$NDK/platforms/android-8/arch-arm/
    PREBUILT=$NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
    function build_r8b
    {
    bash configure \
    --disable-shared \
    --enable-static \
    --enable-gpl \
    --enable-version3 \
    --enable-nonfree \
    --disable-doc \
    --disable-ffmpeg \
    --disable-ffplay \
    --disable-ffprobe \
    --disable-ffserver \
    --disable-avdevice \
    --disable-avfilter \
    --disable-postproc \
    --enable-small \
    --cross-prefix=$PREBUILT/bin/arm-linux-androideabi- \
    --enable-cross-compile \
    --target-os=linux \
    --extra-cflags="-I$PLATFORM/usr/include" \
    --extra-ldflags="-L$PLATFORM/usr/lib -nostdlib" \
    --arch=arm \
    --disable-symver \
    --disable-debug \
    --disable-stripping \
    $ADDITIONAL_CONFIGURE_FLAG
    sed -i 's/HAVE_LRINT 0/HAVE_LRINT 1/g' config.h
    sed -i 's/HAVE_LRINTF 0/HAVE_LRINTF 1/g' config.h
    sed -i 's/HAVE_ROUND 0/HAVE_ROUND 1/g' config.h
    sed -i 's/HAVE_ROUNDF 0/HAVE_ROUNDF 1/g' config.h
    sed -i 's/HAVE_TRUNC 0/HAVE_TRUNC 1/g' config.h
    sed -i 's/HAVE_TRUNCF 0/HAVE_TRUNCF 1/g' config.h
    make clean
    make  -j4 install
    $PREBUILT/bin/arm-linux-androideabi-ar d libavcodec/libavcodec.a inverse.o
    $PREBUILT/bin/arm-linux-androideabi-ld -rpath-link=$PLATFORM/usr/lib   -L$PLATFORM/usr/lib  -soname libffmpeg.so -shared -nostdlib  -z,noexecstack -Bsymbolic --whole-archive --no-undefined -o $PREFIX/libffmpeg.so libavcodec/libavcodec.a libavformat/libavformat.a libavutil/libavutil.a libswscale/libswscale.a -lc -lm -lz -ldl -llog  --warn-once  --dynamic-linker=/system/bin/linker $PREBUILT/lib/gcc/arm-linux-androideabi/4.4.3/libgcc.a
    }
    #arm v7vfpv3
    CPU=armv7-a
    OPTIMIZE_CFLAGS="-mfloat-abi=softfp -mfpu=vfpv3-d16 -marm -march=$CPU "
    PREFIX=./android/$CPU
    ADDITIONAL_CONFIGURE_FLAG=
    #build_one
    build_r8b

    And that is the terminal result

    jllarraz@ubuntu:~/Descargas/ffmpeg$ bash build_android.sh
    /android-ndk-r8b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc is unable to create an executable file.
    C compiler test failed.

    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.
    make: execvp: ./version.sh: Permiso denegado
    make: execvp: ./version.sh: Permiso denegado
    HOSTCC  doc/print_options.o
    CC  cmdutils.o
    CC  libavdevice/alldevices.o
    CC  libavdevice/avdevice.o
    In file included from doc/print_options.c:104:0:
    ./libavcodec/options_table.h: En la función ‘show_codec_opts’:
    ./libavcodec/options_table.h:85:1: aviso: ‘sub_id’ es obsoleto (declarado en  ./libavcodec/avcodec.h:1505) [-Wdeprecated-declarations]
    ./libavcodec/options_table.h:149:1: aviso: ‘luma_elim_threshold’ es obsoleto (declarado en ./libavcodec/avcodec.h:1740) [-Wdeprecated-declarations]
    ./libavcodec/options_table.h:150:1: aviso: ‘chroma_elim_threshold’ es obsoleto (declarado en ./libavcodec/avcodec.h:1747) [-Wdeprecated-declarations]
    ./libavcodec/options_table.h:284:1: aviso: ‘color_table_id’ es obsoleto (declarado en ./libavcodec/avcodec.h:1986) [-Wdeprecated-declarations]
    ./libavcodec/options_table.h:307:1: aviso: ‘inter_threshold’ es obsoleto (declarado en ./libavcodec/avcodec.h:2049) [-Wdeprecated-declarations]
    ./libavcodec/options_table.h:312:1: aviso: ‘quantizer_noise_shaping’ es obsoleto (declarado en ./libavcodec/avcodec.h:2056) [-Wdeprecated-declarations]
    cmdutils.c:52:21: error fatal: version.h: No existe el archivo o el directorio
    compilación terminada.
    make: *** [cmdutils.o] Error 1
    make: *** Se espera a que terminen otras tareas....
    build_android.sh: línea 59: ../android-ndk-r8b/toolchains/arm-linux-androideabi- 4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-ar: Permiso denegado
    build_android.sh: línea 60: ../android-ndk-r8b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-ld: Permiso denegado
  • ffmpeg node js s3 stream screenshots qestion

    20 octobre 2015, par user3564443

    On my Node js server I need get video from s3, generate thumbnail for it, set thumbnail to s3, without saving video or thumbnail on my server. So I need to use streams for this. For thumbnail generation I use fluent-ffmpeg.

    Is it possible to get screenshots from streams using fluent-ffmpeg ?

    Is the correct way to intercept s3 getObject stream, that there was no need to download full video ?

    var config = require('../config');
    var AWS = require('aws-sdk');
    AWS.config.update({
     accessKeyId: config.AWS_accessKeyId,
     secretAccessKey: config.AWS_secretAccessKey,
     region: 'eu-west-1'
    });
    var s3 = new AWS.S3();
    var fs = require('fs');
    var ffmpeg = require('fluent-ffmpeg');

    exports.generateVideoThumbnail = function(fileId, url, done) {
     var params = {
       Bucket: config.AWS_bucket,
       Key: url
     };
     var input = s3.getObject(params);
     var stream = fs.createWriteStream('./screenshot.png');
     return ffmpeg(input).screenshots({
       timestamps: ['0.1', '0.2'],
       size: '200x200'
     }).output('./screenshot.png').output(stream).on('error', function(err) {
       return done(err);
     }).on('end', function() {
       input.close();
       var _key = "files/" + fileId + "/thumbnail.png";
       return s3.putObject({
         Bucket: config.AWS_bucket,
         Key: _key,
         Body: stream,
         ContentType: 'image/jpeg'
       }, function(err) {
         return done(err);
       });
     });
    };
  • Can't playback huge video which was uploaded to google storage. I Get Error : Unable to retrieve manifest /stream.m3u8 -Error : Could not retrieve file

    18 juillet 2022, par Dmytro Petskovych

    I upload file to google storage using "@ffmpeg-installer/ffmpeg" and @google-cloud/storage in my node.js App.
Step 1. file uploading to fs is in child processes - one process for each type of resolution (totaly six).
step 2. encription (converting to stream)
step 3. upload to google storage

    


    This way is working fine only with small file. When i upload large file I Get server Error : Unable to retrieve manifest /stream.m3u8 or Unable to retrieve .

    


    It seems that not all splits are uploaded to the cloud. but i checked they are there.

    


    I am currently using "Upload a directory to a bucket" in order to send the video from the client to the Google Cloud Storage bucket.

    


    when I upload video, actually I upload six videos, one for each type resolution

    


    for example when I upload video with duration one hour it split on chunk and totally I get more three thousands files.

    


    not all of this files are accessible when i try playback video. that's why I can't play video in all types of resolution and get error like

    


    maybe someone had the similar problem and helps fix it
.
i have no idea why i get that behavior only with huge file