Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (38)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • 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

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (6801)

  • 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