
Recherche avancée
Autres articles (62)
-
Qu’est ce qu’un éditorial
21 juin 2013, parEcrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
Vous pouvez personnaliser le formulaire de création d’un éditorial.
Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...) -
Les images
15 mai 2013 -
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 (...)
Sur d’autres sites (6088)
-
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



-
converting of wma to mp3 through ffmpeg is not working
8 novembre 2011, par Rahul MehtaI want to convert my wma file to mp3 by ffmpeg .
why this error is coming what should i do ? i installedlibmp3lame
already .when i am trying to convert by following command gives error :
/var/www/yapi$ sudo /usr/local/bin/ffmpeg -i uploads/4e02dc4f197c1.wma uploads/4e02dc4f1b212.mp3
ffmpeg version N-30971-g4b87a08, Copyright (c) 2000-2011 the FFmpeg developers
built on Jun 23 2011 10:08:49 with gcc 4.4.5
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-x11grab
libavutil 51. 9. 1 / 51. 9. 1
libavcodec 53. 7. 0 / 53. 7. 0
libavformat 53. 4. 0 / 53. 4. 0
libavdevice 53. 1. 1 / 53. 1. 1
libavfilter 2. 23. 0 / 2. 23. 0
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, asf, from 'uploads/4e02dc4f197c1.wma':
Metadata:
title : "Highway Blues"
artist : Marc Seales, composer. New Stories. Ernie Watts, saxophone.
genre : Jazz
album : Speakin' Out
track : 1
WM/Year : 1999
WMFSDKVersion : 8.00.00.4389
WMFSDKNeeded : 0.0.0.0000
Duration: 00:01:33.71, start: 0.000000, bitrate: 64 kb/s
Stream #0.0: Audio: wmav2, 44100 Hz, 2 channels, s16, 64 kb/s
File 'uploads/4e02dc4f1b212.mp3' already exists. Overwrite ? [y/N] y
Output #0, mp3, to 'uploads/4e02dc4f1b212.mp3':
Stream #0.0: Audio: [0][0][0][0] / 0x0000, 44100 Hz, 2 channels, s16, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Encoder (codec id 86017) not found for output stream #0.0why it is not working ?
-
FFmpeg : Create a Video Slideshow from PNG Images for MS PowerPoint
20 septembre 2016, par KlaidonisI am using FFmpeg on Windows 7 to create a video from PNG image sequence for Microsoft PowerPoint.
The best results I have achieved so far, is by using the following command :
ffmpeg -framerate 10 -start_number 3 -i .\folder\name_%d.png -q:v 0 -c:v libx264 -pix_fmt yuv420p output-video.avi
It seems perfect, 50 images of total size 30 MB are converted into 200 KB video with no loss in the quality. Placing it in PowerPoint also seems right, but there is a slight color shift (yellow appears darker and possibly more orangish). By using some other conversion options, I obtained a video in PowerPoint where the first image of the video (like album cover art) is exactly as the original but the rest of the video plays with the mentioned color shift.
When I play this file in VLC, it’s good. Although, if in the settings "Use hardware YUV->RGB conversions" is enabled, colors appear a bit washed out, and white color is a bit gray.
I also tried to convert the images to a GIF file and at first it seems good but outer edges and numbers from the left and top side are blurred, and the background has turned from white to a bit gray color, although, white segments not on the background are white. The output size is 18 MB. I ended up with a way better GIF 600 KB by converting from the first video file ; just it is slightly more dotted, and the background again is grayish.
ffmpeg -i output-video.avi output-video.gif
Could someone help ?