
Recherche avancée
Autres articles (66)
-
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 (...) -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Configuration spécifique pour PHP5
4 février 2011, parPHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
Modules spécifiques
Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)
Sur d’autres sites (10918)
-
Remove all instances of first frame from mp4 in FFmpeg
15 juin 2020, par PeteI have a frame occurring several times at the beginning of an MP4 and I'd like to get rid of the duplicate frames, such that it only occurs once.



I know that the
ffmpeg -i input.mp4 -vf mpdecimate,setpts=N/FRAME_RATE/TB out.mp4
command will remove duplicates in the entire video, but is there any way to limit this to frames identical to the first one ?

-
Generating random thumbnails with PHP+FFMPEG
30 décembre 2014, par MrGhostI’m trying to generate thumbnails from random points in a movie using FFMPEG and FFMPEG-PHP extension.
My script works OK.. however takes 20 minutes just to generate 5-10 thumbnails !!
The script works by generating random numbers which are used as frame numbers later. All numbers generated are within the movies frame count.
Can you work out why this script is taking 20 mins to finish ?
If not, a better solution ?<?php
//Dont' timeout
set_time_limit(0);
//Load the file (This can be any file - still takes ages)
$mov = new ffmpeg_movie('1486460.mp4');
//Get the total frames within the movie
$total_frames = $mov->getFrameCount();
//Loop 5-10 times to generate random frames 5-10 times
for ($i = 1; $i <= 5; ) {
// Generate a number within 200 and the total number of frames.
$frame = mt_rand(200,$total_frames);
$getframe = $mov->getFrame($frame);
// Check if the frame exists within the movie
// If it does, place the frame number inside an array and break the current loop
if($getframe){
$frames[$frame] = $getframe ;
$i++;
}
}
//For each frame found generate a thumbnail
foreach ($frames as $key => $getframe) {
$gd_image = $getframe->toGDImage();
imagejpeg($gd_image, "images/shot_".$key.'.jpeg');
imagedestroy($gd_image);
echo $key.'<br />';
}
?>The script SHOULD be generating frame numbers which are valid ? Anything within START - END should be valid frame numbers ? Yet the loop takes ages !
-
timeshift Jumps in Live Streaming HLS Playback
8 avril 2024, par matinsome times in live streaming with hls (h264) client show a jump back in time shift
but index.m3u8 and playlist.m3u8 is ok and segments are correctly generated
I see this problem in our player and hls demo too
is there any thing related too transcoding and ffmpeg cause or prevent this problem