Recherche avancée

Médias (91)

Autres articles (56)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • 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

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

Sur d’autres sites (6144)

  • Download m3u8 video from a webpage

    26 août 2024, par Ogiwara Sayu

    I want to download a video from a webpage. I found the m3u8 file and got the link, using them in FFmpeg, finally got something wrong.

    


    Here is the capture of the beginning of the m3u8 file.

    


    #EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:13
#EXTINF:10.080000,
https://ddcdn.jd.com/ddimg/jfs/t1/203028/24/17499/1876858/61a85ec0Ef32e255f/289bf6dd94343ed0.bmp
#EXTINF:10.000000,
https://ddcdn.jd.com/ddimg/jfs/t1/140366/35/22093/1147042/61a85ec0E850c8c8e/30b8a5e3032486ea.bmp
#EXTINF:10.000000,
https://ddcdn.jd.com/ddimg/jfs/t1/213475/10/6333/1554250/61a85ec0Ecc4703c3/39107a4d803fc188.bmp
#EXTINF:8.040000,
https://ddcdn.jd.com/ddimg/jfs/t1/205672/5/17259/1669682/61a85ec0Eff60ae58/fca014f8ef9bdcdc.bmp
#EXTINF:10.000000,
https://ddcdn.jd.com/ddimg/jfs/t1/217728/38/6334/1906374/61a85ec0Eeaf23ef5/d9ec645ad064f527.bmp


    


    Here is what I input and output in the cmd.

    


    Input

ffmpeg -i "https://hls.kmzhiqing.com/hls/m3u8/1452590c00595055de5750d1595519554f525372617d0d4061.m3u8" 1.mp4


    


    Output

ffmpeg version N-100036-g3de3d2f5e2 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 9.3-win32 (GCC) 20200320
  configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --enable-shared --disable-static --disable-debug --disable-w32threads --enable-pthreads --enable-iconv --enable-zlib --enable-libxml2 --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-opencl --enable-libvmaf --enable-vulkan --enable-libvorbis --enable-amf --enable-libaom --enable-avisynth --enable-libdav1d --enable-libdavs2 --enable-ffnvcodec --enable-cuda-llvm --enable-libglslang --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvpx --enable-libwebp --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-libvidstab --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-libs=-lgomp
  libavutil      56. 60.100 / 56. 60.100
  libavcodec     58.113.100 / 58.113.100
  libavformat    58. 64.100 / 58. 64.100
  libavdevice    58. 11.103 / 58. 11.103
  libavfilter     7. 90.100 /  7. 90.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
[hls @ 000001d87d857740] Skip ('#EXT-X-VERSION:3')
[hls @ 000001d87d857740] Skip ('#EXT-X-ALLOW-CACHE:YES')
[hls @ 000001d87d857740] Opening 'https://ddcdn.jd.com/ddimg/jfs/t1/203028/24/17499/1876858/61a85ec0Ef32e255f/289bf6dd94343ed0.bmp' for reading
[hls @ 000001d87d857740] Opening 'https://ddcdn.jd.com/ddimg/jfs/t1/140366/35/22093/1147042/61a85ec0E850c8c8e/30b8a5e3032486ea.bmp' for reading
[hls @ 000001d87d857740] Could not find codec parameters for stream 0 (Video: bmp, none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, hls, from 'https://hls.kmzhiqing.com/hls/m3u8/1452590c00595055de5750d1595519554f525372617d0d4061.m3u8':
  Duration: 00:24:24.60, bitrate: N/A
  Program 0
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Video: bmp, none, 25 tbr, 25 tbn, 25 tbc
    Metadata:
      variant_bitrate : 0
Output #0, mp4, to '1.mp4':
Output file #0 does not contain any stream


    


    I found that the the link in the m3u8 file is a bmp file instead of mp4.

    


    Does it matter ????
Can anyone tell me how to download the mp4 video file ?

    


    Thank you for reading this !

    


  • ffmpeg video download shows errors in log

    15 juin 2022, par PeterM

    i'm trying to download media (video) files from sharepoint (i have view access), but during the process i get several "Connection to tcp ://xxx.xxxxx.ms:443 failed : Error number -138 occurred" or "HTTP error 503 Service Unavailable" errors (see following screenshots : tcp error HTTP error 503 )

    


    i get more errors with the following parameters :

    


    ffmpeg -i "https://theURLtoTheManifestYouCopiedHere" -codec copy downloadedVideo.mp4


    


    less errors with :

    


    ffmpeg -re -vsync 1 -i "https://theURLtoTheManifestYouCopiedHere" -codec copy downloadedVideo.mp4


    


    the options suggested in this article didn't help : https://medium.com/intrasonics/robust-continuous-audio-recording-c1948895bb49

    


    the output video is ok, but sound seems to be missing occasionally (a few seconds worth)

    


    ffmpeg version used is 2022-06-12-git-4d45f5acbd-essentials_build-www.gyan.dev (executable for windows)

    


    any advice ?

    


  • I download audio files but in m3u8 format. How to convert to mp3 ?

    26 mai 2022, par Александр Кузнецов

    I download audio files but in m3u8 format. How to convert to mp3 ? tried with ffmpeg. But nothing is downloading at the output, and only some strange characters are visible in the console.

    


    def vk_music_get(login,password):

    vk_session = vk_api.VkApi(login=login, password=password)
    vk_session.auth(token_only=False)
    vk_session.get_api()
    vk_aud = vk_api.audio.VkAudio(vk_session)
    for i in vk_aud.get():
        print(i)
        music_name = i['artist']
        urllib.request.urlretrieve(i['url'], f'\\Users\\AlexK\\PycharmProjects\\MyArchive\\music_vk\\{music_name}.m3u8  ')
    print('VK Download Success! ^_^')


    


    When I try ffmpeg, I get these characters

    


    enter image description here