Hey there, i have some trouble with uploaded mp4 videos with firefox: they get a black screen. I using in addition for a second album simgallery where i coded the ffmpeg to produce webm not mp4, they are even smaller than mp4 files.
diaperk4i
Sorry, jomsocial doesn't support webm for now.
Please revert to mp4. Thanks
Ok no problem. I have read a bit about the best compatibility for ffmpeg and get some prefixes that I have added to the Custom Command field: -pix_fmt yuv420p -profile:v baseline -level 3 With these it is working fine fine fine 😃
-pix_fmt yuv420p -profile:v baseline -level 3
diaperk4i Hi Its good if it works for you, you can share complete steps here so it can help other members if any members need similar changes.
Regards
Sure no problem 🙂 I have these parameters from this guide: https://gist.github.com/Vestride/278e13915894821e1d6f So if your videos doesn't play in firefox (black screen but with sound) you can add these parameters here: I have added nice -19 to "Path to FFMPEG" because we have a linux system and the system can execute the command directly i have added a program called "nice". nice handels on linux based systems the process priority. I have added these because our cronjob executes every 5 minutes so if someone is uploading a video and the rendering queue takes more than 5 minutes and the next cron starts also a ffmpeg process it will never have a high cpu priority like mysql or the apache2 to interference with other server's processes. In addition you could add -threads feature who will set the max allowed used cores from your cpu like -threads 2 or something. If you have more questions feel free to ask 😃
nice -19
-threads
-threads 2
diaperk4i Thanks for sharing.