Recherche avancée

Médias (91)

Autres articles (56)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • 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

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

Sur d’autres sites (6419)

  • avformat/iamf_parse : reject ambisonics mode > 1

    29 novembre 2024, par Michael Niedermayer
    avformat/iamf_parse : reject ambisonics mode > 1
    

    ambisonics mode > 1 does not initialize any layer but layer 0
    is unconditionally dereferenced

    Fixes : poc-2024-11
    Fixes : null pointer dereference
    Found-by : 苏童 <220235212@seu.edu.cn>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/iamf_parse.c
  • React-Native FFmpeg-kit VideoCompress command not working

    6 septembre 2024, par Brian

    I'm Using FFmpeg-kit's React-Native Kit

    &#xA;

    And I want to encode H264 to HEVC.&#xA;But the Videotoolbox in ios not working

    &#xA;

    I use "ffmpeg-kit-react-native" : "^6.0.2"&#xA;And here is my Code

    &#xA;

            // hevc_videotoolbox&#xA;        await FFmpegKit.execute(`-i ${videoUri} -c:v hevc_videotoolbox  -c:a aac -tag:v hvc1 -movflags &#x2B;faststart -y ${outputUri}`);&#xA;      } else {&#xA;        await FFmpegKit.execute(`-i ${videoUri} -c:v hevc_omx -c:a aac -tag:v hvc1 -movflags &#x2B;faststart -y ${outputUri}`);&#xA;      }&#xA;

    &#xA;

    But I got the error follwed like this

    &#xA;

     LOG    libavutil      58.  2.100 / 58.  2.100&#xA; LOG    libavcodec     60.  3.100 / 60.  3.100&#xA; LOG    libavformat    60.  3.100 / 60.  3.100&#xA; LOG    libavdevice    60.  1.100 / 60.  1.100&#xA; LOG    libavfilter     9.  3.100 /  9.  3.100&#xA; LOG    libswscale      7.  1.100 /  7.  1.100&#xA; LOG    libswresample   4. 10.100 /  4. 10.100&#xA; LOG  Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#xA; LOG    Metadata:&#xA; LOG      major_brand     :&#xA; LOG  mp42&#xA; LOG  &#xA; LOG      minor_version   :&#xA; LOG  1&#xA; LOG  &#xA; LOG      compatible_brands:&#xA; LOG  isommp41mp42&#xA; LOG  &#xA; LOG      creation_time   :&#xA; LOG  2024-08-29T02:42:24.000000Z&#xA; LOG  &#xA; LOG    Duration:&#xA; LOG  00:00:23.10&#xA; LOG  , start:&#xA; LOG  0.000000&#xA; LOG  , bitrate:&#xA; LOG  1223 kb/s&#xA; LOG  &#xA; LOG    Stream #0:0&#xA; LOG  [0x1]&#xA; LOG  (und)&#xA; LOG  : Video: h264 (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 640x360 [SAR 1:1 DAR 16:9], 1220 kb/s&#xA; LOG  ,&#xA; LOG  30 fps,&#xA; LOG  30 tbr,&#xA; LOG  600 tbn&#xA; LOG   (default)&#xA; LOG  &#xA; LOG      Metadata:&#xA; LOG        creation_time   :&#xA; LOG  2024-08-29T02:42:24.000000Z&#xA; LOG  &#xA; LOG        handler_name    :&#xA; LOG  Core Media Video&#xA; LOG  &#xA; LOG        vendor_id       :&#xA; LOG  [0][0][0][0]&#xA; LOG  &#xA; LOG  Stream mapping:&#xA; LOG    Stream #0:0 -> #0:0&#xA; LOG   (h264 (native) -> hevc (hevc_videotoolbox))&#xA; LOG  &#xA; LOG  Press [q] to stop, [?] for help&#xA; LOG  [hevc_videotoolbox @ 0x11af89120] Error encoding frame: -12905&#xA; LOG  [hevc_videotoolbox @ 0x11af89120] popping: -542398533&#xA; LOG  [vost#0:0/hevc_videotoolbox @ 0x11af88e50] Error initializing output stream: Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height&#xA; LOG  Conversion failed!&#xA;

    &#xA;

    How can I fix this error ?

    &#xA;

    I read the&#xA;stack overflow

    &#xA;

      &#xA;
    1. Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
    2. &#xA;

    &#xA;

    2.https://stackoverflow.com/questions/77734601/react-native-ffmpeg-producing-unplayable-hevc-videos-that-still-have-audio

    &#xA;

    But that links doesn't work for me&#xA;I want to compress video's compressing with react-native on ios and android for reducing server cost

    &#xA;

  • I cannot play a mp3 file on Discord's voice channel using discord.py

    1er décembre 2024, par ra1ned

    I am creating a discord bot that plays lofi for me. It does not play a song for me even though it shows a green indicator on a voice channel.

    &#xA;

    Here's what I've written :

    &#xA;

    if message.content == "!join":&#xA;    await message.author.voice.channel.connect()&#xA;    await message.channel.send("Successfully connected")&#xA;&#xA;if message.content == "!play":&#xA;    if message.guild.voice_client is None: &#xA;        await message.channel.send("use !join")&#xA;        return&#xA;    &#xA;    await message.channel.send("playing a song rn")&#xA;    print(&#x27;*** playing a song rn&#x27;)&#xA;    &#xA;    message.guild.voice_client.play(discord.FFmpegPCMAudio(&#x27;lofi.mp3&#x27;))&#xA;

    &#xA;

    I put FFmpeg.exe and lofi.mp3 in the same directory as this script.&#xA;Also, it is strange that FFmpeg does not return any exception nor output on console although it seems to have failed to load the file. I have seen people who had the same problem, but it seems like that they get some error messages, unlike me.

    &#xA;

    Here's the output on console after using !join

    &#xA;

    2024-12-01 16:59:39 INFO     discord.voice_state Connecting to voice...&#xA;2024-12-01 16:59:39 INFO     discord.voice_state Starting voice handshake... (connection attempt 1)&#xA;2024-12-01 16:59:40 INFO     discord.voice_state Voice handshake complete. Endpoint found: japan8946.discord.media&#xA;2024-12-01 16:59:40 INFO     discord.voice_state Voice connection complete.&#xA;

    &#xA;

    after using !play, it only displays the message I wrote :

    &#xA;

    *** playing a song rn&#xA;

    &#xA;

    Can someone help me with this ?

    &#xA;