Recherche avancée

Médias (1)

Mot : - Tags -/publicité

Autres articles (52)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (6412)

  • lavu/version : fix minor version

    17 mai 2024, par Haihao Xiang
    lavu/version : fix minor version
    

    The latest version should be 59.18.100 since commit 01c5f4ad

    $ git diff 01c5f4ad 1..HEAD doc/APIchanges
    ...
    +200-¸05-10 - xxxxxxxxx - lavu 59.18.100 - cpu.h
    + Add AV_CPU_FLAG_RV_ZVBB.
    +

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

    • [DH] libavutil/version.h
  • Python pydub issue : Can't repoen a wav file after it as been reencoded by ffpeg [Silved]

    28 avril 2024, par Trent Tompkins

    Solved by Michael Butscher. Updated code is now in the repo in the fixed branch. Thanks !

    &#xA;

    I have a python script that reads in all the *.wav files in a directory and saves them in a folder called output after it adjusts their volume.

    &#xA;

    lower.py :

    &#xA;

    import os&#xA;from pydub import AudioSegment as ass&#xA;&#xA;# get the current working directory&#xA;current_working_directory = os.getcwd()&#xA;all_files = os.listdir();&#xA;&#xA; &#xA;&#xA;&#xA;while len(all_files) > 0:&#xA;    file = all_files.pop()&#xA;    song = ass.from_wav(file)&#xA;    song = song - 16&#xA;    song.export(&#x27;out\\&#x27;&#x2B;file)&#xA;&#xA;

    &#xA;

    https://github.com/tibberous/ChangeWavVolume/tree/fixed

    &#xA;

    The problem is (and this took me a LONG time to figure out), after the files are output once, if you try to read them again with AudioSegment ::from_wav(file), ffmpeg throws an error saying it can't decode the file. The output wav files play in Windows Media Player, and even have their audio adjusted, but I am guessing there somehow an error either in the file data itself or the file headers.

    &#xA;

    I put the code on github. Checkout the branch 'fixed'.

    &#xA;

    Btw, I just installed everything, so I should have the current versions of everything. I am using the Chocolatey package manager for Windows 10. Read README.txt (in progress) to see how I setup my dev environment.

    &#xA;

    &#xD;&#xA;
    &#xD;&#xA;
    Python 3.12.2&#xA;Chocolatey v2.2.2&#xA;C:\Users\moren>C:\ProgramData\chocolatey\bin\ffmpeg&#xA;ffmpeg version 7.0-essentials_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-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --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-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband&#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;Universal media converter

    &#xD;&#xA;

    &#xD;&#xA;

    &#xD;&#xA;&#xA;

    I opened the wav files the program generated with Media Player, VLC Media Player and Audacity, thinking they might throw an error, but the only thing that can't seem to read the exported wav files is the script that created them !

    &#xA;

  • Inappropriate ioctl for device in zoneminder - zmc_dvideo0

    9 juin 2024, par Adam

    I recently needed to rebuild my zoneminder local camera system, running on an RPi. I switched OS from Debian to Ubuntu and now I'm struggling to get video4linux to decode the video input. The result is either a black or green screen depending on the compression palette I select.

    &#xA;

    I'm using /dev/video0 as my input.

    &#xA;

    v4l2-ctl --list-devices&#xA;&#xA;unicam (platform:fe801000.csi):&#xA;        /dev/video0&#xA;        /dev/media3&#xA;

    &#xA;

    In the logs I'm getting :

    &#xA;

    zmc_dvideo0 10907   ERR Unable to query control: Inappropriate ioctl for device &#xA;

    &#xA;

    I don't understand the function of the /dev/media3 device, presumably created by the bcm2835-v4l2 module. This site suggests that /dev/video0 needs to extract the ioctl from or link in some way to /dev/media3. Perhaps a red herring.

    &#xA;

    If I select /dev/media3 as the source, I get :

    &#xA;

    : FAT [zmc_dmedia3] [Failed to query video device: Inappropriate ioctl for device]&#xA;: ERR [&#x27;zmc -d /dev/media3&#x27; exited abnormally, exit status 255]&#xA;

    &#xA;

    I'm using

    &#xA;

      &#xA;
    • PAL60 encoding
    • &#xA;

    • YUV422p compression
    • &#xA;

    • 1280 x 720 Capture Resolution
    • &#xA;

    &#xA;

    # lsb_release -a&#xA;No LSB modules are available.&#xA;Distributor ID: Ubuntu&#xA;Description:    Ubuntu 24.04 LTS&#xA;Release:        24.04&#xA;Codename:       noble&#xA;&#xA;# uname -a&#xA;Linux ubuntu 6.8.0-1005-raspi #5-Ubuntu SMP PREEMPT_DYNAMIC Wed May 22 15:01:35 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux&#xA;

    &#xA;

    Using ffmpeg from the cli, I get a similar output, resulting in a green display. This happens both with and without the hardware acceleration flag.

    &#xA;

    sudo -u www-data ffmpeg -f v4l2 -pix_fmt yuyv422 -framerate 30 -video_size 1280x720 -i /dev/video0 -codec:v h264_v4l2m2m video0_out.mp4&#xA;

    &#xA;

    I've set debug to 6 in the ZM options - Any clues on troublshooting steps I can take to further understand why the camera stream is not being shown and how to fix it ?

    &#xA;