Recherche avancée

Médias (2)

Mot : - Tags -/kml

Autres articles (77)

  • Submit enhancements and plugins

    13 avril 2011

    If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
    You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.

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

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (12722)

  • avcodec/pngdec : avoid erroring with sBIT on indexed-color images

    12 juillet 2024, par Leo Izen
    avcodec/pngdec : avoid erroring with sBIT on indexed-color images
    

    Indexed color images use three colors for sBIT, but the function
    ff_png_get_nb_channels returns 1 in this case. We should avoid erroring
    out on valid files in this scenario.

    Regression since 84b454935fae2633a8a5dd075e22393f3e8f932f.

    Signed-off-by : Leo Izen <leo.izen@gmail.com>
    Reported-by : Ramiro Polla <ramiro.polla@gmail.com>
    Reviewed-by : Marton Balint <cus@passwd.hu>

    • [DH] libavcodec/pngdec.c
  • Node 18 or Node 20 break ffmpeg (in google cloud functions -> ffprobe was killed with signal SIGSEGV)

    10 janvier 2024, par user20206929

    Please see below, the code is working on node js 16, but not when upgrading to node 18 or 20.

    &#xA;

    const ffmpeg = require("fluent-ffmpeg");&#xA;&#xA;// Following is inside a .https.onRequest Google Cloud function with enough memory&#xA;&#xA;try {&#xA;  const duration = new Promise((resolve, reject) => {&#xA;  ffmpeg.ffprobe(videoUrl, async (err, metadata) => {&#xA;    if (err) {&#xA;      if (res.headersSent) {&#xA;        console.error("Response already sent");&#xA;        return;&#xA;      } else {&#xA;        console.log("Metadata:", metadata);&#xA;        console.log("err: " &#x2B; err);&#xA;        res.status(400).send("Error getting video metadata");&#xA;        return;&#xA;      }&#xA;    }&#xA;  const duration = metadata.format.duration;&#xA;  console.log("video duration in second: " &#x2B; duration);&#xA;  resolve(duration);&#xA;  });&#xA;});&#xA;  videoDuration = await duration;&#xA;} catch (err) {&#xA;  console.log(err);&#xA;  throw err;&#xA;}&#xA;

    &#xA;

    When upgrading to node 18/20 (No other change than upgrading node), the error "ffprobe not found" appears.

    &#xA;

    But setting the path manually using ffmpeg.setFfprobePath(ffprobePath) ;&#xA;trigger the error : Error : ffprobe was killed with signal SIGSEGV

    &#xA;

    So it seem its a permissions issue.

    &#xA;

    However, I tried a lot of different solutions, none of them made this work.&#xA;For instance i tried to download manually the ffprobe from the official website https://ffbinaries.com/downloads. Then manually add it to the code.

    &#xA;

    I tried to use https://www.npmjs.com/package/@ffprobe-installer/ffprobe or others package like https://www.npmjs.com/package/ffprobe-static

    &#xA;

    I also tried to download the ffprobe file to the temporary folder of google cloud, and change the permission of this folder.

    &#xA;

    All of those was doing the same error.

    &#xA;

    None of what i could think of made any difference.

    &#xA;

    Please help because i need to update node 16 to 18 or 20 before google remove node 16 on january 31 2024 and for now i don't see a solution.

    &#xA;

    I also looked for other solution to get this duration from a video file url, but using ffmpeg seem to be the only one that should work out of the box. As it is working on node 16.

    &#xA;

    Thank you,

    &#xA;

    UPDATE - 11/26/2023

    &#xA;

    GCP Functions NodeJS 16 runtime uses Ubuntu 18.04 with FFMpeg installed.&#xA;NodeJS 18/20 use Ubuntu 22.04, and Google decided not to include FFMpeg.

    &#xA;

    https://cloud.google.com/functions/docs/runtime-support#node.js&#xA;https://cloud.google.com/functions/docs/reference/system-packages

    &#xA;

    No workaround or solutions found as of now

    &#xA;

    UPDATE - 01/10/2024

    &#xA;

    Google added back ffmpeg to latest version, this is working as before now.

    &#xA;

  • ffmpeg - error processing files generated by premier pro 2022

    23 mai 2022, par QRrabbit

    Please help with the error, trying to re-encode the source file produced with prores 4444+alpha. Alpha channel is required in my case.

    &#xA;

    I've tried two separate options, both are erroring out :

    &#xA;

    $ ffmpeg -i Input.mxf -vcodec prores_ks -profile:v 4 -y Output.mxf &#xA;

    &#xA;

    I'm getting this output

    &#xA;

    ffmpeg version 4.4 Copyright (c) 2000-2021 the FFmpeg developers&#xA;  built with Apple clang version 12.0.5 (clang-1205.0.22.9)&#xA;  configuration: --prefix=/usr/local/Cellar/ffmpeg/4.4_2 --enable-shared --enable-pthreads --enable-version3 --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-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-avresample --enable-videotoolbox&#xA;  libavutil      56. 70.100 / 56. 70.100&#xA;  libavcodec     58.134.100 / 58.134.100&#xA;  libavformat    58. 76.100 / 58. 76.100&#xA;  libavdevice    58. 13.100 / 58. 13.100&#xA;  libavfilter     7.110.100 /  7.110.100&#xA;  libavresample   4.  0.  0 /  4.  0.  0&#xA;  libswscale      5.  9.100 /  5.  9.100&#xA;  libswresample   3.  9.100 /  3.  9.100&#xA;  libpostproc    55.  9.100 / 55.  9.100&#xA;Input #0, mxf, from &#x27;Input.mxf&#x27;:&#xA;  Metadata:&#xA;    operational_pattern_ul: 060e2b34.04010101.0d010201.01010100&#xA;    uid             : b52947e8-d982-11ec-9a2d-b42e99ab5f4d&#xA;    generation_uid  : b52947e9-d982-11ec-a612-b42e99ab5f4d&#xA;    company_name    : Adobe Inc.&#xA;    product_name    : Premiere Pro&#xA;    product_version_num: 2.0.0.0.1&#xA;    product_version : 22.4.0&#xA;    application_platform: Mac OS X&#xA;    product_uid     : 0c3919fe-46e8-11e5-a151-feff819cdc9f&#xA;    toolkit_version_num: 5.3.6.0.1&#xA;    modification_date: 2022-05-22T03:53:15.000000Z&#xA;    material_package_umid: 0x060A2B340101010501010D1113000000F88BD5002197058861C9B42E99AB5F4D&#xA;    timecode        : 00:00:00;00&#xA;  Duration: 00:00:59.66, start: 0.000000, bitrate: 32803 kb/s&#xA;  Stream #0:0: Video: prores (4444) (ap4h / 0x68347061), yuva444p12le(tv, bt709, progressive), 1920x1080, SAR 1:1 DAR 16:9, 29.97 tbr, 29.97 tbn, 29.97 tbc&#xA;    Metadata:&#xA;      file_package_umid: 0x060A2B34010101050101051213D028BEF88BD500219705880089B42E99AB5F4D&#xA;      file_package_name: Source Package&#xA;      track_name      : Track 1&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (prores (native) -> prores (prores_ks))&#xA;Press [q] to stop, [?] for help&#xA;Output #0, mxf, to &#x27;Output.mxf&#x27;:&#xA;  Metadata:&#xA;    operational_pattern_ul: 060e2b34.04010101.0d010201.01010100&#xA;    uid             : b52947e8-d982-11ec-9a2d-b42e99ab5f4d&#xA;    generation_uid  : b52947e9-d982-11ec-a612-b42e99ab5f4d&#xA;    timecode        : 00:00:00;00&#xA;    material_package_umid: 0x060A2B340101010501010D1113000000F88BD5002197058861C9B42E99AB5F4D&#xA;    product_version_num: 2.0.0.0.1&#xA;    modification_date: 2022-05-22T03:53:15.000000Z&#xA;    application_platform: Mac OS X&#xA;    product_uid     : 0c3919fe-46e8-11e5-a151-feff819cdc9f&#xA;    toolkit_version_num: 5.3.6.0.1&#xA;    encoder         : Lavf58.76.100&#xA;  Stream #0:0: Video: prores (ap4h / 0x68347061), yuva444p10le(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn&#xA;    Metadata:&#xA;      file_package_umid: 0x060A2B34010101050101051213D028BEF88BD500219705880089B42E99AB5F4D&#xA;      file_package_name: Source Package&#xA;      track_name      : Track 1&#xA;      encoder         : Lavc58.134.100 prores_ks&#xA;[mxf @ 0x7fbbbc008200] could not get prores profile0:00.00 bitrate=N/A speed=   0x    &#xA;av_interleaved_write_frame(): Operation not permitted&#xA;Error writing trailer of Output.mxf: Unknown error occurred&#xA;frame=   33 fps= 27 q=-0.0 Lsize=       0kB time=00:00:00.03 bitrate=   0.0kbits/s speed=0.027x    &#xA;video:67kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown&#xA;Conversion failed!&#xA;

    &#xA;

    Above I can't even fully see the error since the red text over black background covers the screen :&#xA;enter image description here

    &#xA;

    I have also tried the following encoding options :

    &#xA;

     -c:v qtrle -pix_fmt argb &#xA;

    &#xA;

    to which, I'm getting the following error :

    &#xA;

    track 0: could not find essence container ul, codec not currently supported in container&#xA;Could not write header for output file #0 (incorrect codec parameters ?): Operation not permitted&#xA;Error initializing output stream 0:0 --&#xA;Conversion failed!&#xA;

    &#xA;

    In case this is helpful, I'm displaying MediaInfo for the source file :&#xA;enter image description here

    &#xA;