Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (93)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

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

  • 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 (10020)

  • ffmpeg cmd not running through nodejs getting error like error initializing filter \'select\' with args \'"not(mod(n\'\n']"

    22 juillet 2019, par Nileshdeora1122

    hello everyone i need your help i’m working on ffmpeg as following by blog post https://contextneutral.com/snippet/how-to-run-ffmpeg-from-inside-of-nodejs
    now i’m doing the same my ffmpeg command running successfully on the terminal but not working with nodejs.
    basicaly i’m trying to run :

    "ffmpeg -loglevel panic -y -i "video.mp4" -frames 1 -q:v 1 -vf "select=not(mod(n\,40)),scale=-1:120,tile=100x1" video_preview.jpg "

    my nodejs code looklike this :

    let ffmpeg = spawn(
    'ffmpeg', [
    '-i', `${ Inputvideofile }`,
    '-y',
    '-frames',1,
    '-q:v', '1',
    '-vf', ' "select=not(mod(n\,120)),scale=-1:40,tile=10x1 "  ',
    `${ outpputImgstripe }`
    ]);
    ffmpeg.on('exit', (statusCode) => {
       console.log(statusCode)
     if (statusCode === 0) {
        console.log('conversion successful')
     }
    })
    ffmpeg
     .stderr
     .on('data', (err) => {
       console.log('err:', new String(err))
     })

    module.exports = router;

    The error im getting is :

    Error initializing filter \'select\' with args \'"not(mod(n\'\n']
    err: [String: 'Error reinitializing filters!\nFailed to inject frame into filter network: Invalid argument\nError while processing the decoded data for stream #0:0\n']
    err: [String: 'Conversion failed!\n']
    1

    i think the error is :

    '-vf', ' "select=not(mod(n\,120)),scale=-1:40,tile=10x1 "  ',

    but don’t know how to solve pls help me

  • ffmpeg - Hyperthreading causes "Conversion failed" with multiple parallel instances

    6 février 2019, par MeanStreet

    I’m trying to extract images from multiple videos in parallel, using ffmpeg.
    Here’s my bash script :

    for video in *.MOV; do
       base=`basename "$video" .MOV`
       ffmpeg -i "$video" -r 0.02 "$base"/out_%02d.png > logs/"$base" 2>&1 &
    done

    When running this (on 60 videos), I check the logs/ files and 40 of them have crashed at the beginning with the following error :

    Error initializing output stream 0:0 — Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    Conversion failed !

    However it works fine with a smaller amount of videos (around 5, even on videos that didn’t work before).

    EDIT : I tried to disable hyperthreading and it works fine now. Why is hyperthreading causing ffmpeg to fail ?

  • Integrating FFMPEG using cmake : dlopen failed : library "libavutil.so.56" not found

    26 novembre 2018, par Hamed Momeni

    This question is a subsequent thread following this other question of mine.

    After finally managing to successfully building the apk file using gradle and cmake to integrate FFMPEG into an Android project I am facing a new exception which is thrown when calling System.loadLibrary.

    java.lang.UnsatisfiedLinkError: dlopen failed: library "libavutil.so.56" not found
           at java.lang.Runtime.loadLibrary0(Runtime.java:1016)
           at java.lang.System.loadLibrary(System.java:1657)
           at com.hmomeni.canto.activities.EditActivity.<init>(EditActivity.kt:26)
           at java.lang.Class.newInstance(Native Method)
           at android.app.Instrumentation.newActivity(Instrumentation.java:1174)
           at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2669)
           at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
           at android.app.ActivityThread.-wrap11(Unknown Source:0)
           at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
           at android.os.Handler.dispatchMessage(Handler.java:106)
           at android.os.Looper.loop(Looper.java:164)
           at android.app.ActivityThread.main(ActivityThread.java:6494)
           at java.lang.reflect.Method.invoke(Native Method)
           at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
           at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
    </init>

    This is the part of code which is causing the error :

    class EditActivity : AppCompatActivity(), View.OnClickListener {

       init {
           System.loadLibrary("Canto")
       }
    ...
    }

    I tried moving the .so files inside the PROJECT/app/jniLibs and then adding the following line to build.gradle file to no avail.

    sourceSets.main.jniLibs.srcDirs = ['./jniLibs/']