Recherche avancée

Médias (1)

Mot : - Tags -/ogg

Autres articles (67)

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

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

Sur d’autres sites (5886)

  • FFmpeg -ss parameter is the video duration, Output file is empty

    16 avril 2024, par noun nil

    The main function is to obtain the corresponding video frame based on the input seconds.Before processing, the duration of the video will be obtained to determine whether the input is within the duration range of the video. If so, the corresponding instruction will be executed.

    &#xA;

    > ffprobe input.mp4&#xA;  ...&#xA;  Duration: 00:00:28.05, start: 0.000000, bitrate: 1136 kb/s&#xA;

    &#xA;

    > ffmpeg -ss 00:00:28 -i input.mp4 -frames:v 1 output.png&#xA; ffmpeg version 7.0 Copyright (c) 2000-2024 the FFmpeg developers&#xA;  built with Apple clang version 15.0.0 (clang-1500.3.9.4)&#xA;  configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/7.0 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags=&#x27;-Wl,-ld_classic&#x27; --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libharfbuzz --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --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-libopenvino --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-audiotoolbox --enable-neon&#xA;  libavutil      59.  8.100 / 59.  8.100&#xA;  libavcodec     61.  3.100 / 61.  3.100&#xA;  libavformat    61.  1.100 / 61.  1.100&#xA;  libavdevice    61.  1.100 / 61.  1.100&#xA;  libavfilter    10.  1.100 / 10.  1.100&#xA;  libswscale      8.  1.100 /  8.  1.100&#xA;  libswresample   5.  1.100 /  5.  1.100&#xA;  libpostproc    58.  1.100 / 58.  1.100&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;input.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    encoder         : Lavf58.29.100&#xA;    description     : Packed by Bilibili XCoder v2.0.2&#xA;  Duration: 00:00:28.05, start: 0.000000, bitrate: 1136 kb/s&#xA;  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 720x1280 [SAR 1:1 DAR 9:16], 1005 kb/s, 25.27 fps, 25.25 tbr, 16k tbn (default)&#xA;      Metadata:&#xA;        handler_name    : VideoHandler&#xA;        vendor_id       : [0][0][0][0]&#xA;  Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)&#xA;      Metadata:&#xA;        handler_name    : SoundHandler&#xA;        vendor_id       : [0][0][0][0]&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (h264 (native) -> png (native))&#xA;Press [q] to stop, [?] for help&#xA;[swscaler @ 0x1187a0000] [swscaler @ 0x110e48000] No accelerated colorspace conversion found from yuv420p to rgb24.&#xA;[swscaler @ 0x1187a0000] [swscaler @ 0x110e58000] No accelerated colorspace conversion found from yuv420p to rgb24.&#xA;[swscaler @ 0x1187a0000] [swscaler @ 0x110e68000] No accelerated colorspace conversion found from yuv420p to rgb24.&#xA;[swscaler @ 0x1187a0000] [swscaler @ 0x110e78000] No accelerated colorspace conversion found from yuv420p to rgb24.&#xA;[swscaler @ 0x1187a0000] [swscaler @ 0x110e88000] No accelerated colorspace conversion found from yuv420p to rgb24.&#xA;[swscaler @ 0x1187a0000] [swscaler @ 0x110e98000] No accelerated colorspace conversion found from yuv420p to rgb24.&#xA;[swscaler @ 0x1187a0000] [swscaler @ 0x110ea8000] No accelerated colorspace conversion found from yuv420p to rgb24.&#xA;[swscaler @ 0x1187a0000] [swscaler @ 0x110eb8000] No accelerated colorspace conversion found from yuv420p to rgb24.&#xA;[swscaler @ 0x1187a0000] [swscaler @ 0x110ec8000] No accelerated colorspace conversion found from yuv420p to rgb24.&#xA;[vost#0:0/png @ 0x12ce06840] No filtered frames for output stream, trying to initialize anyway.&#xA;Output #0, image2, to &#x27;output.png&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    description     : Packed by Bilibili XCoder v2.0.2&#xA;    encoder         : Lavf61.1.100&#xA;  Stream #0:0(und): Video: png, rgb24(progressive), 720x1280 [SAR 1:1 DAR 9:16], q=2-31, 200 kb/s, 25.25 fps, 16k tbn (default)&#xA;      Metadata:&#xA;        handler_name    : VideoHandler&#xA;        vendor_id       : [0][0][0][0]&#xA;        encoder         : Lavc61.3.100 png&#xA;[out#0/image2 @ 0x600000e983c0] video:0KiB audio:0KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown&#xA;[out#0/image2 @ 0x600000e983c0] Output file is empty, nothing was encoded(check -ss / -t / -frames parameters if used)&#xA;frame=    0 fps=0.0 q=0.0 Lsize=N/A time=N/A bitrate=N/A speed=N/A    &#xA;&#xA;

    &#xA;

    -ss 00:00:28 within the video duration range, but still cannot obtain frames...

    &#xA;

    -ss 00:00:27 Can obtain video frames

    &#xA;

  • ffmpeg Unrecognized option 'preset' [closed]

    16 mai 2024, par Lalaluye

    Hello I just recently upgraded ffmpeg from 4.3.1 to 7.0 and getting the following error :

    &#xA;

    my command is&#xA;ffmpeg -y -f image2pipe -framerate 24 -i pipe: -c:v libx264 -preset veryfast -crf 29 -pix_fmt yuv420

    &#xA;

    and getting the below error :

    &#xA;

    16 May 2024 06:43:28,979 [DEBUG] testIntent  (pool-7-thread-3) &#xA;ffmpeg   built with gcc 7 (GCC)&#xA;16 May 2024 06:43:28,979 [DEBUG] testIntent  (pool-7-thread-3) &#xA;configuration: --prefix=/local/p4clients/pkgbuild-JklBW/workspace/src/FFmpeg/build/private/install&#xA;16 May 2024 06:43:28,979 [DEBUG] testIntent  (pool-7-thread-3) &#xA;ffmpeg   libavutil      59.  8.100 / 59.  8.100&#xA;16 May 2024 06:43:28,979 [DEBUG] testIntent  (pool-7-thread-3) &#xA;ffmpeg   libavcodec     61.  3.100 / 61.  3.100&#xA;16 May 2024 06:43:28,979 [DEBUG] testIntent  (pool-7-thread-3) &#xA;ffmpeg   libavformat    61.  1.100 / 61.  1.100&#xA;16 May 2024 06:43:28,979 [DEBUG] testIntent  (pool-7-thread-3) &#xA;ffmpeg   libavdevice    61.  1.100 / 61.  1.100&#xA;16 May 2024 06:43:28,979 [DEBUG] testIntent  (pool-7-thread-3) &#xA;ffmpeg   libavfilter    10.  1.100 / 10.  1.100&#xA;16 May 2024 06:43:28,979 [DEBUG] testIntent  (pool-7-thread-3) &#xA;ffmpeg   libswscale      8.  1.100 /  8.  1.100&#xA;16 May 2024 06:43:28,979 [DEBUG] testIntent  (pool-7-thread-3) &#xA;ffmpeg   libswresample   5.  1.100 /  5.  1.100&#xA;16 May 2024 06:43:28,979 [DEBUG] testIntent  (pool-7-thread-3) &#xA;ffmpeg Unrecognized option &#x27;preset&#x27;.&#xA;&#xA;

    &#xA;

    Haven't found a resolution so far. Any help appreciated

    &#xA;

  • HLS. FFmpeg : error when loading first segment [closed]

    30 avril 2024, par rus_99_pk

    I'm trying to download a streaming video using ffmpeg. There is a file in the format *.m3u8. BUT, if everything was so simple, I would not have come here.

    &#xA;

    There are a number of nuances :

    &#xA;

      &#xA;
    1. It cannot be downloaded by specifying a link to the file
    2. &#xA;

    3. If you upload the file and look at its contents, there will be : #EXT-X-KEY:METHOD=AES-128,URI="[KEY],IV=[IV]
    4. &#xA;

    &#xA;

    With a URI, the task is easy to solve ; just specify the value list.m3u8.

    &#xA;

    I end up getting :

    &#xA;

    Error when loading first segment &#x27;https://cdnv-m12.boomstream.com/vod/hash:21596def3216ed982660d609751b8078/id:35105.29443.1039983.85853232.150106.hls/time:0/data:eyJ2ZXJzaW9uIjoiMS4yLjk3IiwidXNlX2RpcmVjdF9saW5rcyI6InllcyIsImlzX2VuY3J5cHQiOiJ5ZXMifQ==/m61/2024/04/27/1Q0idCxb.mp4/media-1.ts&#x27;&#xA;

    &#xA;

    But with IV it’s more difficult, because file processing is performed on the server side. Please help.

    &#xA;

    I tried to get JS with similar variable names and monitor network traffic using Wireshark, in the hope of catching a response from the server with IV.

    &#xA;

    But it didn't help me.

    &#xA;

    My script for download :

    &#xA;

    #!/bin/bash&#xA;clear&#xA;&#xA;link="/home/user/Download/chunklist.m3u8"&#xA;filename="testfile"&#xA;&#xA;ffmpeg \&#xA;-headers $&#x27;User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:124.0) Gecko/20100101 Firefox/124.0\r\nAccept: */*\r\nAccept-Language: ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3\r\nAccept-Encoding: gzip, deflate, br\r\nOrigin: https://example.com\r\nConn>&#xA;-protocol_whitelist "file,http,https,tcp,tls,crypto" \&#xA;-allowed_extensions ALL \&#xA;-f hls \&#xA;-i "$link" \&#xA;-map p:2 \&#xA;-bsf:a aac_adtstoasc  -vcodec copy  -c copy -crf 50 /tmp/$filename.mp4 -v trace&#xA;

    &#xA;

    Trace log

    &#xA;