Recherche avancée

Médias (1)

Mot : - Tags -/wave

Autres articles (81)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (12108)

  • MP3 file become silent when time changed in Firefox with audio API

    14 décembre 2022, par Simon Trichereau

    I have some problem but I need to give you some context :

    


    I have a production environment with large audio mp3 files. Everything is working perfectly but files are too heavy. I used ffmpeg to reduce their Bitrates from 320kbit/s to 190kbit/s to free space in my disk.

    


    My script worked well and I saved almost 50% of space, but before to put it in production I wanted to test it on pre-production and there is some problem with Firefox...

    


    When I play the audio everything is working good, if I listen to it normally everything is working BUT, when I click on the range to change the time and navigate into the audio, it becomes silent. Nothing happens, I can stop, start again, change the time, nothing works, but the audio is still playing...

    


    I don't have any errors in my console, nothing so the only solution is to reload the page and play again the audio without changing the time.

    


    I tried in chrome and it works like a charm, but in Firefox no. I also tried without any extensions and still the same...

    


    Do you have any idea what is happening ?

    


    Thanks a lot !

    


    --- EDIT 14/12/2022 ---

    


    Ok, I have tried a lot of different solutions and I finally found one, it seems firefox doesn't support VBR (variable bitrate) so I've compressed my file in CBR and it seems to finally work ...

    


  • discord.player ffmpeg process 12040 successfully terminated with return code of 1

    28 novembre 2024, par morichh

    code :

    


    @client.tree.command()
async def play(interaction: Interaction, url: str):
    global voice
    channel = interaction.user.voice.channel
    voice = get(client.voice_clients, Guild=interaction.guild)
    if voice and voice.is_connected():
        await voice.move_to(channel)
        await interaction.response.send_message(f"error")
    else:
        voice = await channel.connect()
        await interaction.response.send_message(f"joined")
    voice.play(discord.FFmpegPCMAudio(executable="C:/ffmpeg/bin/ffmpeg.exe", source = url))    


    


    error :

    


    2022-12-10 19:32:48 INFO     discord.voice_client Connecting to voice...
2022-12-10 19:32:48 INFO     discord.voice_client Starting voice handshake... (connection attempt 1)
2022-12-10 19:32:48 INFO     discord.voice_client Voice handshake complete. Endpoint found russia9326.discord.media
2022-12-10 19:32:50 INFO     discord.player ffmpeg process 12040 successfully terminated with return code of 1.


    


    initially there was an error that ffmpeg was not found, I downloaded it separately, indicated the path to it and now it's coming out like this

    


  • Why i get permission denied at docker ffmpeg execution

    24 octobre 2022, par Daniel Richter

    i want to make small gifs (miniclip) from a mp4 video using ffmpeg with php script in aws ecs.

    


    The whole configuration is working with the symfony built-in server. Now i put the controller into local docker and now i get the following permission denied error :

    


    ffmpeg version 5.0.1 Copyright (c) 2000-2022 the FFmpeg developers built with gcc 11.2.1 
(Alpine 11.2.1_git20220219) 20220219 configuration: --prefix=/usr --enable-avfilter -- 
enable-gnutls --enable-gpl --enable-libass --enable-libmp3lame --enable-libpulse -- 
enable-libvorbis --enable-libvpx --enable-libxvid --enable-libx264 --enable-libx265 -- 
enable-libtheora --enable-libv4l2 --enable-libdav1d --enable-lto --enable-postproc -- 
enable-pic --enable-pthreads --enable-shared --enable-libxcb --enable-librist --enable- 
libsrt --enable-libssh --enable-libvidstab --disable-stripping --disable-static -- 
disable-librtmp --enable-libaom --enable-libopus --enable-libsoxr --enable-libwebp -- 
enable-vaapi --enable-vdpau --enable-vulkan --enable-libdrm --disable-debug 
libavutil 57. 17.100 / 57. 17.100 
libavcodec 59. 18.100 / 59. 18.100 
libavformat 59. 16.100 / 59. 16.100 
libavdevice 59. 4.100 / 59. 4.100 
libavfilter 8. 24.100 / 8. 24.100 
libswscale 6. 4.100 / 6. 4.100 
libswresample 4. 3.100 / 4. 3.100 
libpostproc 56. 3.100 / 56. 3.100 
Input #0, mov,mp4,m4a,3gp,3g2,mj2, 
from 'https://vendery-streaming.fra1.cdn.digitaloceanspaces.com/myvideo.mp4': Metadata: major_brand : isom minor_version : 512 
compatible_brands: isomiso2avc1mp41 
encoder : Lavf58.24.101 Duration: 00:18:10.37, start: 0.000000, 
bitrate: 3405 kb/s Stream #0:0[0x1](und): 
Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 540x960, 3331 kb/s, 30 
fps, 30 tbr, 15360 tbn (default) Metadata: handler_name : VideoHandler vendor_id : [0][0][0][0] 
Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, 
fltp, 69 kb/s (default) 
Metadata: handler_name : 
SoundHandler vendor_id : [0][0][0][0] /var/www/html/public/myimage.gif: Permission denied


    


    What exactly tells me the error ? The folder /var/www/html/public/ exists but isnt writable ?

    


    The command from php i run the script is :

    


    $output = shell_exec('/usr/bin/ffmpeg -y -ss 255 -t 4 -i '.$url.' -vf "fps=10,scale=320:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 /var/www/html/public/'.$outputFile.' 2>&1');
echo $output;


    


    any idea is welcome.

    


      

    1. the user is wrong. shell_exec('whoami'); gives me www-data, but why ?? My dockerfile have the following in : RUN chown -R root:root /var/www/html/public
    2. 


    


    docker-compose.yaml

    


    symfony:
    mem_limit: 500M
    mem_reservation: 500M
    container_name: '${APP_NAME}-${APP_ENV}-backend'
    #environment:
        #- DATABASE_URL="mysql://${MYSQL_USER}:${MYSQL_PASS}@database/${MYSQL_DB}?serverVersion=mariadb-10.8.3"
    build:
        context: .
        target: symfony
    #restart: unless-stopped
    ports:
        - 8000:8000 #browser / container