Recherche avancée

Médias (91)

Autres articles (49)

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (7974)

  • hey i need to download my coaching classes but they are using hls aes 128 bit encrypted streams. i downloaded m3u8 and all .ts files and found enc key

    19 mars 2023, par tinu one

    I downloaded all the .ts files using a python script but it is encrypted with aes 128.i found a encryption key (supposedly) under the network tab in developer options. I ran it through ffmpeg but got an error( invalid data found while processing ). I need these classes because they are going to remove it in may 2023. i am a noob to this and may have done step wrong. Please forgive me. I would deeply appreciate anyone who will help me find a solution to this problem. Thankyou.

    


    I downloaded all the .ts files and m3u8 file and put it inside a folder. I hosted the key file in localhost that I found under the preview tab of the network tab in developer options( it was named key/ after all and had characters which was not human readable. it also had the request URL similar to that inside the m3u8 file)because ffmpeg did not want to read the key file from my local pc. I edited the m3u8 file to access the key stored in local host and it read successfully. but it shows error( invalid data found while processing).

    


    encryption key from preview tab I found : Ø®¢Ù¦Aä [u
request url of the key : https://classes.brilliantpala.org/api/v2.5/video_contents/42475/key/

    


    unedited m3u8 file :

    


    #EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:19
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-KEY:METHOD=AES-128,URI="https://classes.brilliantpala.org/api/v2.4/encryption_key/40cd559c70c241699cfcda9072c4fb42/",IV=0x00000000000000000000000000000000
#EXTINF:11.680000,
video_0.ts
#EXTINF:10.000000,
video_1.ts
#EXTINF:10.000000,
etc etc..


    


    fetch("https://classes.brilliantpala.org/api/v2.5/video_contents/42475/key/", {
  "headers": {
    "accept": "*/*",
    "accept-language": "en-US,en;q=0.9",
    "sec-ch-ua": "\"Microsoft Edge\";v=\"111\", \"Not(A:Brand\";v=\"8\", \"Chromium\";v=\"111\"",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"Windows\"",
    "sec-fetch-dest": "empty",
    "sec-fetch-mode": "cors",
    "sec-fetch-site": "same-origin",
    "x-key": "5e5d8c5d0486a678ccd4935ecb9fa8a01b1db7327396184ab00b50573119e947"
  },
  "referrer": "https://classes.brilliantpala.org/courses/535/contents/42475/",
  "referrerPolicy": "strict-origin-when-cross-origin",
  "body": null,
  "method": "GET",
  "mode": "cors",
  "credentials": "include"
});```




    


  • avutil : remove deprecated FF_API_HDR_VIVID_THREE_SPLINE

    19 février, par James Almer
    avutil : remove deprecated FF_API_HDR_VIVID_THREE_SPLINE
    

    Deprecated since 2023-03-17.

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

    • [DH] libavcodec/dynamic_hdr_vivid.c
    • [DH] libavutil/hdr_dynamic_vivid_metadata.h
    • [DH] libavutil/version.h
  • How to use ffmpeg on a stream input to extract frames

    21 juillet 2023, par Deepak Sharma

    I have tried piping the stream to a ffmpeg process for extracting the frames. It does process the small files and able to extract the frames successfully but for most of the files it throws error. The reference of the code I have used from this link- https://mathewsachin.github.io/blog/2017/07/28/ffmpeg-pipe-csharp.html&#xA;When I am running the below code

    &#xA;

    `

    &#xA;

        public static void RunFfmpeg()&#xA;    {&#xA;        &#xA;        //-framerate 20 -f rawvideo -pix_fmt rgb32 -video_size 1920x1080&#xA;        var inputArgs = "-i -";&#xA;        var outputArgs = "-ss 00:00 -t 20 -vf fps=5  $filename%03d.bmp";&#xA;&#xA;        var process = new Process&#xA;        {&#xA;            StartInfo =&#xA;            {&#xA;                FileName = "ffmpeg",&#xA;                Arguments = $"{inputArgs} {outputArgs}",&#xA;                UseShellExecute = false,&#xA;                //CreateNoWindow = true,&#xA;                RedirectStandardInput = true,&#xA;                RedirectStandardOutput = true,&#xA;                WorkingDirectory = @"d:\ffmpegout"&#xA;            }&#xA;        };&#xA;&#xA;        process.Start();&#xA;&#xA;        var ffmpegIn = process.StandardInput.BaseStream;&#xA;&#xA;        using (Stream contents = File.OpenRead("C:\\Desktop\\Videos\\B.mp4"))&#xA;        {&#xA;            contents.CopyTo(ffmpegIn);&#xA;        }&#xA;&#xA;        // After you are done&#xA;        ffmpegIn.Flush();&#xA;        ffmpegIn.Close();&#xA;&#xA;        // Make sure ffmpeg has finished the work&#xA;        process.WaitForExit();&#xA;    }`&#xA;

    &#xA;

    I am getting the below error

    &#xA;

    ffmpeg version 2023-07-16-git-c541ecf0dc-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers&#xA;built with gcc 12.2.0 (Rev10, 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-libzvbi —enable-librav1e —enable-libsvtav1 —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxavs2 —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-ffnvcodec —enable-nvdec —enable-nvenc —enable-d3d11va —enable-dxva2 —enable-libvpl —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 58. 14.100 / 58. 14.100&#xA;libavcodec 60. 22.100 / 60. 22.100&#xA;libavformat 60. 10.100 / 60. 10.100&#xA;libavdevice 60. 2.101 / 60. 2.101&#xA;libavfilter 9. 8.102 / 9. 8.102&#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;[mov,mp4,m4a,3gp,3g2,mj2 @ 00000266a80179c0] Could not find codec parameters for stream 0 (Video : h264 (avc1 / 0x31637661), none(tv, bt709), 1280x720, 4023 kb/s) : unspecified pixel format&#xA;Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'fd :' :&#xA;Metadata :&#xA;major_brand : isom&#xA;minor_version : 512&#xA;compatible_brands : isomiso2avc1mp41&#xA;encoder : Lavf58.76.100&#xA;Duration : 00:00:21.22, start : 0.000000, bitrate : N/A&#xA;Stream #0:00x1 : Video : h264 (avc1 / 0x31637661), none(tv, bt709), 1280x720, 4023 kb/s, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 30k tbn (default)&#xA;Metadata :&#xA;handler_name : VideoHandler&#xA;vendor_id : [0][0][0][0]&#xA;Stream mapping :&#xA;Stream #0:0 -> #0:0 (h264 (native) -> bmp (native))&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 00000266a80179c0] stream 0, offset 0xbb3a : partial file&#xA;Cannot determine format of input stream 0:0 after EOF&#xA;Error marking filters as finished&#xA;Conversion failed !

    &#xA;

    I did check the metadata of the video is present in the start of the file before the mdat box.

    &#xA;

    Looking to get some help to resolve this issue.

    &#xA;