
Recherche avancée
Médias (17)
-
Matmos - Action at a Distance
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
DJ Dolores - Oslodum 2004 (includes (cc) sample of “Oslodum” by Gilberto Gil)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Danger Mouse & Jemini - What U Sittin’ On ? (starring Cee Lo and Tha Alkaholiks)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Cornelius - Wataridori 2
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Rapture - Sister Saviour (Blackstrobe Remix)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Chuck D with Fine Arts Militia - No Meaning No
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (109)
-
L’agrémenter visuellement
10 avril 2011MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté. -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras. -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (12376)
-
Anomalie #4225 (Nouveau) : Notice en php 7.2 et 7.3 pour la restauration
16 novembre 2018, par Franck DHello :-)
Un SPIP 3.3.0-dev [24147] tout neuf sans plug,
Prefix des tables "test1" installation en MySQL
Toujours dans les tests :-D, juste pour dire que si je vais à la page : /ecrire/ ?exec=restaurerEn php 7.2 chez ovh
Environement : stable
Moteur : phpcgi
Mode développementJ’ai 2 notices qui apparaissent :
Warning : count() : Parameter must be an array or an object that implements Countable in /.../plugins-dist/dump/formulaires/restaurer.php on line 79
Warning : Cannot modify header information - headers already sent by (output started at /.../plugins-dist/dump/formulaires/restaurer.php:79) in /.../ecrire/inc/actions.php on line 141En php 7.3rc5 avec easyphp en local, j’ai juste :
Warning : count() : Parameter must be an array or an object that implements Countable in C :\Program Files (x86)\EasyPHP-Devserver-17\eds-www\test1\plugins-dist\dump\formulaires\restaurer.php on line 79
Par contre, au moment de la restauration, j’ai deux autres notices qui apparaissent très rapidement (logique la base est toute petite :-D), j’ai fait une copie d’écran pour bien les montrer :-) -
ffmpeg - continuous file streaming over RTMP
1er mai 2013, par Sébastien RenauldI've been looking around for a simple (or perhaps not-so-simple) walkaround for a problem I am having in my set up for a simple test case : video streaming over red5 media server.
I have built a small-ish library of FLV files scraped from YouTube and managed to play them in succession with the following perl script :
use Cwd;
use strict;
use warnings;
use DBI;
use DBD::mysql;
our $db = DBI->connect();
my $dst = "/home/seb/youtube/";
sub streamFile {
my $r = $db->prepare("SELECT name FROM music_flvs ORDER BY RAND() LIMIT 1");
$r->execute();
my @data = $r->fetchrow_array();
my $filename = $data[0]
my $t = `ffmpeg -re -i '${dst}${filename}' -ab 48k -ac 1 -vcodec libx264 -crf 30 -s "640x480" -acodec libfaac -ar 44100 -threads 4 -f flv 'rtmp://server/oflaDemo/music'`;
return 1;
}
while (&streamFile()) {
}This script does its purpose extremely well : it plays files one by one through
ffmpeg
. However, it does so with a crucial problem : it causes an Unpublish event every time it swaps songs, which causes all the clients to disconnect. I would like to prevent this. The event manifests itself in ActionScript as this :16:33:54:209 - Playback - NetStream.Play.UnpublishNotify
16:33:54:209 - Playback - NetStream.Play.PublishNotifyI have seen the
concat
demuxer and believe that it might somewhat help me. The question is pretty simple : what is the best way to make ffmpeg stream a playlist to a RTMP server without ever causing an Unpublish event ? -
Calculate frames to remove to get timelapse of desired length
12 juin 2016, par Espen BirkI’ve got lots of images stored on a server, and a reference in a MySQL database so that i can easily query it for image from specific dates/time.
Images is taken with an interval of 7 images/hour.
Lets say i want to create a timelapse from the last 4 days, and make a 5 sec movie. How can i calculate how to evenly drop frames to get to that desired length of 5 seconds ?
This is what i got so far.
Total images : 4 Days * 24 hours * 7 images/hour = 672 images
Required images at 24 fps : 24 * 5 = 120 imagesDivide the total images with the required images to find out which/every frame i need to keep
672 / 120 = 5.6
Then i loop trough all 672 images, and every 5th or 6th time i store a reference to the image in an array.
Here is my problem. If i round up i get a video thats longer than i want, and if i round down i get a video thats shorter.
If i keep every 5th image when looping : 134 images / 24 fps = 5.6 sec video
If i keep every 6th image when looping : 112 images / 24 fps = 4.6 sec videoIs it possible to get it better, and still skip images evenly ?
Solved this using xxfelixxx’s answer in PHP
Heres the code in PHP :$start = 1;
$stop = 672; // Total Images
$dur = 5; // Video Duration
$n = 24 * $dur; // Required frames - 24 FPS * Duration
$next = $start;
$step = ( $stop - $start ) / $n;
$frames = array();
for ($i = 1; $i <= $n; $i++) {
$frames[] = round($next);
$next += $step;
};
var_dump($frames);