
Recherche avancée
Autres articles (37)
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)
Sur d’autres sites (6371)
-
Use fluent-ffmpeg to tell if a file is a video or audio
8 mai 2021, par afterglowleeI am using node-fluent-ffmpeg module in NodeJS. It is very good that fluent-ffmpeg provides functions to get the metadata of a video and audio file.



https://github.com/schaermu/node-fluent-ffmpeg#reading-video-metadata



I have tried on Mac OS to use the "resolution" attribute in the metadata to tell if a file is audio only or video, i.e. if both resolution.w and resolution.h are 0, then this file is an audio. This work fine on Mac OS. But some strange things happened that this doesn't work on Windows platform (I have tried Windows 7 64bit and Windows 2008) using the latest ffmpeg. Even though I put a .mp3 file through fluent-ffmpeg,the result looks something like this :



video:
{
 container:'mp3',
 ...
 resolution: {w:300,h:300},
 resolutionSquare: {w:300,h:300},
 aspectString: '1:1',
 ...
}
audio:
{
 codec:'mp3',
 bitrate:64,
 sample_rate:44100,
 stream:0,
 channels:1
}




I am not why there is a "resolution" since it is a pure audio file. So is there any solid way to find out if the file is audio only or video from the metadata ? Or should I use ffmpeg commandline to find it out ?


-
avcodec/bitstream : Remove outdated comment
29 août 2020, par Andreas Rheinhardtavcodec/bitstream : Remove outdated comment
The comment referred to the INIT_VLC_USE_STATIC flag which has been
removed in 2009 in 595324e143b57a52e2329eb47b84395c70f93087 ; the
function it referred to was removed even earlier in commit
83422c1940d963d395a64bee0cbb9c637192ce8c in 2008.Reviewed-by : Paul B Mahol <onemda@gmail.com>
Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com> -
Unable to convert .mp3 to .m4a using ffmpeg [closed]
26 décembre 2020, par rahulgI am fully aware the legal constraints in using
libfaac
but this is just for my testing purpose.


I have compiled
ffmpeg
withfaac
enabled. So when I tried to convert an .mp3 to a .m4a here is the error that I am getting. Please provide a resolution to this problem. I tried it on two different sources of .mp3, still I am getting the same error.


[user@ip-10-161-13-26 ~]$ ffmpeg -i Kalimba.mp3 -c:a libfaac Kalimba.m4a
ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers
 built on May 4 2013 09:33:27 with gcc 4.4.6 20120305 (Red Hat 4.4.6-4)
 configuration: --enable-libfaac --enable-nonfree --disable-yasm
 libavutil 51. 54.100 / 51. 54.100
 libavcodec 54. 23.100 / 54. 23.100
 libavformat 54. 6.100 / 54. 6.100
 libavdevice 54. 0.100 / 54. 0.100
 libavfilter 2. 77.100 / 2. 77.100
 libswscale 2. 1.100 / 2. 1.100
 libswresample 0. 15.100 / 0. 15.100
[mp3 @ 0x2464680] Header missing
[mp3 @ 0x2463100] max_analyze_duration 5000000 reached at 5015510
[mp3 @ 0x2463100] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from 'Kalimba.mp3':
 Metadata:
 publisher : Ninja Tune
 track : 1
 album : Ninja Tuna
 artist : Mr. Scruff
 album_artist : Mr. Scruff
 title : Kalimba
 genre : Electronic
 composer : A. Carthy and A. Kingslow
 date : 2008
 Duration: 00:05:50.60, start: 0.000000, bitrate: 191 kb/s
 Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 192 kb/s
 Stream #0:1: Video: mjpeg, yuvj420p, 512x512, 90k tbr, 90k tbn, 90k tbc
 Metadata:
 title : thumbnail
 comment : Cover (front)
Output #0, ipod, to 'Kalimba.m4a':
 Metadata:
 publisher : Ninja Tune
 track : 1
 album : Ninja Tuna
 artist : Mr. Scruff
 album_artist : Mr. Scruff
 title : Kalimba
 genre : Electronic
 composer : A. Carthy and A. Kingslow
 date : 2008
 Stream #0:0: Video: none, q=2-31, 128 kb/s, 90k tbn
 Metadata:
 title : thumbnail
 comment : Cover (front)
 Stream #0:1: Audio: none, 0 channels, 128 kb/s
Stream mapping:
 Stream #0:1 -> #0:0 (mjpeg -> ?)
 Stream #0:0 -> #0:1 (mp3 -> libfaac)
Encoder (codec none) not found for output stream #0:0




MP3 file is at http://db.tt/HtpEBpFU



Also while using Faac independently I get this weird error for any file.



Freeware Advanced Audio Coder
FAAC 1.28

Couldn't open input file sample.mp3