Recherche avancée

Médias (91)

Autres articles (72)

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

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (12987)

  • Trying to tonemap 14-bit grayscale video

    12 janvier 2018, par Trevor

    I’m trying to generate h.264 video from raw 2-byte gray video (14-bit range encoded in 16-bit values). I can do something like :

    ffmpeg -f rawvideo -pix_fmt gray16le -s:v 1280x720 -r 60 -i input.raw -c:v libx264 output.mp4

    And I get video but it’s pretty dark, not sure if it’s clipping, doing a linear remap, or storing the 16-bit data and VLC is doing the remap. ffprobe is reporting Video: h264 (High 4:4:4 Predictive) (avc1 / 0x31637661), yuvj444p(pc), 1280x720, 108 kb/s, 60 fps, 60 tbr, 15360 tbn, 120 tbc

    I was figuring I’d use the tonemap filter to make a better mapping. I added a filter before the output file with -vf.

    • tonemap=hable errors Impossible to convert between the formats supported by the filter 'graph 0 input from stream 0:0' and the filter 'auto_scaler_0'
    • zscale=transfer=linear,tonemap=hable errors Impossible to convert between the formats supported by the filter 'Parsed_tonemap_1' and the filter 'auto_scaler_1'
    • zscale=transfer=linear,tonemap=hable,zscale=transfer=bt709,format=yuvj444p errors code 3074: no path between colorspaces

    I’m not sure where to proceed from here...

  • Fluent-FFmpeg Error : ffprobe exited with code 1

    24 juin 2020, par Thiago Cardoso

    I'm using a Lambda function to split a given file into pieces, and often I receive an error during the file processing :

    



    {&#xA;    "errorType": "Error",&#xA;    "errorMessage": "ffprobe exited with code 1\nffprobe version 4.2.2-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2007-2019 the FFmpeg developers\n  built with gcc 8 (Debian 8.3.0-6)\n  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg\n  libavutil      56. 31.100 / 56. 31.100\n  libavcodec     58. 54.100 / 58. 54.100\n  libavformat    58. 29.100 / 58. 29.100\n  libavdevice    58.  8.100 / 58.  8.100\n  libavfilter     7. 57.100 /  7. 57.100\n  libswscale      5.  5.100 /  5.  5.100\n  libswresample   3.  5.100 /  3.  5.100\n  libpostproc    55.  5.100 / 55.  5.100\n[mov,mp4,m4a,3gp,3g2,mj2 @ 0x6f35c40] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible!\n[mov,mp4,m4a,3gp,3g2,mj2 @ 0x6f35c40] moov atom not found\n/tmp/file.mp4: Invalid data found when processing input\n",&#xA;    "stack": [&#xA;        "Error: ffprobe exited with code 1",&#xA;        "ffprobe version 4.2.2-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2007-2019 the FFmpeg developers",&#xA;        "  built with gcc 8 (Debian 8.3.0-6)",&#xA;        "  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg",&#xA;        "  libavutil      56. 31.100 / 56. 31.100",&#xA;        "  libavcodec     58. 54.100 / 58. 54.100",&#xA;        "  libavformat    58. 29.100 / 58. 29.100",&#xA;        "  libavdevice    58.  8.100 / 58.  8.100",&#xA;        "  libavfilter     7. 57.100 /  7. 57.100",&#xA;        "  libswscale      5.  5.100 /  5.  5.100",&#xA;        "  libswresample   3.  5.100 /  3.  5.100",&#xA;        "  libpostproc    55.  5.100 / 55.  5.100",&#xA;        "[mov,mp4,m4a,3gp,3g2,mj2 @ 0x6f35c40] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible!",&#xA;        "[mov,mp4,m4a,3gp,3g2,mj2 @ 0x6f35c40] moov atom not found",&#xA;        "/tmp/file.mp4: Invalid data found when processing input",&#xA;        "",&#xA;        "    at ChildProcess.<anonymous> (/var/task/node_modules/fluent-ffmpeg/lib/ffprobe.js:233:22)",&#xA;        "    at ChildProcess.emit (events.js:198:13)",&#xA;        "    at ChildProcess.EventEmitter.emit (domain.js:448:20)",&#xA;        "    at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)"&#xA;    ]&#xA;}&#xA;</anonymous>

    &#xA;&#xA;

    I see the error message, and what it is telling me, but what I cannot understand is that this very file works sometimes. Before the process starts I download the file from S3 into my Lambda container, maybe this is my problem, but still, this works sometimes.

    &#xA;

  • color of soundwaves in ffmpeg [closed]

    20 janvier, par Jad Alaouie

    I am trying to create a video that has a background image and an audio and I want to display the soundwaves in the middle of the video and in the center I have a play button. I am done with 99% of the work but still stuck on the soundwaves colors, which is gray somehow but I want them to be white, and is it possible to make the soundwave smoother ?

    &#xA;

    filter_complex = (&#xA;"[0:a]showwaves=s=700x300:mode=line:colors=white[v]:draw=scale:scale=sqrt[sw_left];"  &#xA;"[0:a]showwaves=s=700x300:mode=line:colors=white[v]:draw=scale:scale=sqrt[sw_right];"  &#xA;"[1][sw_left]overlay=(W-w)/2-500:(H-h)/2:format=auto[bg_left];"&#xA;"[bg_left][sw_right]overlay=(W&#x2B;w)/2-200:(H-h)/2:format=auto[bg_with_waves];"&#xA;"[2]scale={0}:{1}[play_button];"&#xA;"[bg_with_waves][play_button]overlay=(W-w)/2:(H-h)/2:format=auto[bg_with_play_button];"&#xA;"[bg_with_play_button]format=yuv420p[v]"  &#xA;).format(play_button_width, play_button_height)&#xA;&#xA;ffmpeg_command = [&#xA;"ffmpeg", "-hwaccel", "cuda", "-i", audio_path, "-i", background_path, "-i", play_button_path, &#xA;"-filter_complex", filter_complex,&#xA;"-map", "[v]", "-map", "0:a", "-c:v", "h264_nvenc", "-preset", "p7", &#xA;"-c:a", "aac", "-b:a", "192k", "-movflags", "&#x2B;faststart", "output.mp4"&#xA; ]&#xA;

    &#xA;