
Recherche avancée
Médias (2)
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (97)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
Sur d’autres sites (13252)
-
Cannot install snappy with brew - fatal error : 'cassert' file not found
23 mars 2024, par kronusI am on an old mac - 10.14.6 - and I am trying to install ffmpeg via brew.


I am finding errors during the make of snappy


When I try to
brew install snappy
the same errors persist :

==> Installing dependencies for snzip: snappy
==> Installing snzip dependency: snappy
==> Patching
==> cmake . -DSNAPPY_BUILD_TESTS=OFF -DSNAPPY_BUILD_BENCHMARKS=OFF
==> make install
Last 15 lines from /Users/<home>/Library/Logs/Homebrew/snappy/02.make:
In file included from /tmp/snappy-20240323-80108-r3czy0/snappy-1.1.10/snappy.cc:29:
In file included from /tmp/snappy-20240323-80108-r3czy0/snappy-1.1.10/snappy-internal.h:34:
/tmp/snappy-20240323-80108-r3czy0/snappy-1.1.10/snappy-stubs-internal.h:40:10: fatal error: 'cassert' file not found
40 | #include <cassert>
 | ^~~~~~~~~
make[2]: *** [CMakeFiles/snappy.dir/snappy-sinksource.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
1 error generated.
make[2]: *** [CMakeFiles/snappy.dir/snappy-c.cc.o] Error 1
1 error generated.
make[2]: *** [CMakeFiles/snappy.dir/snappy-stubs-internal.cc.o] Error 1
1 error generated.
make[2]: *** [CMakeFiles/snappy.dir/snappy.cc.o] Error 1
make[1]: *** [CMakeFiles/snappy.dir/all] Error 2
make: *** [all] Error 2
</cassert></home>


-
FFMpeg + Beanstalk : How to pass the processes to it
14 juillet 2012, par Ilia RostovtsevI'm working around on the video web site ! I have a simple PHP function that is used to start complicated conversion processes. The problem is that FFMpeg and Mencoder are extremely resourceful and having one process of it is something that makes httpd slow down but multiple processes just hang it completely. I want to my conversion processes with Beanstalk (or anything else). Everything is working well right now : converting, logging and etc.
My concrete question is : How to transfer my current jobs to Beanstalk ?
I have very simple PHP code :
RunInBackground('convert.php', array($initial_file_name, $vid), $LogFilePath);
And the function looks also quite clear :
function RunInBackground($sPHPFile, $aParam = array(), $sLogFile = '')
{
global $config;
$sCmd = $config['phppath'] . ' ' . $config['BASE_DIR'] . '/' . $sPHPFile;
foreach ($aParam as $s)
{
$sCmd .= ' ' . $s;
}
$sCmd .= ' > ' . ($sLogFile != '' ? $config['BASE_DIR'] . '/' . $sLogFile : '/dev/null');
if ( iBgProc($sCmd) )
{
return true;
}
else
{
return false;
}
}
function iBgProc($sCmd, $iPrio = 0)
{
if ($iPrio)
{
$iPID = shell_exec("nohup nice -n $iPrio $sCmd 2> /dev/null & echo $!");
}
else
{
$iPID = shell_exec("nohup $sCmd 2> /dev/null & echo $!");
}
return($iPID);
}Now what would Beanstalk correct code would look like so these processes would NOT start all at the same time if multiple videos are uploaded ?
If you believe that for my needs is better to use something else but Beanstalk and you know how to implement it, I would be still happy to see it !
Thanks !
-
What options I should use to rescale video without skewing them in FFMPEG Rails ?
5 juin 2019, par ADMAT BandaraThe main issue happens when it processes the recalling
All videos uploading from Apple iOS will process nicely.
But all videos uploading from Android devices are getting skewed.In my rails app, I am using Carrierwave:Video and FFMPEG to process videos with the help of delayed jobs.
class VideoUploader < CarrierWave::Uploader::Base
include CarrierWave::Video
include CarrierWave::Video::Thumbnailer
# For carrierwave_backgrounder
include ::CarrierWave::Backgrounder::Delay
version :rescaled do
process encode_video: [
:mp4,
resolution: "640x480", # Aspect ratio is preserved automatically
audio_codec: "aac",
custom: "-strict experimental -q:v 0 -preset slow -g 30",
callbacks: { after_transcode: :set_success }
]
end
version :thumb do
process thumbnail: [{format: 'png', quality: 10, size: 400, strip: true, logger: Rails.logger}]
def full_filename for_file
png_name for_file, version_name
end
endThis is correct videos screenshot
https://drive.google.com/open?id=1D0aNWcVxtL6DbTwBmWWIGzUUuyEyWNOG
This the video screenshot after video process with FFMPEG
https://drive.google.com/open?id=1vilExHoan2UuRPH9RbiZig58H1TwyewA
(It’s like vertically pressed)
Please help me, if you know a solution