Recherche avancée

Médias (1)

Mot : - Tags -/biographie

Autres articles (80)

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

  • Reduce ffmpeg CPU usage with h265 [closed]

    23 septembre 2024, par Neskelogth

    I have a video file to convert using ffmpeg on Ubuntu 22.04. The input uses the codec h264 and I want to convert it to h265 (mainly for storage capacity reasons). The output of ffmpeg -version is

    &#xA;

    ffmpeg version N-113725-g37702e2066 Copyright (c) 2000-2024 the FFmpeg developers&#xA;built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)&#xA;configuration: --enable-nonfree --enable-cuda-nvcc --enable-libnpp --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64 --disable-static --enable-shared --enable-libx265 --enable-gpl&#xA;libavutil      58. 39.100 / 58. 39.100&#xA;libavcodec     60. 39.101 / 60. 39.101&#xA;libavformat    60. 21.101 / 60. 21.101&#xA;libavdevice    60.  4.100 / 60.  4.100&#xA;libavfilter     9. 17.100 /  9. 17.100&#xA;libswscale      7.  6.100 /  7.  6.100&#xA;libswresample   4. 13.100 /  4. 13.100&#xA;libpostproc    57.  4.100 / 57.  4.100&#xA;

    &#xA;

    I saw online that one of the options of ffmpeg is -threads, but apparently it does not work, since using ffmpeg -i input.mp4 -c:v libx265 -c:a copy output.mp4 and ffmpeg -i input.mp4 -c:v libx265 -c:a copy -threads 2 output.mp4 seem to be exactly the same in terms of CPU usage as shown by htop. Is there something wrong in my usage of -threads ?

    &#xA;

  • Problem error : [out#0/image2 @ 000001b2582c3b00] Output file does not contain any stream [closed]

    17 juillet 2024, par Đào Thanh Tùng

    i'm not any kind of developer or s.t, just a person want to download some anime video from some site to watch offline. I'm having some issue when using ffmpeg to download it.&#xA;Here's the code that i use :

    &#xA;

    D:\File App\ffmpeg-2024-07-15-git-350146a1ea-full_build\ffmpeg-2024-07-15-git-350146a1ea-full_build\bin> .\ffmpeg -protocol_whitelist https,file,tls,tcp,cryptio -i phim18.m3u8 -c copy phim18.png&#xA;&#xA;

    &#xA;

    And i get some issue with the output one, here's the output :

    &#xA;

    ffmpeg version 2024-07-15-git-350146a1ea-full_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers&#xA;  built with gcc 13.2.0 (Rev5, Built by MSYS2 project)&#xA;  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libopenjpeg --enable-libquirc --enable-libuavs3d --enable-libxevd --enable-libzvbi --enable-libqrencode --enable-librav1e --enable-libsvtav1 --enable-libvvenc --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxeve --enable-libxvid --enable-libaom --enable-libjxl --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-dxva2 --enable-d3d11va --enable-d3d12va --enable-ffnvcodec --enable-libvpl --enable-nvdec --enable-nvenc --enable-vaapi --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint&#xA;  libavutil      59. 28.100 / 59. 28.100&#xA;  libavcodec     61. 10.100 / 61. 10.100&#xA;  libavformat    61.  5.101 / 61.  5.101&#xA;  libavdevice    61.  2.100 / 61.  2.100&#xA;  libavfilter    10.  2.102 / 10.  2.102&#xA;  libswscale      8.  2.100 /  8.  2.100&#xA;  libswresample   5.  2.100 /  5.  2.100&#xA;  libpostproc    58.  2.100 / 58.  2.100&#xA;[hls @ 000001efc1eb22c0] Skip (&#x27;#EXT-X-VERSION:4&#x27;)&#xA;[hls @ 000001efc1eb22c0] Opening &#x27;https://cloud.googleapiscdn.com/chunks/64ee0ea147f53204b550e609/1080/vJ9JdUdqRe7VNsVGJArCFA==:eLpGwsE9JqQv62clmyOTL_8ncGLJchKwkL2hF9qQSlXPV1DRR7xz5K2XsHpsCLL2/video0.html&#x27; for reading&#xA;[hls @ 000001efc1eb22c0] Opening &#x27;https://cloud.googleapiscdn.com/chunks/64ee0ea147f53204b550e609/1080/s3HMZ3_g_lLMBdyeXTcFOA==:erBlcSN21rFVm7HbWRrApUjjIX8e8sAUY2fzuqUSUq5qWxkrbZaV_bffq5ucvHHz/video1.html&#x27; for reading&#xA;[hls @ 000001efc1eb22c0] Could not find codec parameters for stream 0 (Video: png, none): unspecified size&#xA;Consider increasing the value for the &#x27;analyzeduration&#x27; (0) and &#x27;probesize&#x27; (5000000) options&#xA;Input #0, hls, from &#x27;phim18.m3u8&#x27;:&#xA;  Duration: 01:56:48.00, bitrate: 0 kb/s&#xA;  Program 0&#xA;    Metadata:&#xA;      variant_bitrate : 0&#xA;  Stream #0:0: Video: png, none, 25 tbr, 25 tbn&#xA;      Metadata:&#xA;        variant_bitrate : 0&#xA;Output #0, image2, to &#x27;phim18.png&#x27;:&#xA;[out#0/image2 @ 000001efc2773180] Output file does not contain any stream&#xA;Error opening output file phim18.png.&#xA;Error opening output files: Invalid argument&#xA;

    &#xA;

    I tried change the output but still get the same result. Hope someone can help me on this, thank you !

    &#xA;

  • FFmpeg Could not write header (incorrect codec parameters ?) : Invalid data found when processing input [closed]

    14 juillet 2024, par cookie

    The command

    &#xA;

    ffmpeg -v verbose -i in.mkv -c copy -y out.mkv&#xA;

    &#xA;

    produces the following error :

    &#xA;

    ffmpeg version 7.0.1-full_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers&#xA;  built with gcc 13.2.0 (Rev5, Built by MSYS2 project)&#xA;  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libxevd --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxeve --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-dxva2 --enable-d3d11va --enable-d3d12va --enable-ffnvcodec --enable-libvpl --enable-nvdec --enable-nvenc --enable-vaapi --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint&#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;[hevc @ 00000133b5bb5040] Invalid default display window&#xA;Input #0, matroska,webm, from &#x27;in.mkv&#x27;:&#xA;  Metadata:&#xA;    encoder         : libebml v1.3.0 &#x2B; libmatroska v1.4.1&#xA;    creation_time   : 2015-03-20T14:07:27.000000Z&#xA;  Duration: 00:24:11.75, start: 0.000000, bitrate: 5185 kb/s&#xA;  Chapters:&#xA;    Chapter #0:0: start 0.000000, end 48.047000&#xA;      Metadata:&#xA;        title           : Chapter 01&#xA;    Chapter #0:1: start 48.047000, end 137.846000&#xA;      Metadata:&#xA;        title           : Chapter 02&#xA;    Chapter #0:2: start 137.846000, end 535.868000&#xA;      Metadata:&#xA;        title           : Chapter 03&#xA;    Chapter #0:3: start 535.868000, end 1330.871000&#xA;      Metadata:&#xA;        title           : Chapter 04&#xA;    Chapter #0:4: start 1330.871000, end 1420.877000&#xA;      Metadata:&#xA;        title           : Chapter 05&#xA;    Chapter #0:5: start 1420.877000, end 1451.741000&#xA;      Metadata:&#xA;        title           : Chapter 06&#xA;    Chapter #0:6: start 1451.741000, end 1451.745000&#xA;      Metadata:&#xA;        title           : Chapter 07&#xA;  Stream #0:0: Video: hevc (Main 10), 1 reference frame, yuv420p10le(tv, left), 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn (default)&#xA;      Metadata:&#xA;        _STATISTICS_WRITING_APP: mkvmerge v7.0.0 (&#x27;Where We Going&#x27;) 32bit built on Jun  9 2014 15:08:34&#xA;        _STATISTICS_WRITING_APP-eng: mkvmerge v7.0.0 (&#x27;Where We Going&#x27;) 32bit built on Jun  9 2014 15:08:34&#xA;        _STATISTICS_WRITING_DATE_UTC: 2015-03-20 14:07:27&#xA;        _STATISTICS_WRITING_DATE_UTC-eng: 2015-03-20 14:07:27&#xA;        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES&#xA;        _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES&#xA;        BPS             : 3754023&#xA;        BPS-eng         : 3754023&#xA;        DURATION        : 00:24:11.742000000&#xA;        DURATION-eng    : 00:24:11.742000000&#xA;        NUMBER_OF_FRAMES: 34807&#xA;        NUMBER_OF_FRAMES-eng: 34807&#xA;        NUMBER_OF_BYTES : 681234123&#xA;        NUMBER_OF_BYTES-eng: 681234123&#xA;  Stream #0:1(jpn): Audio: flac, 48000 Hz, stereo, s32 (24 bit) (default)&#xA;      Metadata:&#xA;        _STATISTICS_WRITING_APP: mkvmerge v7.0.0 (&#x27;Where We Going&#x27;) 32bit built on Jun  9 2014 15:08:34&#xA;        _STATISTICS_WRITING_APP-eng: mkvmerge v7.0.0 (&#x27;Where We Going&#x27;) 32bit built on Jun  9 2014 15:08:34&#xA;        _STATISTICS_WRITING_DATE_UTC: 2015-03-20 14:07:27&#xA;        _STATISTICS_WRITING_DATE_UTC-eng: 2015-03-20 14:07:27&#xA;        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES&#xA;        _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES&#xA;        BPS             : 1429414&#xA;        BPS-eng         : 1429414&#xA;        DURATION        : 00:24:11.745000000&#xA;        DURATION-eng    : 00:24:11.745000000&#xA;        NUMBER_OF_FRAMES: 17013&#xA;        NUMBER_OF_FRAMES-eng: 17013&#xA;        NUMBER_OF_BYTES : 259393130&#xA;        NUMBER_OF_BYTES-eng: 259393130&#xA;[out#0/matroska @ 00000133b5bb5a40] No explicit maps, mapping streams automatically...&#xA;[vost#0:0/copy @ 00000133b5c2f580] Created video stream from input stream 0:0&#xA;[aost#0:1/copy @ 00000133b5bf1680] Created audio stream from input stream 0:1&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (copy)&#xA;  Stream #0:1 -> #0:1 (copy)&#xA;[out#0/matroska @ 00000133b5bb5a40] Could not write header (incorrect codec parameters ?): Invalid data found when processing input&#xA;[AVIOContext @ 00000133b5c27940] Statistics: 291 bytes written, 0 seeks, 1 writeouts&#xA;[AVIOContext @ 00000133b5b97980] Statistics: 66432 bytes read, 2 seeks&#xA;Conversion failed!&#xA;

    &#xA;

    Originally, I was trying to add a subtitle to in.mkv, but I keep encountering this error. When I add the subtitle to another MKV file, it works fine, so I believe the problem lies with in.mkv.

    &#xA;

    Troubleshooting

    &#xA;

    Output only video stream produce the same error :

    &#xA;

    ffmpeg -i in.mkv -map 0:v:0 -c copy out.mkv&#xA;

    &#xA;

    Output only audio stream works fine :

    &#xA;

    ffmpeg -i in.mkv -map 0:a:0 -c copy out.mkv&#xA;

    &#xA;

    Output as mp4 got no error, but the output file is unplayable :

    &#xA;

    ffmpeg -i in.mkv -c copy -strict -2 out.mp4&#xA;

    &#xA;

    Re-encoding works fine :

    &#xA;

    ffmpeg -i in.mkv -c:v libx265 -c:a copy out.mkv&#xA;

    &#xA;

    How can I fix the video stream in in.mkv so that I can add a subtitle stream and remux the file without re-encoding the video ? Any insights or suggestions on handling this error would be greatly appreciated.

    &#xA;