Recherche avancée

Médias (91)

Autres articles (99)

  • Soumettre bugs et patchs

    10 avril 2011

    Un logiciel n’est malheureusement jamais parfait...
    Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
    Si vous pensez avoir résolu vous même le bug (...)

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

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (13828)

  • How do I set a relative path for an .SO file ?

    1er juillet 2015, par Eran Boudjnah

    This is my error :

    06-29 16:52:37.729 24144-24144/com.my.app E/AndroidRuntime﹕ FATAL
    EXCEPTION : main
    Process : com.my.app, PID : 24144
    java.lang.UnsatisfiedLinkError : dlopen failed : could not load library "build/obj/local/armeabi/libavformat.so" needed by
    "libFFmpegWrapper.so" ; caused by library
    "build/obj/local/armeabi/libavformat.so" not found

    build/obj/local/armeabi/libavformat.so looks wrong to me. The code worked with an earlier build of ffmpeg - so I suspect it’s something to do with the way I build ffmpeg.

    The libavformat.so file is in the APK where I’d expect it to be.

    This is my build script for ffmpeg :

    #!/bin/bash

    NDK=/Users/eran/Downloads/android-ndk-r10e
    PREBUILT=$NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64
    PLATFORM=$NDK/platforms/android-12/arch-arm
    PREFIX=/usr/local

    function build_one
    {
     ./configure --target-os=android --prefix=$PREFIX \
     --pkg-config=./fake-pkg-config \
     --enable-cross-compile \
     --cpu=armv7-a \
     --enable-shared \
     --disable-static \
     --disable-asm \
     --arch=arm \
     --cc=$PREBUILT/bin/arm-linux-androideabi-gcc \
     --cross-prefix=$PREBUILT/bin/arm-linux-androideabi- \
     --disable-stripping \
     --nm=$PREBUILT/bin/arm-linux-androideabi-nm \
     --sysroot=$PLATFORM \
     --disable-nonfree \
     --disable-version3 \
     --disable-everything \
     --enable-gpl \
     --disable-doc \
     --enable-avresample \
     --disable-demuxer=rtsp \
     --disable-muxer=rtsp \
     --disable-ffplay \
     --disable-ffserver \
     --enable-ffmpeg \
     --disable-ffprobe \
     --enable-libx264 \
     --enable-encoder=libx264 \
     --enable-decoder=h264 \
     --disable-protocol=rtp \
     --enable-hwaccels \
     --enable-zlib \
     --disable-devices \
     --disable-avdevice \
     --extra-cflags="-I/usr/local/include -fPIC -DANDROID -Wno-deprecated -mfloat-abi=softfp -mfpu=neon -march=armv7-a" \
     --extra-ldflags="-L/usr/local/lib -Wl,--fix-cortex-a8" \
     --extra-cxxflags='-Wno-multichar -fno-exceptions -fno-rtti'
     make -j4 install
    }

    build_one
  • The HLS segment filename file path not incrementing

    30 mai 2023, par Rakesh L
    const ffmpegProcess = spawn(ffmpeg [
'-y','-i','/home/Documents/videotrans/video-transcoder/api/videoFiles/input/sample2.mp4',
'-s:v','1280x720',
'-b:v','2000000',
'-aspect','16:9',
'-b:a','64000',
'-r', '24',
'-s:v','854x480',
'-b:v','1000000',
'-aspect','16:9',
'-b:a', '112000',
'-r', '24',
'-s:v','640x360',
'-b:v','7000000',
'-aspect','16:9',
'-b:a','80000',
'-r', '24',
'-s:v','420x420',
'-b:v','600000',
'-aspect','16:9',
'-b:a','64000',
'-r', '24',
'-sc_threshold', '0',
'-map','0:0',
'-map','0:1',
'-map','0:0',
'-map','0:1',
'-map','0:0',
'-map','0:1',
'-map','0:0',
'-map','0:1',
'-ac','2',
'-ar','44100',
'-preset','slow',
'-var_stream_map','v:0,a:0 v:1,a:1 v:2,a:2 v:3,a:3',
'-f','hls',
'-hls_list_size','0',
'-master_pl_name','master.m3u8',
'-hls_segment_filename','/home/Documents/videotrans/video-transcoder/api/videoFiles/output/v%v/fileSequence~%03d.ts',
'/home/Documents/videotrans/video-transcoder/api/videoFiles/output/v%v/prog_index.m3u8'
]);


    


    Here I'm using the spawn of a child process of FFMPEG I need to transcode the video input into four different resolutions in m3u8 format. There will be master.m3u8 and folders v0, v1, v2, and v3 ; inside those folders, there should be pro_index.m3u8 file and multiple file-sequence files according to input file size

    


    The HLS segment filename is not incrementing properly So the process is failing

    


    how to increment fileSequence file names ?
fileSequence%d.ts or fileSequence%03d.ts in not work here

    


  • Batch-converting multimedia-files on Command-Line using find and ffmpeg (Linux)

    11 mai 2018, par free_speech

    For converting more Audio-Files (Let’s say, FLAC to MP3) in the same folder on Command-Line, I formerly used

    find ./ -name "*.flac" -exec ffmpeg -i "{}" -b:a 320k "{}".mp3 \;

    but the problem is that the resulting MP3-Files are named like Artist - Title.flac.mp3.
    This doesn’t even surprise me, but what do I have to type if I want to avoid the ".flac.mp3"-Filenames ?
    The converted Files should be named like Artist - Title.mp3, not this .flac.mp3
    I didn’t yet find a way to solve this problem ...
    Thanks.