Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

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/vvc : Prevent overflow in chroma QP derivation

    9 juin 2024, par Frank Plowman
    lavc/vvc : Prevent overflow in chroma QP derivation
    

    On the top of p. 112 in VVC (09/2023) :

    It is a requirement of bitstream conformance that the values of
    qpInVal[ i ][ j ] and qpOutVal[ i ][ j ] shall be in the range
    of −QpBdOffset to 63, inclusive for i in the range of 0 to
    numQpTables − 1, inclusive, and j in the range of 0 to
    sps_num_points_in_qp_table_minus1[ i ] + 1, inclusive.

    Additionally, don't discard the return code from sps_chroma_qp_table.

    Signed-off-by : Frank Plowman <post@frankplowman.com>

    • [DH] libavcodec/vvc/ps.c
  • Video Encoded using FFmpeg is not being played in Azure Kinect Viewer

    4 octobre 2023, par Ashutosh Singla

    I captured a video using a Kinect Azure SDK device and extracted the RGB (Color) track using MKVToolNIX. I could playback this RGB track using Azure Kinect Viewer (v.1.4.1). However, when I encode a video using FFmpeg, the command is given below. I can not playback the video using Azure Kinect Viewer. I get a message :

    &#xA;

    &#xA;

    Failed to open Recording

    &#xA;

    &#xA;

    ffmpeg -i .\RGB.mkv -c:v libx264 -preset veryfast -crf 18 -c:a aac -b:a 128k RGG_Enc.mkv&#xA;

    &#xA;

    I tried with different codecs (H.264, H.265, VP9, VP10, MJPEG) and different settings, but could not play the video in Azure Kinect Viewer. Can someone suggest to me what to do ?

    &#xA;

    Here is the output of the FFprobe for the original video.

    &#xA;

      C:\Users\Ashutosh\Desktop\RGB_Encoding> ffprobe -i .\RGB.mkv&#xA;  ffprobe version 6.0-full_build-www.gyan.dev Copyright (c) 2007- &#xA; 2023 the FFmpeg developers&#xA; built with gcc 12.2.0 (Rev10, Built by MSYS2 project)&#xA; configuration: --enable-gpl --enable-version3 --enable-static -- &#xA; disable-w32threads --disable-autodetect --enable-fontconfig -- &#xA; enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp -- &#xA; enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib -- &#xA; enable-librist --enable-libsrt --enable-libssh --enable-libzmq -- &#xA; enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 &#xA; --enable-libaribb24 --enable-libdav1d --enable-libdavs2 --enable- &#xA; libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 -- &#xA; enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 &#xA; --enable-libxvid --enable-libaom --enable-libjxl --enable- &#xA; libopenjpeg --enable-libvpx --enable-mediafoundation --enable- &#xA; libass --enable-frei0r --enable-libfreetype --enable-libfribidi -- &#xA; enable-liblensfun --enable-libvidstab --enable-libvmaf --enable- &#xA; libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable- &#xA; ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable- &#xA; dxva2 --enable-libvpl --enable-libshaderc --enable-vulkan -- &#xA; enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme &#xA; --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb &#xA; --enable-libmp3lame --enable-libshine --enable-libtheora --enable- &#xA; libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable- &#xA; libgsm --enable-libopencore-amrnb --enable-libopus --enable- &#xA; libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b -- &#xA; enable-libflite --enable-libmysofa --enable-librubberband -- &#xA; enable-libsoxr --enable-chromaprint&#xA;&#xA; libavutil      58.  2.100 / 58.  2.100&#xA; libavcodec     60.  3.100 / 60.  3.100&#xA; libavformat    60.  3.100 / 60.  3.100&#xA; libavdevice    60.  1.100 / 60.  1.100&#xA; libavfilter     9.  3.100 /  9.  3.100&#xA; libswscale      7.  1.100 /  7.  1.100&#xA; libswresample   4. 10.100 /  4. 10.100&#xA; libpostproc    57.  1.100 / 57.  1.100&#xA;&#xA; [matroska,webm @ 0000018ef5f4e240] Could not find codec parameters &#xA; for stream 1 (Attachment: none): unknown codec&#xA; Consider increasing the value for the &#x27;analyzeduration&#x27; (0) and &#xA; &#x27;probesize&#x27; (5000000) options&#xA;&#xA; Input #0, matroska,webm, from &#x27;.\RGB.mkv&#x27;:&#xA; Metadata:&#xA; title           : Azure Kinect&#xA; encoder         : libebml v1.4.4 &#x2B; libmatroska v1.7.1&#xA; creation_time   : 2023-08-04T11:52:43.000000Z&#xA; Duration: 00:00:40.03, start: 0.033000, bitrate: 126708 kb/s&#xA; Stream #0:0(eng): Video: mjpeg (Baseline) (MJPG / 0x47504A4D), &#xA; yuvj422p(pc, bt470bg/unknown/unknown), 2048x1536, SAR 1:1 DAR 4:3, &#xA; 30 fps, 30 tbr, 1k tbn (default)&#xA; &#xA; Metadata:&#xA; title           : COLOR&#xA;  BPS             : 126696930&#xA;  DURATION        : 00:00:40.029000000&#xA;  NUMBER_OF_FRAMES: 1201&#xA;  NUMBER_OF_BYTES : 633943931&#xA;  _STATISTICS_WRITING_APP: mkvmerge v76.0 (&#x27;Celebration&#x27;) 64-bit&#xA;  _STATISTICS_WRITING_DATE_UTC: 2023-08-04 11:52:43&#xA;  _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES&#xA;&#xA;Stream #0:1: Attachment: none&#xA;Metadata:&#xA;  filename        : calibration.json&#xA;  mimetype        : application/octet-stream&#xA; Unsupported codec with id 0 for input stream 1&#xA;&#xA;     &#xA;

    &#xA;

    This example video contains only one channel (RGB) from the original video. I am able to play this video using Azure Kinect Viewer.

    &#xA;

  • Command raised an exception : NameError : name 'player' is not defined

    20 mars 2023, par baartys

    I finally got myself a hosting for my project, but got into an error and I don't know how to resolve it.&#xA;I ran command !play to start streaming in vc, but I got this error :

    &#xA;

    2023-03-19 18:36:04 INFO     discord.client logging in using static token&#xA;2023-03-19 18:36:04 INFO     discord.gateway Shard ID None has connected to Gateway (Session ID: f983009c9f2881b87ee119278692efc9).&#xA;Eurobeat Radio is running!&#xA;2023-03-19 18:36:10 ERROR    discord.ext.commands.bot Ignoring exception in command play&#xA;Traceback (most recent call last):&#xA;  File "/home/container/.local/lib/python3.10/site-packages/discord/ext/commands/core.py", line 229, in wrapped&#xA;    ret = await coro(*args, **kwargs)&#xA;  File "/home/container/radio.py", line 44, in play&#xA;    player.play(FFmpegPCMAudio(&#x27;http://stream.eurobeat.xyz&#x27;))&#xA;NameError: name &#x27;player&#x27; is not defined&#xA;The above exception was the direct cause of the following exception:&#xA;Traceback (most recent call last):&#xA;  File "/home/container/.local/lib/python3.10/site-packages/discord/ext/commands/bot.py", line 1350, in invoke&#xA;    await ctx.command.invoke(ctx)&#xA;  File "/home/container/.local/lib/python3.10/site-packages/discord/ext/commands/core.py", line 1023, in invoke&#xA;    await injected(*ctx.args, **ctx.kwargs)  # type: ignore&#xA;  File "/home/container/.local/lib/python3.10/site-packages/discord/ext/commands/core.py", line 238, in wrapped&#xA;    raise CommandInvokeError(exc) from exc&#xA;discord.ext.commands.errors.CommandInvokeError: Command raised an exception: NameError: name &#x27;player&#x27; is not defined&#xA;

    &#xA;

    I tried running it on my pc and that was without error, but once it was on the hosting it ran in to the error up the page.

    &#xA;

    Here is the code :

    &#xA;

    import discord&#xA;import urllib.request, json &#xA;from discord import FFmpegPCMAudio&#xA;from discord.ext import commands&#xA;from discord.ext import tasks&#xA;client= commands.Bot(command_prefix="er!", intents=discord.Intents.all(), help_command=None)&#xA;&#xA;@tasks.loop(seconds=10.0)&#xA;async def my_background_task():&#xA;    """Will loop every 60 seconds and change the bots presence"""&#xA;    with urllib.request.urlopen(&#x27;https://api.laut.fm/station/eurobeat/current_song&#x27;) as url:&#xA;        data = json.load(url)&#xA;        global namestatus&#xA;        global artiststatus&#xA;        namestatus = data[&#x27;title&#x27;]&#xA;        artiststatus = data[&#x27;artist&#x27;][&#x27;name&#x27;]&#xA;    await client.change_presence(activity=discord.Activity(type=discord.ActivityType.listening, name="Eurobeat FM"))&#xA;    await client.change_presence(activity=discord.Game(name="Para para dancing ~"))&#xA;    await client.change_presence(activity=discord.Activity(type=discord.ActivityType.listening, name=f"{namestatus} by {artiststatus}"))&#xA;&#xA;&#xA;@client.event&#xA;async def on_ready():&#xA;    print(&#x27;Eurobeat Radio is running!&#x27;)&#xA;    await client.wait_until_ready()&#xA;    my_background_task.start()&#xA;&#xA;&#xA;@client.event&#xA;async def on_voice_state_update(member, prev, cur):&#xA;    if client.user in prev.channel.members and len([m for m in prev.channel.members if not m.bot]) == 0:&#xA;        channel = discord.utils.get(client.voice_clients, channel=prev.channel)&#xA;        await channel.disconnect()&#xA;&#xA;@client.command(aliases=[&#x27;p&#x27;, &#x27;pla&#x27;, &#x27;join&#x27;, &#x27;j&#x27;])&#xA;async def play(ctx, url: str = &#x27;http://stream.eurobeat.xyz&#x27;): &#xA;    channel = ctx.message.author.voice.channel&#xA;    global player&#xA;    try:&#xA;        player = await channel.connect()&#xA;    except:&#xA;        pass&#xA;    player.play(FFmpegPCMAudio(&#x27;http://stream.eurobeat.xyz&#x27;))&#xA;    embedVar = discord.Embed(title="Started Playing!", color=discord.Color.random())&#xA;    await ctx.send(embed=embedVar)&#xA;

    &#xA;

    Would be very grateful for your help !

    &#xA;