
Recherche avancée
Autres articles (48)
-
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (6695)
-
Symfony PHP-FFMPEG (pulse00/ffmpeg-bundle) doesn't work
8 juillet 2014, par harisK92I installed pulse00/ffmpeg-bundle
and set it up like in documentation
dubture_f_fmpeg:
ffmpeg_binary: C:\FFMPEG\bin\ffmpeg
ffprobe_binary: C:\FFMPEG\bin\ffprobeBut I got errors
Unable to load FFProbe
..\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\Driver\FFProbeDriver.php at line 50
try {
} return static::load($binaries, $logger, $configuration);
catch (BinaryDriverExecutableNotFound $e) {
throw new ExecutableNotFoundException('Unable to load FFProbe', $e->getCode(), $e);
}
}When I add .exe
dubture_f_fmpeg:
ffmpeg_binary: C:\FFMPEG\bin\ffmpeg.exe
ffprobe_binary: C:\FFMPEG\bin\ffprobe.exe
Unable to probe C:\Users\XXX\XXX\ProjectFolder\src\vendor\Bundle\Entity/../../../../web/uploads/videos/e4cbef010c42d819fd6c326011fb2434c4b43c68.mp4Code in my controller
private function getThumbnail(Video $videoObject)
{
$ffmpeg=$this->getFFMPEG();
$video=$ffmpeg->open($videoObject->getAbsolutePath());
$video->frame(FFMpeg\Coordinate\TimeCode::fromSeconds(10))
->save($videoObject->getImagesUploadDir().'/'."image.jpg");
} -
Symfony PHP-FFMPEG (pulse00/ffmpeg-bundle) questions
8 juillet 2014, par harisK92I installed pulse00/ffmpeg-bundle
and set it up like in documentation
dubture_f_fmpeg:
ffmpeg_binary: C:\FFMPEG\bin\ffmpeg
ffprobe_binary: C:\FFMPEG\bin\ffprobeBut I got errors
Unable to load FFProbe
..\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\Driver\FFProbeDriver.php at line 50
try {
} return static::load($binaries, $logger, $configuration);
catch (BinaryDriverExecutableNotFound $e) {
throw new ExecutableNotFoundException('Unable to load FFProbe', $e->getCode(), $e);
}
}When I add .exe
dubture_f_fmpeg:
ffmpeg_binary: C:\FFMPEG\bin\ffmpeg.exe
ffprobe_binary: C:\FFMPEG\bin\ffprobe.exe
Unable to probe C:\Users\XXX\XXX\ProjectFolder\src\vendor\Bundle\Entity/../../../../web/uploads/videos/e4cbef010c42d819fd6c326011fb2434c4b43c68.mp4Code in my controller
private function getThumbnail(Video $videoObject)
{
$ffmpeg=$this->getFFMPEG();
$video=$ffmpeg->open($videoObject->getAbsolutePath());
$video->frame(FFMpeg\Coordinate\TimeCode::fromSeconds(10))
->save($videoObject->getImagesUploadDir().'/'."image.jpg");
} -
Transcode livestream on the fly and output to another server
3 juillet 2014, par user2757842Currently I have my live stream transcoding and saving to a destination on my desktop, but what I would like is to transcode it and send it to another server.
I create the outstream I would like my stream to go but it returns this error :
events.js:72
throw er; // Unhandled 'error' event
^
Error: ENOENT, open 'C:\Users\Jay\workspace\FFMPEGtest\http:\192.168.201.237\LiveSmoothStreaming.isml\Streams(video)'Any help would be appreciated
Here is my code :
var ffmpeg = require('./index.js');
var fs = require('fs');
var outStream = fs.createWriteStream('http://192.168.201.237/LiveSmoothStreaming.isml/Streams(video)');
//set the path to the live stream
var proc = new ffmpeg({ source: 'rtmp://localhost/livepkgr/livestream live=1', nolog: true, timeout: 432000, inputlive:true})
//set video bitrate
.withVideoBitrate(1024)
//set h264 preset
//.addOption('preset', 'superfast')
//set target codec
.withVideoCodec('libx264')
//set audio bitrate
.withAudioBitrate('128k')
//set audio codec
//.withAudioCodec('libfaac')
//set number of audio channels
.withAudioChannels(2)
.toFormat('ismv')
.on('error', function(err, stdout, stderr) {
console.log("ffmpeg stdout:\n" + stdout);
console.log("ffmpeg stderr:\n" + stderr);
})
.on('end', function() {
console.log('file has been converted successfully');
})
.on('error', function(err){
console.log('an error happened: ' + err.message);
})
.writeToStream(outStream, { end: true}); // <-- Where I would like my stream to go
//save to file
//.saveToFile('C:/Users/Jay/Documents/movie/liveStream.ismv');