Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (77)

  • 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

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (9630)

  • FFMPEG, macOS Catalina : "ffmpeg stderr : /private/tmp/com.apple.launchd.ID/org.macosforge.xquartz:0 : Operation not supported on socket"

    11 février 2021, par Bogdan Slyusarenko

    I'm trying to record selenium test run with FFMPEG, for automation testing of web extensions (selenium+js/ts).
FFMPEG initiated by command :

    


        const { spawn } = require("child_process");
        ffmpeg = spawn("ffmpeg", [
          "-x265-params",
          "-f",
          "xcbgrab", 
          "-video_size",
          "1280x1024", 
          "-i",
          process.env.DISPLAY, // "/private/tmp/com.apple.launchd.ID/org.macosforge.xquartz:0"
          "-loglevel",
          "debug", 
          "-y", 
          "-pix_fmt",
          "yuv420p",
          videoPath, 
        ]);


    


    Return constantly error,related to process.DISPLAY, I'm not sure why it's so :

    


        ffmpeg stderr: /private/tmp/com.apple.launchd.W851FkeNXz/org.macosforge.xquartz:0: Operation not supported on socket


    


    Full debug login is :

    


    ffmpeg stderr: ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
ffmpeg stderr:   built with Apple clang version 12.0.0 (clang-1200.0.32.28)
ffmpeg stderr:   configuration: --prefix=/usr/local/Cellar/ffmpeg/4.3.1_9 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack
ffmpeg stderr: libavutil      56. 51.100 / 56. 51.100
ffmpeg stderr:   libavcodec     58. 91.100 / 58. 91.100
ffmpeg stderr:   libavformat    58. 45.100 / 58. 45.100
ffmpeg stderr:   libavdevice    58. 10.100 / 58. 10.100
ffmpeg stderr:   libavfilter     7. 85.100 /  7. 85.100
ffmpeg stderr:   libavresample   4.  0.  0 /  4.  0.  0
ffmpeg stderr:   libswscale      5.  7.100 /  5.  7.100
ffmpeg stderr:   libswresample   3.  7.100 /  3.  7.100
ffmpeg stderr:   libpostproc    55.  7.100 / 55.  7.100
ffmpeg stderr: Splitting the commandline.
ffmpeg stderr: Reading option '-x265-params' ...
ffmpeg stderr: matched as AVOption 'x265-params' with argument '-f'.
ffmpeg stderr: Reading option 'xcbgrab' ...
ffmpeg stderr: matched as output url.
ffmpeg stderr: Reading option '-video_size' ...
ffmpeg stderr: matched as AVOption 'video_size' with argument '1280x1024'.
ffmpeg stderr: Reading option '-i' ... matched as input url with argument '/private/tmp/com.apple.launchd.W851FkeNXz/org.macosforge.xquartz:0'.
ffmpeg stderr: Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
ffmpeg stderr: Reading option '-y' ...
ffmpeg stderr: matched as option 'y' (overwrite output files) with argument '1'.
ffmpeg stderr: Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv420p'.
ffmpeg stderr: Reading option '/Volumes/MacHD2/Upprojects/TEST/log/Checkout-Google.com-Search-on-Google.mp4' ... matched as output url.
ffmpeg stderr: Finished splitting the commandline.
ffmpeg stderr: Parsing a group of options: global .
ffmpeg stderr: Applying option loglevel (set logging level) with argument debug.
ffmpeg stderr: Applying option y (overwrite output files) with argument 1.
ffmpeg stderr: Successfully parsed a group of options.
ffmpeg stderr: Parsing a group of options: input url /private/tmp/com.apple.launchd.W851FkeNXz/org.macosforge.xquartz:0.
ffmpeg stderr: Successfully parsed a group of options.
ffmpeg stderr: Opening an input file: /private/tmp/com.apple.launchd.W851FkeNXz/org.macosforge.xquartz:0.
ffmpeg stderr: [NULL @ 0x7fcf80016800] Opening '/private/tmp/com.apple.launchd.W851FkeNXz/org.macosforge.xquartz:0' for reading
ffmpeg stderr: [file @ 0x7fcf7f507a00] Setting default whitelist 'file,crypto,data'
ffmpeg stderr: /private/tmp/com.apple.launchd.W851FkeNXz/org.macosforge.xquartz:0: Operation not supported on socket



    


    Any feedback appreciated

    


  • Fatal Exception : java.lang.UnsatisfiedLinkError lopen failed : library name "/data/packagename/lib/arm64/libmobileffmpeg_abidetect.so" too long

    23 septembre 2020, par Android198
    Fatal Exception: java.lang.UnsatisfiedLinkError lopen failed: library name "/data/packagename/lib/arm64/libmobileffmpeg_abidetect.so" too long 


    


    I got this error in android 5 devices because my app packagename is too long. i build apk with abi filters armeabi-v7a, arm64-v8a

    


     &#x27;java.lang.System.loadLibrary (System.java:989)&#xA;    com.arthenica.mobileffmpeg.AbiDetect.<clinit> (AbiDetect.java)&#xA;    com.arthenica.mobileffmpeg.AbiDetect.getNativeAbi (AbiDetect.java)&#xA;    com.arthenica.mobileffmpeg.AbiDetect.setArmV7aNeonLoaded (AbiDetect.java)&#xA;    com.arthenica.mobileffmpeg.Config.enableLogCallback (Config.java:5)&#x27;&#xA;</clinit>

    &#xA;

  • electron app fluent-ffmpeg " Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height"

    27 juillet 2020, par Martin

    I am trying to run an ffmpeg command in my electron app. I have created the function ffmpegTest() based off instructions for setting up ffmpeg here :

    &#xA;

    https://alexandercleasby.dev/blog/use-ffmpeg-electron

    &#xA;

    and the example query for ffmpeg-fluent here :

    &#xA;

    https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/blob/master/examples/image2video.js

    &#xA;

    function ffmpegTest(){&#xA;    console.log(&#x27;ffmpeg-test&#x27;)&#xA;    //require the ffmpeg package so we can use ffmpeg using JS&#xA;    const ffmpeg = require(&#x27;fluent-ffmpeg&#x27;);&#xA;    //Get the paths to the packaged versions of the binaries we want to use&#xA;    const ffmpegPath = require(&#x27;ffmpeg-static&#x27;).replace(&#xA;        &#x27;app.asar&#x27;,&#xA;        &#x27;app.asar.unpacked&#x27;&#xA;    );&#xA;    const ffprobePath = require(&#x27;ffprobe-static&#x27;).path.replace(&#xA;        &#x27;app.asar&#x27;,&#xA;        &#x27;app.asar.unpacked&#x27;&#xA;    );&#xA;    //tell the ffmpeg package where it can find the needed binaries.&#xA;    ffmpeg.setFfmpegPath(ffmpegPath);&#xA;    ffmpeg.setFfprobePath(ffprobePath);&#xA;    &#xA;    var imgPath = "C:\\Users\\marti\\Documents\\martinradio\\uploads\\israel song festival 1979\\front.jpg"&#xA;    var outputPath = "C:\\Users\\marti\\Documents\\martinradio\\uploads\\israel song festival 1979\\output.m4v"&#xA;&#xA;    // make sure you set the correct path to your video file&#xA;    var proc = ffmpeg(imgPath)&#xA;    // loop for 5 seconds&#xA;    .loop(5)&#xA;    // using 25 fps&#xA;    .fps(25)&#xA;    // setup event handlers&#xA;    .on(&#x27;end&#x27;, function() {&#xA;    console.log(&#x27;file has been converted succesfully&#x27;);&#xA;    })&#xA;    .on(&#x27;error&#x27;, function(err) {&#xA;    console.log(&#x27;an error happened: &#x27; &#x2B; err.message);&#xA;    })&#xA;    // save to file&#xA;    .save(outputPath);&#xA;&#xA;    console.log("end of ffmpeg-test")&#xA;}&#xA;

    &#xA;

    it is trying to convert an image to a video, my filepaths are accurate, but when I run this function, I get this output in console :

    &#xA;

    ffmpeg-test&#xA;index.js:137 end of ffmpeg-test&#xA;index.js:132 an error happened: ffmpeg exited with code 1: 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&#xA;Conversion failed!&#xA;

    &#xA;

    After the error prints out, I can see my output.m4v file inside my output folder, but it is 0KB in size and wont open. Is there some way I can specify my bit_rate / rate / width / height in my fluent-ffmpeg command so I can run this simple ffmpeg command ?

    &#xA;

    thanks

    &#xA;