
Recherche avancée
Médias (21)
-
1,000,000
27 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Demon Seed
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Four of Us are Dying
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Lights in the Sky
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Head Down
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (83)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (12213)
-
How to encode with ffmpeg PCM to AAC with different sample formats ?
1er août 2014, par user2212461I’m using the following code to encode PCM to AAC using libav. It works with sample_fmt = AV_SAMPLE_FMT_S16 ; and a newer release of liabv. In older versions, only sample_fmt = AV_SAMPLE_FMT_FLT is allowed, but then the decoder always returns 0 (nothing decoded). What in the code do I need to adapt in order to make it work with sample_fmt = AV_SAMPLE_FMT_S16 ? Is sample_fmt the input or output format ?
avcodec_register_all();
codec = avcodec_find_encoder(CODEC_ID_AAC);
c = avcodec_alloc_context3(codec);
c->bit_rate = 64000;
c->sample_rate= 44100;
c->channels = 1;
c->frame_size = 86000;
c->sample_fmt = AV_SAMPLE_FMT_FLT;//---> this works with AV_SAMPLE_FMT_S16
buf = (uint8_t *)malloc(bufSize);
audioData = (uint8_t *)malloc(size);
//fill audioData
int packetSize = avcodec_encode_audio(c, buf, bufSize,
(short *)audioData);//------>returns 0 when using AV_SAMPLE_FMT_FLT -
avformat/unix : fix handling of EOF in case of SOCK_STREAM.
20 mars 2018, par Bela Bodecs -
Convert m3u8 File URL to a GIF File [closed]
30 juin 2023, par nxsiI have a m3u8 File URL that I got using the MusicKit API (Apple Music) which is an animated cover art for an album. (A quick side question on that. Is m3u8 the only format that Apple Music returns for animated cover arts ?)


So, Now that I have that m3u8 file URL, I want to convert it to a GIF for the ease of use of GIFs.
I've tried using ffmpeg but I don't really seem to make it work at all with NodeJS.


Here is a sample File URL of what Apple Music returns (
https://mvod.itunes.apple.com/itunes-assets/HLSMusic116/v4/cb/ac/9e/cbac9e42-0c8a-9798-0016-52ce447cdc78/P359486356_default.m3u8
)

TLDR ;
1- Is m3u8 the only format of animated cover arts that the MusicKit api returns ?
2- Can I convert that m3u8 file URL to a GIF, If so, How ?
3- Are there any other ways than ffmpeg to use in NodeJS ?


I've tried using ffmpeg and the furthest I got was a GIF that was corrupted and not done correctly.
Here is the command I tried :


ffmpeg -i "https://mvod.itunes.apple.com/itunes-assets/HLSMusic116/v4/cb/ac/9e/cbac9e42-0c8a-9798-0016-52ce447cdc78/P359486356_default.m3u8" -vf "fps=10,scale=320:-1:flags=lanczos" output.gif