
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (57)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
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 (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (12333)
-
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
-
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 !
-
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>