
Recherche avancée
Médias (1)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (55)
-
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...) -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users. -
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)
Sur d’autres sites (4632)
-
Discord Music Bot interrupts music playback on Heroku
29 mars 2023, par denisnumbI have a music discord bot written in
Python
. Bot plays music from YouTube using theyt-dlp
library andffmpeg
.

Everything worked fine, but a couple of days ago the bot began to interrupt the playback of any tracks for
~80%
duration, crashing with an error :

[tls @ 0x6e3b440] Error in the pull function.
[tls @ 0x6e3b440] IO error: Connection reset by peer
[https @ 0x6e37900] Will reconnect at 720896 in 0 second(s), error=Connection reset by peer.



I have the latest version of
py-cord=2.4.1
andyt-dlp==2023.3.4
installed. When the bot is launched on my computer, the bot plays all the tracks to the end, so the problem is clearly not in the code and not in the libraries.

I suspect something is wrong with
ffmpeg
, so I tried installing different buildpacks, but that didn't solve the problem.

At the moment I have the following installed :


https://github.com/xrisk/heroku-opus.git
https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git



What could be the problem and how to solve it ? Why did this problem appear only on hosting ? Why didn't this happen before ?


-
webM files shows green and purple effects on mobile
11 octobre 2015, par Naveen GamageI have converted several
GIFs
towebM
files usingffmpeg
on my Ubuntu 14.04 server.Heres the code I used for conversation.
ffmpeg -i your_gif.gif -c:v libvpx -crf 12 -b:v 500K output.webm
source https://gist.github.com/ndarville/10010916
The problem is converted webM files shows perfectly fine on PCs but on my mobile it shows with green and purple shadows.
PC
Mobile
I tried changing
-crf
and-b:v
values to their max but nothing happens.webM file : http://d1pnsuxwa0it39.cloudfront.net/uploads/comments/webm/4673555.webm
edit :
also I can see webM files on some other sites fine. I think this has to do something with the way I convert files.
edit :
I have tried another code I found on stackoverflow but still the same.
ffmpeg -f gif -i infile.gif outfile.mp4
EDIT :
If anyone think this has something to do with the way I installed FFMPEG, I followed the steps on FFMPEG official docs.
https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
EDIT :
Input file :
http://d1pnsuxwa0it39.cloudfront.net/test/1.gif
Output file :
http://d1pnsuxwa0it39.cloudfront.net/test/output.webm
FFMPEG CLI output
/home/naveencg/bin/ffmpeg -i 1.gif -c:v libvpx -crf 12 -b:v 500K output.webm
ffmpeg version 2.5.git Copyright (c) 2000-2014 the FFmpeg developers
built on Dec 31 2014 14:37:15 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
configuration: --prefix=/home/naveencg/ffmpeg_build --extra-cflags=-I/home/naveencg/ffmpeg_build/include --extra-ldflags=-L/home/naveencg/ffmpeg_build/lib --bindir=/home/naveencg/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree
libavutil 54. 15.100 / 54. 15.100
libavcodec 56. 19.100 / 56. 19.100
libavformat 56. 16.102 / 56. 16.102
libavdevice 56. 3.100 / 56. 3.100
libavfilter 5. 6.100 / 5. 6.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Input #0, gif, from '1.gif':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: gif, bgra, 350x169, 25 fps, 25 tbr, 100 tbn, 100 tbc
[libvpx @ 0x1e2bf60] v1.3.0
Output #0, webm, to 'output.webm':
Metadata:
encoder : Lavf56.16.102
Stream #0:0: Video: vp8 (libvpx), yuva420p, 350x169, q=-1--1, 500 kb/s, 25 fps, 1k tbn, 25 tbc
Metadata:
encoder : Lavc56.19.100 libvpx
Stream mapping:
Stream #0:0 -> #0:0 (gif (native) -> vp8 (libvpx))
Press [q] to stop, [?] for help
frame= 21 fps=0.0 q=0.0 size= 58kB time=00:00:00.84 bitrate= 569.7kbits/sframe= 44 fps= 41 q=0.0 size= 110kB time=00:00:01.76 bitrate= 512.4kbits/sframe= 62 fps= 39 q=0.0 size= 153kB time=00:00:02.48 bitrate= 505.9kbits/sframe= 84 fps= 40 q=0.0 size= 210kB time=00:00:03.36 bitrate= 510.8kbits/sframe= 88 fps= 41 q=0.0 Lsize= 218kB time=00:00:03.52 bitrate= 508.3kbits/s
video:216kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.971527% -
configure : Do not unconditionally add -Wall to host CFLAGS.
16 mai 2011, par Diego Biurrunconfigure : Do not unconditionally add -Wall to host CFLAGS.