Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (23)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

Sur d’autres sites (4864)

  • lavc/qsvenc_hevc : restore the default gop size

    11 août 2023, par Haihao Xiang
    lavc/qsvenc_hevc : restore the default gop size
    

    commit a3c0a3e changed the default settings and expected the runtime can
    choose a best value. However the runtime doesn't set a valid gop size
    for hevc encoder, hence the output steam is non-seekable, which is
    inconvenient to user [1][2]

    [1] https://github.com/intel/media-driver/issues/1576
    [2] https://ffmpeg.org/pipermail/ffmpeg-user/2023-August/056716.html

    Signed-off-by : Haihao Xiang <haihao.xiang@intel.com>

    • [DH] libavcodec/qsvenc_hevc.c
  • ffmpeg - store desired output to python variable

    15 janvier 2024, par Chris P

    If i run : ffmpeg -list_devices true -f dshow -i dummy i get :

    &#xA;

    ffmpeg version 2023-01-30-git-2d202985b7-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-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-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-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      57. 44.100 / 57. 44.100&#xA;  libavcodec     59. 59.100 / 59. 59.100&#xA;  libavformat    59. 36.100 / 59. 36.100&#xA;  libavdevice    59.  8.101 / 59.  8.101&#xA;  libavfilter     8. 56.100 /  8. 56.100&#xA;  libswscale      6.  8.112 /  6.  8.112&#xA;  libswresample   4.  9.100 /  4.  9.100&#xA;  libpostproc    56.  7.100 / 56.  7.100&#xA;[dshow @ 00000236357d0480] "HP True Vision HD Camera" (video)&#xA;[dshow @ 00000236357d0480]   Alternative name "@device_pnp_\\?\usb#vid_04f2&amp;pid_b6ab&amp;mi_00#6&amp;763f234&amp;2&amp;0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global"&#xA;[dshow @ 00000236357d0480] "Microphone Array (Intel&#xAE; Smart Sound Technology for Digital Microphones)" (audio)&#xA;[dshow @ 00000236357d0480]   Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\wave_{E8824DE9-F848-47F1-BB2A-EB24E11050FC}"&#xA;dummy: Immediate exit requested&#xA;

    &#xA;

    From this output i want to store : "HP True Vision HD Camera" (first video output) in a python variable.

    &#xA;

    Is this possible ?

    &#xA;

    I am trying

    &#xA;

    import subprocess&#xA;ffmpeg_command = ["ffmpeg", "-list_devices", "true","-f", "dshow", "-i", "dummy"]&#xA;pipe = subprocess.run(ffmpeg_command,stdout=subprocess.PIPE,stderr=subprocess.PIPE,bufsize=10**8)&#xA;output = pipe.stdout&#xA;lines = output.splitlines()&#xA;for line in lines:&#xA;    if line.startswith("[dshow @"):&#xA;        if "(video)" in line:&#xA;            camera_info = line.split("\"")[1]&#xA;            print(camera_info)&#xA;

    &#xA;

  • M3u8 with either video or audio

    21 février 2023, par undercash

    I m facing an issue with this link that I can't seem to resolve.

    &#xA;

    The m3u8 display either the video track or the audio track, but never both, though they exist.

    &#xA;

    ffmpeg -re -i https://origin2-6play.live.6cloud.fr/pool_u81ytesz/w9/sixplayhde/hls_short_enc_w9/NA/aHEUMcx/index.m3u8&#xA;ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers&#xA;built with gcc 9 (Ubuntu 9.3.0-17ubuntu1\~20.04)&#xA;configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfdk_aac --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libvpx --enable-librtmp --enable-libass --enable-libfreetype --extra-libs=-ldl --enable-openssl&#xA;libavutil      56. 51.100 / 56. 51.100&#xA;libavcodec     58. 91.100 / 58. 91.100&#xA;libavformat    58. 45.100 / 58. 45.100&#xA;libavdevice    58. 10.100 / 58. 10.100&#xA;libavfilter     7. 85.100 /  7. 85.100&#xA;libswscale      5.  7.100 /  5.  7.100&#xA;libswresample   3.  7.100 /  3.  7.100&#xA;libpostproc    55.  7.100 / 55.  7.100&#xA;\[hls @ 0x562ecf699b40\] Skip (&#x27;#EXT-X-VERSION:7&#x27;)&#xA;\[hls @ 0x562ecf699b40\] Skip (&#x27;## Just In Time Delivered by Quortex Solution&#x27;)&#xA;\[hls @ 0x562ecf699b40\] Skip (&#x27;#EXT-X-DISCONTINUITY-SEQUENCE:0&#x27;)&#xA;\[hls @ 0x562ecf699b40\] Skip (&#x27;#EXT-X-PROGRAM-DATE-TIME:2023-02-21T10:14:12.480000Z&#x27;)&#xA;\[hls @ 0x562ecf699b40\] Opening &#x27;https://url/segment_6246422.ts&#x27; for reading&#xA;Input #0, hls, from &#x27;https://url/index.m3u8&#x27;:&#xA;Duration: N/A, start: 92548.466311, bitrate: N/A&#xA;Program 0&#xA;Metadata:&#xA;variant_bitrate : 0&#xA;Stream #0:0: Audio: aac (LC) (\[15\]\[0\]\[0\]\[0\] / 0x000F), 48000 Hz, stereo, fltp&#xA;Metadata:&#xA;variant_bitrate : 0&#xA;&#xA;ffmpeg -i url.m3u8&#xA;ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers&#xA;built with gcc 9 (Ubuntu 9.3.0-17ubuntu1\~20.04)&#xA;configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfdk_aac --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libvpx --enable-librtmp --enable-libass --enable-libfreetype --extra-libs=-ldl --enable-openssl&#xA;libavutil      56. 51.100 / 56. 51.100&#xA;libavcodec     58. 91.100 / 58. 91.100&#xA;libavformat    58. 45.100 / 58. 45.100&#xA;libavdevice    58. 10.100 / 58. 10.100&#xA;libavfilter     7. 85.100 /  7. 85.100&#xA;libswscale      5.  7.100 /  5.  7.100&#xA;libswresample   3.  7.100 /  3.  7.100&#xA;libpostproc    55.  7.100 / 55.  7.100&#xA;\[hls @ 0x55806439cc00\] Skip (&#x27;#EXT-X-VERSION:7&#x27;)&#xA;\[hls @ 0x55806439cc00\] Skip (&#x27;## Just In Time Delivered by Quortex Solution&#x27;)&#xA;\[hls @ 0x55806439cc00\] Skip (&#x27;#EXT-X-DISCONTINUITY-SEQUENCE:0&#x27;)&#xA;\[hls @ 0x55806439cc00\] Skip (&#x27;#EXT-X-PROGRAM-DATE-TIME:2023-02-21T10:14:00.960000Z&#x27;)&#xA;\[hls @ 0x55806439cc00\] Opening &#x27;url/segment_6246419.ts&#x27; for reading&#xA;\[hls @ 0x55806439cc00\] Opening &#x27;url.ts&#x27; for reading&#xA;Input #0, hls, from &#x27;url/index.m3u8&#x27;:&#xA;Duration: N/A, start: 92536.988978, bitrate: N/A&#xA;Program 0&#xA;Metadata:&#xA;variant_bitrate : 0&#xA;Stream #0:0: Video: h264 (High) (\[27\]\[0\]\[0\]\[0\] / 0x001B), yuv420p, 1280x720 \[SAR 1:1 DAR 16:9\], 25 fps, 25 tbr, 90k tbn, 50 tbc&#xA;Metadata:&#xA;variant_bitrate : 0\&#xA;

    &#xA;

    I put the same command on 2 different shells and on one I get the audio track, or the video one on the other..

    &#xA;

    Question : Since I have seen a site properly using this link (I had audio and video on the player) how can I use ffmpeg (or any other program ) to grab both input and output them in a single file ?

    &#xA;

    I tried to use -analyzeduration 1000M -probesize 1000M in ffmpeg parameters but it doesn't help

    &#xA;