Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP 0.2

Autres articles (75)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Activation de l’inscription des visiteurs

    12 avril 2011, par

    Il est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
    Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
    Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (8390)

  • lavc/vvc : Prevent overflow in chroma QP derivation

    9 juin 2024, par Frank Plowman
    lavc/vvc : Prevent overflow in chroma QP derivation
    

    On the top of p. 112 in VVC (09/2023) :

    It is a requirement of bitstream conformance that the values of
    qpInVal[ i ][ j ] and qpOutVal[ i ][ j ] shall be in the range
    of −QpBdOffset to 63, inclusive for i in the range of 0 to
    numQpTables − 1, inclusive, and j in the range of 0 to
    sps_num_points_in_qp_table_minus1[ i ] + 1, inclusive.

    Additionally, don't discard the return code from sps_chroma_qp_table.

    Signed-off-by : Frank Plowman <post@frankplowman.com>

    • [DH] libavcodec/vvc/ps.c
  • FFmpeg - Overlay multiple layers of transparent webm files [closed]

    27 octobre 2023, par Jens

    I am trying to overlay multiple layers ( up to 8 layers ) of transparent webm files to an mp4 file.

    &#xA;

    If I do this for 2 layers, it works but ignores the alpha channel.

    &#xA;

    ffmpeg  -i 1.webm -i 2.webm  -c:a copy -filter_complex "[0:v][1:v] overlay=0:0:enable=&#x27;between(t,0,20)&#x27;" output.mp4&#xA;

    &#xA;

    I specify libvpx-vp9 to get the alpha channel as well

    &#xA;

    ffmpeg -c:v libvpx-vp9 -i 1.webm -c:v libvpx-vp9 -i 2.webm -c:a copy -filter_complex "[0:v][1:v] overlay=0:0:enable=&#x27;between(t,0,20)&#x27;" output.mp4&#xA;

    &#xA;

    Then I get an error.

    &#xA;

    [libvpx-vp9 @ 0x7f9bd8d04840] Failed to decode frame: Unspecified internal error&#xA;    Last message repeated 3 times&#xA;[libvpx-vp9 @ 0x7f9bd8d04840] Failed to decode frame: Bitstream not supported by this decoder&#xA;    Last message repeated 8 times&#xA;[matroska,webm @ 0x7f9bd8f04880] Could not find codec parameters for stream 0 (Video: vp9 (libvpx-vp9) (Profile 3), none, 1080x1080): unspecified pixel format&#xA;Consider increasing the value for the &#x27;analyzeduration&#x27; (0) and &#x27;probesize&#x27; (5000000) options&#xA;Input #0, matroska,webm, from &#x27;1.webm&#x27;:&#xA;  Metadata:&#xA;    encoder         : WS Matroska Muxer&#xA;    creation_time   : 2023-09-11T14:55:34.000000Z&#xA;  Duration: 00:00:20.00, start: 0.000000, bitrate: 1775 kb/s&#xA;  Stream #0:0: Video: vp9 (Profile 3), none, 1080x1080, SAR 1:1 DAR 1:1, 30 fps, 30 tbr, 1k tbn (default)&#xA;    Metadata:&#xA;      alpha_mode      : 1&#xA;  Stream #0:1: Audio: vorbis, 44100 Hz, stereo, fltp (default)&#xA;&#xA;and&#xA;&#xA;Failed to decode frame: Unspecified internal error&#xA;Error while decoding stream #0:0: Invalid data found when processing input&#xA;Cannot determine format of input stream 0:0 after EOF&#xA;

    &#xA;

    I have tried to increasing the value for the 'analyzeduration' and 'probesize', but it makes no difference.

    &#xA;

    ffprobe of 1.webm

    &#xA;

    ffprobe version 6.0 Copyright (c) 2007-2023 the FFmpeg developers&#xA;  built with Apple clang version 14.0.3 (clang-1403.0.22.14.1)&#xA;  configuration: --prefix=/usr/local/Cellar/ffmpeg/6.0-with-options_4 --enable-shared --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-libaom --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-libsnappy --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-demuxer=dash --enable-opencl --enable-audiotoolbox --enable-videotoolbox --disable-htmlpages --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfdk-aac --enable-libgme --enable-libgsm --enable-libmodplug --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-libsvtav1 --enable-librist --enable-librsvg --enable-librtmp --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtesseract --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libwebp --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-openssl --enable-nonfree --enable-libjack --enable-indev=jack --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb&#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;Input #0, matroska,webm, from &#x27;1.webm&#x27;:&#xA;  Metadata:&#xA;    encoder         : WS Matroska Muxer&#xA;    creation_time   : 2023-09-11T14:55:34.000000Z&#xA;  Duration: 00:00:20.00, start: 0.000000, bitrate: 1775 kb/s&#xA;  Stream #0:0: Video: vp8, yuv420p(progressive), 1080x1080, SAR 1:1 DAR 1:1, 30 fps, 30 tbr, 1k tbn (default)&#xA;    Metadata:&#xA;      alpha_mode      : 1&#xA;  Stream #0:1: Audio: vorbis, 44100 Hz, stereo, fltp (default)&#xA;

    &#xA;

    Any ffmpeg wizards with an idea ?

    &#xA;

  • MP4 to HLS conversion error after resizing video using FFmpeg

    26 juillet 2023, par ITeptIcklyTa

    When trying to create HLS stream from original video, FFmpeg creates HLS stream without errors.

    &#xA;

    ~ $ ffmpeg -i test.mp4 -f hls -hls_time 3 -hls_segment_filename seg%02d.ts stream.m3u8&#xA;

    &#xA;

    But when I resize video using this command, I get a timestamps warning :

    &#xA;

    ~ $ ffmpeg -i test.mp4 -vf scale=426:240 test_240p.mp4&#xA;[mp4 @ 0xb400007429e52d00] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly&#xA;[mp4 @ 0xb400007429e52d00] Encoder did not produce proper pts, making some up.&#xA;

    &#xA;

    And when creating HLS stream from resized video, I'm getting an error :

    &#xA;

    ~ $ ffmpeg -i test_240p.mp4 -f hls -hls_time 3 -hls_segment_filename seg%02d.ts stream.m3u8                     ffmpeg version N-111626-g0ba719f726 Copyright (c) 2000-2023 the FFmpeg developers&#xA;  built with clang version 16.0.6&#xA;  configuration: --arch=aarch64 --as=aarch64-linux-android-clang --cc=aarch64-linux-android-clang --cxx=aarch64-linux-android-clang&#x2B;&#x2B; --nm=llvm-nm --pkg-config=/data/data/com.termux/files/usr/bin/pkg-config --strip=llvm-strip --cross-prefix=aarch64-linux-android- --disable-indevs --disable-outdevs --enable-indev=lavfi --disable-static --disable-symver --enable-cross-compile --enable-gnutls --enable-gpl --enable-jni --enable-lcms2 --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libgme --enable-libmp3lame --enable-libopus --enable-librav1e --enable-libsoxr --enable-libsrt --enable-libssh --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-mediacodec --enable-opencl --enable-shared --prefix=/data/data/com.termux/files/usr --target-os=android --extra-libs=-landroid-glob --disable-vulkan --enable-neon --disable-libfdk-aac                                                      libavutil      58. 14.100 / 58. 14.100                  libavcodec     60. 22.100 / 60. 22.100&#xA;  libavformat    60. 10.100 / 60. 10.100                  libavdevice    60.  2.101 / 60.  2.101&#xA;  libavfilter     9. 10.100 /  9. 10.100&#xA;  libswscale      7.  3.100 /  7.  3.100&#xA;  libswresample   4. 11.100 /  4. 11.100&#xA;  libpostproc    57.  2.100 / 57.  2.100&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;test_240p.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    encoder         : Lavf60.10.100&#xA;  Duration: 00:00:10.01, start: 0.000000, bitrate: 178 kb/s&#xA;  Stream #0:0[0x1](und): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv, bt709/bt709/smpte170m, progressive), 426x240, 44 kb/s, SAR 640:639 DAR 16:9, 25 fps, 25 tbr, 12800 tbn (default)&#xA;    Metadata:&#xA;      handler_name    : ISO Media file produced by Google Inc. Created on: 02/24/2023.&#xA;      vendor_id       : [0][0][0][0]&#xA;      encoder         : Lavc60.22.100 h264_mediacodec&#xA;  Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 127 kb/s (default)&#xA;    Metadata:&#xA;      handler_name    : ISO Media file produced by Google Inc. Created on: 02/24/2023.&#xA;      vendor_id       : [0][0][0][0]&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_mediacodec))&#xA;  Stream #0:1 -> #0:1 (aac (native) -> aac (native))&#xA;Press [q] to stop, [?] for help&#xA;[h264_mediacodec @ 0xb400007da1f2ac00] Use 1 as the default MediaFormat i-frame-interval, please set gop_size properly (>= fps)&#xA;[h264_mediacodec @ 0xb400007da1f2ac00] Mediacodec encoder doesn&#x27;t support AV_CODEC_FLAG_GLOBAL_HEADER. Use extract_extradata bsf when necessary.&#xA;Output #0, hls, to &#x27;stream.m3u8&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    encoder         : Lavf60.10.100&#xA;  Stream #0:0(und): Video: h264, yuv420p(tv, bt709/bt709/smpte170m, progressive), 426x240 [SAR 640:639 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 90k tbn (default)&#xA;    Metadata:&#xA;      handler_name    : ISO Media file produced by Google Inc. Created on: 02/24/2023.&#xA;      vendor_id       : [0][0][0][0]&#xA;      encoder         : Lavc60.22.100 h264_mediacodec&#xA;  Stream #0:1(und): Audio: aac (LC), 44100 Hz, stereo, fltp, 128 kb/s (default)&#xA;    Metadata:&#xA;      handler_name    : ISO Media file produced by Google Inc. Created on: 02/24/2023.&#xA;      vendor_id       : [0][0][0][0]&#xA;      encoder         : Lavc60.22.100 aac&#xA;frame=    0 fps=0.0 q=0.0 size=N/A time=00:00:00.25 bitr[hls @ 0xb400007da1f27d00] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly&#xA;[hls @ 0xb400007da1f27d00] Encoder did not produce proper pts, making some up.&#xA;[mpegts @ 0xb400007da1f29100] H.264 bitstream error, startcode missing, size 0&#xA;[hls @ 0xb400007da1f27d00] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 3600 >= 3600&#xA;[vost#0:0/h264_mediacodec @ 0xb400007da200a000] Error submitting a packet to the muxer: Invalid argument&#xA;[out#0/hls @ 0xb400007da1eaa6c0] Error muxing a packet&#xA;[hls @ 0xb400007da1f27d00] Opening &#x27;seg00.ts&#x27; for writing&#xA;[hls @ 0xb400007da1f27d00] Opening &#x27;stream.m3u8.tmp&#x27; for writing&#xA;[out#0/hls @ 0xb400007da1eaa6c0] video:2kB audio:5kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown&#xA;frame=    3 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.41 bitrate=N/A speed=3.39x&#xA;[aac @ 0xb400007da2051400] Qavg: 32468.840&#xA;Conversion failed!&#xA;~ $&#xA;

    &#xA;

    I tried to build FFmpeg from GitHub and install FFmpeg from repositories, and I'm still getting this error.

    &#xA;