
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (27)
-
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (7174)
-
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'); -
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");
} -
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");
}