
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (67)
-
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (4875)
-
MP3 file become silent when time changed in Firefox with audio API
14 décembre 2022, par Simon TrichereauI 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 morichhcode :


@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 Richteri 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.


- 

- 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




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



- the user is wrong.