
Recherche avancée
Médias (91)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
-
Les Miserables
4 juin 2012, par
Mis à jour : Février 2013
Langue : English
Type : Texte
-
Ne pas afficher certaines informations : page d’accueil
23 novembre 2011, par
Mis à jour : Novembre 2011
Langue : français
Type : Image
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Richard Stallman et la révolution du logiciel libre - Une biographie autorisée (version epub)
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (54)
-
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...) -
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
(Dés)Activation de fonctionnalités (plugins)
18 février 2011, parPour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)
Sur d’autres sites (9208)
-
Use Windows ffmpeg to record audio output without using the StereoMix
5 janvier 2019, par DevtelSoftwareI am looking for a way to record the audio output (speakers) using Windows ffmpeg.
I need to do this WITHOUT installing any extra dshow filters and without having the StereoMix input enabled (since this is not available on many computers).I have read in the ffmpeg documentation that the -map would allow redirecting an audio output so that ffmpeg sees it as an audio input but I can’t find any example of how to do that.
In Linux I managed to do it like this :
ffmpeg -f pulse -ac 2 -ar 44100 -i alsa_output.pci-0000_00_1f.4.analog-stereo.monitor -f pulse -ac 2 -ar 44100 -i alsa_input.pci-0000_00_1f.4.analog-stereo -filter_complex amix=inputs=2 test.mp4
However I can’t find a similar way to do it in Windows and MacOSX.
So in short, is it possible with the Windows ffmpeg to record audio from the speakers without extra dshow filters (out-of-the-box) ? Same question goes for MacOSX.
Thanks !
-
Cannot find the class in php oop [duplicate]
30 décembre 2018, par mr starkThis question already has an answer here :
-
PHP class not found when using namespace
2 answers
I’m trying to make a class for video streaming with FFMpeg Php package.
I’m getting this error on browser :
Fatal error : Uncaught Error : Class ’Classes\Video’ not found in C :\xampp\htdocs\php\index.php:5 Stack trace : #0 main thrown in C :\xampp\htdocs\php\index.php on line 5
this is my index.php :
use Classes\Video;
$video = new Video();
$video->videoStreaming("video.mp4",320,240,"myVideo","WMV");and Video in Classes directory :
namespace Classes;
use FFMpeg\Coordinate\Dimension;
use FFMpeg\FFMpeg;
use FFMpeg\Format\Video\WMV;
require "../vendor/autoload.php";
class Video
{
private $ffmpeg;
private $video;
public function __construct()
{
$this->ffmpeg = FFMpeg::create([
'ffmpeg.binaries' => 'C:\ffmpeg\ffmpeg.exe',
'ffprobe.binaries' => 'C:\ffmpeg\ffprobe.exe',
'timeout' => 3600,
'ffmpeg.threads' => 12,
]);
}
public function videoStreaming($videoPath,$width,$height,$newName,$newExtension)
{
$this->video = $this->ffmpeg->open($videoPath);
if ($width && $height) {
$this->video->filters()->resize(new Dimension($width,$height))->synchronize();
}
$this->video->save(new WMV(), $newName . $newExtension);
}
} -
PHP class not found when using namespace
-
Video Streaming shows not working in Micorsoft Edge
22 novembre 2018, par Ragesh SI am newbi in using Video streaming in ASP.Net MVC project. I have a video library webpplication, most of the videos are
.mp4
format. Please see my code below.Code
public HttpResponseMessage Get(string filename)
{
var filePath = new FileStreameHelpers().GetFilePath(filename);
if (!File.Exists(filePath))
return new HttpResponseMessage(HttpStatusCode.NotFound);
var response = Request.CreateResponse();
response.Headers.AcceptRanges.Add("bytes");
var streamer = new FileStreameHelpers();
streamer.FileInfo = new FileInfo(filePath);
response.Content = new PushStreamContent(streamer.WriteToStream, new FileStreameHelpers().GetMimeType(Path.GetExtension(filePath)));
RangeHeaderValue rangeHeader = Request.Headers.Range;
if (rangeHeader != null)
{
long totalLength = streamer.FileInfo.Length;
var range = rangeHeader.Ranges.First();
streamer.Start = range.From ?? 0;
streamer.End = range.To ?? totalLength - 1;
response.Content.Headers.ContentLength = streamer.End - streamer.Start + 1;
response.Content.Headers.ContentRange = new ContentRangeHeaderValue(streamer.Start, streamer.End,
totalLength);
response.StatusCode = HttpStatusCode.PartialContent;
}
else
{
response.StatusCode = HttpStatusCode.OK;
}
return response;
}
public async Task WriteToStream(Stream outputStream, HttpContent content, TransportContext context)
{
try
{
var buffer = new byte[6553600];
using (var video = FileInfo.OpenRead())
{
if (End == -1)
{
End = video.Length;
}
var position = Start;
var bytesLeft = End - Start + 1;
video.Position = Start;
while (position <= End)
{
var bytesRead = video.Read(buffer, 0, (int)Math.Min(bytesLeft, buffer.Length));
await outputStream.WriteAsync(buffer, 0, bytesRead);
position += bytesRead;
bytesLeft = End - position + 1;
}
}
}
catch (Exception ex)
{
// fail silently
Utilities.SaveException("FileStreameHelpers - WriteToStream", ex);
}
finally
{
outputStream.Close();
}
}it works fine in Firefox and Chrome but it shows error in Microsoft Edge browser like below.
HTML
<video width="320" height="240" controls="controls">
<source src="/api/Media/Get?filename=SampleVideo_1280x720_1mb.mp4" type="video/mp4">
Your browser does not support the video tag.
</source></video>The remote host closed the connection. The error code is 0x800703E3.
Please advice.