
Recherche avancée
Médias (2)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (33)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
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 (...) -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
Sur d’autres sites (6664)
-
Flutter ffmpeg can't get width and height
26 août 2022, par user31929I'm trying to retrive some info like duration,width and height from videos i pick from the phone gallery. I'm using :


flutter_ffmpeg: ^0.4.2



this is the code i use :


Future getVideoInfo(String VideoPath) async {
 bool errorResult = false;
 FlutterFFprobe fFprobe = FlutterFFprobe();
 String? duration = "0";
 String? width = "0";
 String? height = "0";
 await fFprobe.getMediaInformation(VideoPath).then((info) {
 duration = info.getAllProperties()['duration'].toString();
 width = info.getAllProperties()['width'].toString();
 height = info.getAllProperties()['height'].toString();
 }, onError: (value) {
 errorResult = true;
 }).catchError((error) {
 errorResult = true;
 });

 if (errorResult == true) {
 Map resultmap = {"width": "0", "height": "0", "duration": "0"};
 return resultmap;
 }
 Map resultmap = {"width": width, "height": height, "duration": duration};
 return resultmap;
 }



According to documentation https://pub.dev/packages/flutter_ffmpeg i'm trying to retrive elements in that way :


info.getAllProperties()['width'].toString();



but i can retrive only duration, width and eight are always
null
. Values are in thegetAllProperties
dictionary because i can see "width=1920 and height=824" using the Vscode debugger.
There is only a difference beetween those voices and "duration" , they are grayed out by the Vscode debugger insted of duration that is "red".
Anyway, why i can't access width and eight even if they seems to be accessible ?

-
How to change the .ts file names in side the m3u8 file
13 août 2020, par Isuru BandaraRecently I am using FFmpeg for a project. I used FFmpeg to convert mp3 bitrates and other stuff. Those are working perfectly. But now I want to add mp3%2Fmusic%2F[outputN.ts] ?alt=media for every outputN.ts texts inside the m3u8 file. This my m3u8 file data structure,



#EXTM3U


#EXT-X-VERSION:3


#EXT-X-TARGETDURATION:2


#EXT-X-MEDIA-SEQUENCE:0


#EXTINF:2.005333,


'output000.ts'


#EXTINF:2.005333,


'output001.ts'



For Example, Now I want to apply mp3%2Fmusic%2F and ?alt=media for every text (output000.ts,output001.ts and so on) inside this m3u8 file using windows cmd. For instance,



#EXTINF:2.005333,


mp3%2Fmusic%2Foutput000.ts ?alt=media


#EXTINF:2.005333,


mp3%2Fmusic%2Foutput001.ts ?alt=media



 -
Convert audio file using another audio file as template in ffmpeg
3 décembre 2015, par Iulian OnofreiI have some
.mp3
audio files, with different "configuration" like sample rate, bit rate, etc.For my app, one of them is working and the rest, not.
How can I convert the rest of them using the working file’s "configuration" ?
Metadata of two sample files :
~/Downloads ❯ ffmpeg -i working.mp3 -i not_working.mp3
ffmpeg version 2.8.3 Copyright (c) 2000-2015 the FFmpeg developers
built with Apple LLVM version 7.0.0 (clang-700.1.76)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.8.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-vda
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
[mp3 @ 0x7fd2d380da00] Skipping 0 bytes of junk at 33.
[mp3 @ 0x7fd2d380da00] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from 'working.mp3':
Metadata:
encoder : Lavf52.64.2
Duration: 00:00:00.65, start: 0.000000, bitrate: 64 kb/s
Stream #0:0: Audio: mp3, 22050 Hz, mono, s16p, 64 kb/s
[mp3 @ 0x7fd2d4008800] Skipping 0 bytes of junk at 417.
Input #1, mp3, from 'not_working.mp3':
Duration: 00:00:01.83, start: 0.025057, bitrate: 46 kb/s
Stream #1:0: Audio: mp3, 44100 Hz, stereo, s16p, 46 kb/s
Metadata:
encoder : LAME3.99r