
Recherche avancée
Autres articles (44)
-
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
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 (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (11394)
-
Samsung S3 : 'Cannot play Video' on stock Video player
18 mars 2013, par d33pikaI am unable to play a mp4 video(H.264 Baseline, AAC) on Samsung S3, Android Version : 4.1.1, stock video player but plays on VLC. The same video plays on Galaxy Beam, Android Version : 2.3.6, stock Video Player. I want to figure out why it does not play on S3. I ran ffprobe and mediainfo on the fie :
ffprobe results :
ffprobe version 0.11.1 Copyright (c) 2007-2012 the FFmpeg developers
built on Jan 25 2013 15:16:27 with llvm_gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)
configuration: --prefix=/usr/local/Cellar/ffmpeg/0.11.1 --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --cc=/usr/bin/llvm-gcc --host-cflags='-Os -w -pipe -march=core2 -msse4 -mmacosx-version-min=10.7' --host-ldflags=-L/usr/local/lib --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
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
libpostproc 52. 0.100 / 52. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '86535_360p_1301310230.mp4':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isomavc1
creation_time : 2013-01-31 02:36:22
Duration: 00:03:49.53, start: 0.000000, bitrate: 799 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 699 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc
Metadata:
creation_time : 2013-01-31 02:34:00
handler_name : GPAC ISO Video Handler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 96000 Hz, stereo, s16, 95 kb/s
Metadata:
creation_time : 2013-01-31 02:36:22
handler_name : GPAC ISO Audio HandlerMedia info results :
General
Complete name : a.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 21.9 MiB
Duration : 3mn 49s
Overall bit rate mode : Variable
Overall bit rate : 799 Kbps
Encoded date : UTC 2013-01-31 02:36:22
Tagged date : UTC 2013-01-31 02:36:22
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Baseline@L3.0
Format settings, CABAC : No
Format settings, ReFrames : 3 frames
Format settings, GOP : M=1, N=30
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 3mn 49s
Bit rate : 700 Kbps
Maximum bit rate : 2 721 Kbps
Width : 640 pixels
Height : 360 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.127
Stream size : 19.1 MiB (88%)
Writing library : Zencoder Video Encoding System
Encoded date : UTC 2013-01-31 02:34:00
Tagged date : UTC 2013-01-31 02:36:22
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 3mn 49s
Bit rate mode : Variable
Bit rate : 96.0 Kbps
Maximum bit rate : 121 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 96.0 KHz
Compression mode : Lossy
Stream size : 2.62 MiB (12%)
Encoded date : UTC 2013-01-31 02:36:22
Tagged date : UTC 2013-01-31 02:36:22I suspect the video player is more stricter on some codec header values. The level is set to 3.0 and this should be correct. Any help in figuring this out is appreciated !
-
How to wait until ffmpeg is finished with the conversion
15 mai 2022, par ThePinkLynaIm going nuts with this. The situation is this. I have a picture, I convert that picture into something else using fluentffmpeg and then I want to edit that image then send it. The problem here is that I the conversion stops the script from continuing after is done. And also, the edit part needs to wait until the conversion is done and I don't know how to do that, because it seems that with fluentffmpeg the order of the code doesn't matter.
Here is the script



 case 'sticker':
 
 
 const encmedia = isQuotedImage ? JSON.parse(JSON.stringify(mek).replace('quotedM','m')).message.extendedTextMessage.contextInfo : mek
 const media = await Bether.downloadAndSaveMediaMessage(encmedia)
 
 await ffmpeg(`./${media}`)
 .input(media)
 
 .addOutputOptions([`-vcodec`,`libwebp`,`-vf`,`scale='min(320,iw)':min'(320,ih)':force_original_aspect_ratio=decrease,fps=15, pad=320:320:-1:-1:color=white@0.0, split [a][b]; [a] palettegen=reserve_transparent=on:transparency_color=ffffff [p]; [b][p] paletteuse`])
 .toFormat('webp')
 .save('./a.webp')
 .on('start', function (cmd) {
 console.log(`Started : ${cmd}`)
 })
 .on('error', function (err) {
 console.log(`Error : ${err}`)
 
 reply(mess.error.stick)
 }) 
 
 
 
exec(`webpmux -set exif ./BetherMultiMedia/Marca.exif ./a.webp -o ./a.webp`)
ran = fs.readFileSync(`./a.webp`)
Bether.sendMessage(from, ran, sticker, {quoted: freply})
break



On console I get the latter part first then the conversion, it doesn't make any sense. Help


-
How to Image on Another image using FFMPEG in Android
27 août 2021, par Retrix DevI am working on an Android Video Editor App & I am just a newbie.
I want to Add overlay of image , test, or sticker on video & that can be moved and resized by guestures like of zoom and drag.


Could anyone help me out in this