Recherche avancée

Médias (1)

Mot : - Tags -/stallman

Autres articles (84)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

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

  • avformat : remove deprecated FF_API_ALLOW_FLUSH

    19 février, par James Almer
    avformat : remove deprecated FF_API_ALLOW_FLUSH
    

    Deprecated since 2023-10-02.

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavdevice/pulse_audio_enc.c
    • [DH] libavformat/avformat.h
    • [DH] libavformat/fifo.c
    • [DH] libavformat/hlsenc.c
    • [DH] libavformat/matroskaenc.c
    • [DH] libavformat/movenc.c
    • [DH] libavformat/mpegtsenc.c
    • [DH] libavformat/oggenc.c
    • [DH] libavformat/tee.c
    • [DH] libavformat/tests/fifo_muxer.c
    • [DH] libavformat/version_major.h
  • AWS Lambda failed to resolve hostname on S3 signed url

    9 février 2024, par warly

    i'm trying to get ffmpeg working in AWS Lambda reading from and writing to S3. I crawled through dozens of aws documentations, stackoverflow questions and blog posts. All do it slightly different, but in the end none of them worked for me. So I hope to find help here :)&#xA;I sticked to the tutorial from InPlainEnglish : https://plainenglish.io/community/automated-video-processing-with-aws-lambda-and-ffmpeg-2834b7

    &#xA;

    The ffprobe command does work, so ffmpeg is callable. But when calling ffmpeg with an S3 signed url i get the error Failed to resolve hostname my-bucket.s3.eu-central-1.amazonaws.com: System error

    &#xA;

    export const handler = async (event) => {&#xA;    const s3 = new S3Client({});&#xA;    const bucket = event.Records[0].s3.bucket.name;&#xA;    const sourceKey = event.Records[0].s3.object.key;&#xA;    const sourceURL = await getSignedUrl(s3, new GetObjectCommand({&#xA;        Bucket: bucket,&#xA;        Key: sourceKey,&#xA;    }), {&#xA;        expiresIn: 900,&#xA;    });&#xA;&#xA;    const tmpFilePath = &#x27;tmp/video.mp4&#x27;;&#xA;    const { convertOut } = await commander(`/opt/ffmpeg -i "${sourceURL}" -vf scale=1080:-2,format=yuv420p ${tmpFilePath}`);&#xA;&#xA;    return {&#xA;        statusCode: 200,&#xA;        body: {&#xA;            result: JSON.stringify(convertOut),&#xA;        },&#xA;    };&#xA;};&#xA;

    &#xA;

    if anyone is able to point me in the right direction i would appreciate it :D

    &#xA;

    Full error message :

    &#xA;

    {&#xA;  "errorType": "Error",&#xA;  "errorMessage": "Command failed: /opt/ffmpeg -i \"https://my-bucket.s3.eu-central-1.amazonaws.com/original/Testvideo.MOV?X-Amz-Algorithm=AWS4-HMAC-SHA256&amp;X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&amp;X-Amz-Credential={redacted}&amp;X-Amz-Date=20240209T212255Z&amp;X-Amz-Expires=900&amp;X-Amz-Security-Token={redacted}&amp;X-Amz-Signature={redacted}&amp;X-Amz-SignedHeaders=host&amp;x-id=GetObject\" -vf scale=1080:-2,crop=1080:1350,format=yuv420p tmp/video.mp4\nffmpeg version 6.1-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2023 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-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-libzimg\n  libavutil      58. 29.100 / 58. 29.100\n  libavcodec     60. 31.102 / 60. 31.102\n  libavformat    60. 16.100 / 60. 16.100\n  libavdevice    60.  3.100 / 60.  3.100\n  libavfilter     9. 12.100 /  9. 12.100\n  libswscale      7.  5.100 /  7.  5.100\n  libswresample   4. 12.100 /  4. 12.100\n  libpostproc    57.  3.100 / 57.  3.100\n[tcp @ 0x141950d0] Failed to resolve hostname my-bucket.s3.eu-central-1.amazonaws.com: System error\n[in#0 @ 0x14190900] Error opening input: Input/output error\nError opening input file https://my-bucket.s3.eu-central-1.amazonaws.com/original/Testvideo.MOV?X-Amz-Algorithm=AWS4-HMAC-SHA256&amp;X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&amp;X-Amz-Credential={redacted}&amp;X-Amz-Date=20240209T212255Z&amp;X-Amz-Expires=900&amp;X-Amz-Security-Token={redacted}&amp;X-Amz-Signature={redacted}&amp;X-Amz-SignedHeaders=host&amp;x-id=GetObject.\nError opening input files: Input/output error\n",&#xA;  "trace": [&#xA;    "Error: Command failed: /opt/ffmpeg -i \"https://my-bucket.s3.eu-central-1.amazonaws.com/original/Testvideo.MOV?X-Amz-Algorithm=AWS4-HMAC-SHA256&amp;X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&amp;X-Amz-Credential={redacted}&amp;X-Amz-Date=20240209T212255Z&amp;X-Amz-Expires=900&amp;X-Amz-Security-Token={redacted}&amp;X-Amz-Signature={redacted}&amp;X-Amz-SignedHeaders=host&amp;x-id=GetObject\" -vf scale=1080:-2,crop=1080:1350,format=yuv420p tmp/video.mp4",&#xA;    "ffmpeg version 6.1-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2023 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-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-libzimg",&#xA;    "  libavutil      58. 29.100 / 58. 29.100",&#xA;    "  libavcodec     60. 31.102 / 60. 31.102",&#xA;    "  libavformat    60. 16.100 / 60. 16.100",&#xA;    "  libavdevice    60.  3.100 / 60.  3.100",&#xA;    "  libavfilter     9. 12.100 /  9. 12.100",&#xA;    "  libswscale      7.  5.100 /  7.  5.100",&#xA;    "  libswresample   4. 12.100 /  4. 12.100",&#xA;    "  libpostproc    57.  3.100 / 57.  3.100",&#xA;    "[tcp @ 0x141950d0] Failed to resolve hostname my-bucket.s3.eu-central-1.amazonaws.com: System error",&#xA;    "[in#0 @ 0x14190900] Error opening input: Input/output error",&#xA;    "Error opening input file https://my-bucket.s3.eu-central-1.amazonaws.com/original/Testvideo.MOV?X-Amz-Algorithm=AWS4-HMAC-SHA256&amp;X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&amp;X-Amz-Credential={redacted}&amp;X-Amz-Date=20240209T212255Z&amp;X-Amz-Expires=900&amp;X-Amz-Security-Token={redacted}&amp;X-Amz-Signature={redacted}&amp;X-Amz-SignedHeaders=host&amp;x-id=GetObject.",&#xA;    "Error opening input files: Input/output error",&#xA;    "",&#xA;    "    at ChildProcess.exithandler (node:child_process:422:12)",&#xA;    "    at ChildProcess.emit (node:events:518:28)",&#xA;    "    at maybeClose (node:internal/child_process:1105:16)",&#xA;    "    at ChildProcess._handle.onexit (node:internal/child_process:305:5)"&#xA;  ]&#xA;}&#xA;enter code here&#xA;

    &#xA;

  • Concat two .ts files gets audio out of sync

    14 octobre 2023, par Norbert Preining

    I am trying to concat two .ts files using ffmpeg. The files look like

    &#xA;

    Part 0 :

    &#xA;

    $ ffprobe -hide_banner part0.ts&#xA;Input #0, mpegts, from &#x27;part0.ts&#x27;:&#xA;  Duration: 00:00:25.02, start: 1.408000, bitrate: 76 kb/s&#xA;  Program 1 &#xA;    Metadata:&#xA;      service_name    : Service01&#xA;      service_provider: FFmpeg&#xA;  Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, unknown/bt709/iec61966-2-1, progressive), 1920x1080, 50 fps, 50 tbr, 90k tbn&#xA;  Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 32000 Hz, stereo, fltp, 3 kb/s&#xA;

    &#xA;

    Part 1 :

    &#xA;

    Input #0, mpegts, from &#x27;part1.ts&#x27;:&#xA;  Duration: 00:33:03.10, start: 1.408000, bitrate: 886 kb/s&#xA;  Program 1 &#xA;    Metadata:&#xA;      service_name    : Service01&#xA;      service_provider: FFmpeg&#xA;  Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn&#xA;  Stream #0:1[0x101](und): Audio: aac (LC) ([15][0][0][0] / 0x000F), 32000 Hz, stereo, fltp, 129 kb/s&#xA;

    &#xA;

    And concatenation is done using :

    &#xA;

    ffmpeg -y -i "concat:part0.ts|part1.ts" -c copy -bsf:a aac_adtstoasc bla.mp4&#xA;

    &#xA;

    But the concatenated file always shows sync issues between audio and video. I have been using these to concatenate in the past without errors, but now it fails.

    &#xA;

    Details about my ffmpeg :

    &#xA;

    $ ffmpeg -version&#xA;ffmpeg version n6.0 Copyright (c) 2000-2023 the FFmpeg developers&#xA;built with gcc 13.2.1 (GCC) 20230801&#xA;configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libjxl --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpl --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-opencl --enable-opengl --enable-shared --enable-version3 --enable-vulkan&#xA;libavutil      58.  2.100 / 58.  2.100&#xA;libavcodec     60.  3.100 / 60.  3.100&#xA;libavformat    60.  3.100 / 60.  3.100&#xA;libavdevice    60.  1.100 / 60.  1.100&#xA;libavfilter     9.  3.100 /  9.  3.100&#xA;libswscale      7.  1.100 /  7.  1.100&#xA;libswresample   4. 10.100 /  4. 10.100&#xA;libpostproc    57.  1.100 / 57.  1.100&#xA;

    &#xA;