
Recherche avancée
Médias (91)
-
Chuck D with Fine Arts Militia - No Meaning No
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Paul Westerberg - Looking Up in Heaven
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Le Tigre - Fake French
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Thievery Corporation - DC 3000
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Dan the Automator - Relaxation Spa Treatment
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Gilberto Gil - Oslodum
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (5)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...) -
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...)
Sur d’autres sites (2380)
-
avfilter/vf_v360 : add mask option, unset pixels are marked as transparent
25 janvier 2020, par Paul B Mahol -
videotoolboxenc : enable constant quality with -q:v on Apple Silicon Macs and use...
22 janvier 2021, par Simone Karin Lehmann -
sandboxed electron app cant use ffmpeg (mac apple store)
3 janvier 2021, par MartinI am trying to build an electron application for the mac apple store that uses ffmpeg.


I can use fluent-ffmpeg locally fine and It continues to work when I build my app for windows/mac/linux, but when I build a sandoxed Mac Apple Store (MAS) .app file and sign the .app file, fluent-ffmpeg does not work anymore, and throws an
ffmpeg was killed with signal SIGILL
error in console :



Fluent-ffmpeg gets setup with this javscript code :


//begin get ffmpeg info
 const ffmpeg = require('fluent-ffmpeg');
 //Get the paths to the packaged versions of the binaries we want to use
 var ffmpegPath = require('ffmpeg-static-electron').path;
 ffmpegPath = ffmpegPath.replace('app.asar', 'app.asar.unpacked')
 var ffprobePath = require('ffprobe-static-electron').path;
 ffprobePath = ffprobePath.replace('app.asar', 'app.asar.unpacked')
 //tell the ffmpeg package where it can find the needed binaries.
 
 ffmpeg.setFfmpegPath(ffmpegPath)//("./src/ffmpeg/ffmpeg");
 ffmpeg.setFfprobePath(ffprobePath)//("./src/ffmpeg/ffprobe");
 
 //end set ffmpeg info



I have looked into this issue some and found similar questions, like this stackoverflow answer (link here) which says to compile a static ffmpeg executable and use that.


So I learned how to compile ffmpeg from the command line using these commands on my mac terminal :


git clone https://git.ffmpeg.org/ffmpeg.git 

./configure --pkg-config-flags="--static" --libdir=/usr/local/lib --extra-version=ntd_20150128 --disable-shared --enable-static --enable-gpl --enable-pthreads --enable-nonfree --enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-libx264 --enable-filters --enable-runtime-cpudetect

make




After a while, I get an ffmpeg folder, which I move to my electron project's src folder
/src/


I place this ffmpeg folder inside my electron /src folder and change my ffmpeg setup code to use my statically built folder like so :


//begin get ffmpeg info
 const ffmpeg = require('fluent-ffmpeg');
 //Get the paths to the packaged versions of the binaries we want to use
 var ffmpegPath = require('ffmpeg-static-electron').path;
 ffmpegPath = ffmpegPath.replace('app.asar', 'app.asar.unpacked')
 var ffprobePath = require('ffprobe-static-electron').path;
 ffprobePath = ffprobePath.replace('app.asar', 'app.asar.unpacked')
 //tell the ffmpeg package where it can find the needed binaries.
 
 ffmpeg.setFfmpegPath(ffmpegPath)//("./src/ffmpeg/ffmpeg");
 ffmpeg.setFfprobePath(ffprobePath)//("./src/ffmpeg/ffprobe");
 
 //end set ffmpeg info



And then build / sign my app with these commands :


$ electron-builder build --mac

$ sudo codesign --deep --force --verbose --sign '##(my dev id)####' dist/mas/Digify-mac.app



But the final built .app file has the same error when trying to launch ffmpeg :


ffmpeg was killed with signal SIGILL



I've been trying to solve this issue myself but with no luck, there have been some recent posts about this on the apple developer forums :
https://developer.apple.com/forums/thread/87849


but most of the other guides online are outdated.


Can anyone please help me get ffmpeg working in an sandboxed electron app for the Mac Apple Store ? Any help would be much appreciated