Recherche avancée

Médias (1)

Mot : - Tags -/epub

Autres articles (40)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

  • Sélection de projets utilisant MediaSPIP

    29 avril 2011, par

    Les exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
    Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
    Ferme MediaSPIP @ Infini
    L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (5037)

  • 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.

    


    Here's what I've written :

    


    if message.content == "!join":
    await message.author.voice.channel.connect()
    await message.channel.send("Successfully connected")

if message.content == "!play":
    if message.guild.voice_client is None: 
        await message.channel.send("use !join")
        return
    
    await message.channel.send("playing a song rn")
    print('*** playing a song rn')
    
    message.guild.voice_client.play(discord.FFmpegPCMAudio('lofi.mp3'))


    


    I put FFmpeg.exe and lofi.mp3 in the same directory as this script.
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.

    


    Here's the output on console after using !join

    


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


    


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

    


    *** playing a song rn


    


    Can someone help me with this ?

    


  • React-Native FFmpeg-kit VideoCompress command not working

    6 septembre 2024, par Brian

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

    


    And I want to encode H264 to HEVC.
But the Videotoolbox in ios not working

    


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

    


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


    


    But I got the error follwed like this

    


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


    


    How can I fix this error ?

    


    I read the
stack overflow

    


      

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


    


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

    


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

    


  • 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