
Recherche avancée
Médias (1)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (51)
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
Sur d’autres sites (8626)
-
avfilter/showcqt : make minimum timeclamp option lower
29 janvier 2017, par Muhammad Faiz -
swresample/resample : do not increase phase_count on exact_rational
17 juin 2016, par Muhammad Faizswresample/resample : do not increase phase_count on exact_rational
high phase_count is only useful when dst_incr_mod is non zero
in other word, it is only useful on soft compensationon init, it will build filter with low phase_count
but when soft compensation is enabled, rebuild filter
with high phase_countthis approach saves lots of memory
Reviewed-by : Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by : Muhammad Faiz <mfcc64@gmail.com> -
HTML5 Video/Audio to Nodejs via Socket.io but with a twist - FFMPEG
9 janvier 2014, par user1840958I'm writing this very simple "skype clone". I tried a variety of other languages, python and layering over Node.js with Meteor, WebRTC, but Node.js+socket.io seems to be working the best and cleanest however I've hit a road block and I can't get it all to work correctly.
I have two issues,
1. I think I'm sending real data from the HTML5 getUserMedia, but I might not, and I don't know how to test or find out. I think that using, "video.src = window.URL.createObjectURL(stream) ;" makes the Blob stream an actual Data stream... but I don't know.This is my Broadcast.html
It's a very simple getUserMedia grab the camera and microphone... Then I connect to the Socket and on click of the Broadcast button, fires off the Emit to 'Join' and sends over the 'webcamstream' data.<video autoplay="autoplay" height="280"></video>
<button class="recordbutton">Broadcast</button>
<code class="echappe-js"><script language="javascript" type="text/javascript"><br />
var socket = io.connect(&#39;http://video.domain.com:3031&#39;);<br />
socket.on(&#39;connect&#39;, function() {<br />
$(&#39;#conversation&#39;).append(&#39;Connected <br />&#39;);<br />
});<br />
<br />
function onVideoFail(e) {<br />
console.log(&#39;webcam fail!&#39;, e);<br />
};<br />
<br />
function hasGetUserMedia() {<br />
return !!(navigator.getUserMedia || <br />
navigator.webkitGetUserMedia || <br />
navigator.mozGetUserMedia || <br />
navigator.msGetUserMedia);<br />
}<br />
<br />
if (hasGetUserMedia()) {<br />
alert(&#39;It is working...&#39;);<br />
} else {<br />
alert(&#39;getUserMedia() is not supported in your browser&#39;);<br />
}<br />
<br />
window.URL = window.URL || window.webkitURL;<br />
navigator.getUserMedia = navigator.getUserMedia || <br />
navigator.webkitGetUserMedia ||<br />
navigator.mozGetUserMedia || <br />
navigator.msGetUserMedia;<br />
<br />
var video = document.querySelector(&#39;video&#39;);<br />
var streamRecorder;<br />
var webcamstream;<br />
<br />
if (navigator.getUserMedia) {<br />
navigator.getUserMedia({audio: true, video: true}, function(stream) {<br />
video.src = window.URL.createObjectURL(stream);<br />
webcamstream = stream;<br />
}, onVideoFail);<br />
} else {<br />
alert (&#39;failed&#39;);<br />
}<br />
<br />
function startBroadcasting() {<br />
alert(&#39;Broadcast Now Clicked&#39;);<br />
console.log(webcamstream);<br />
socket.emit(&#39;join&#39;, webcamstream);<br />
socket.emit(&#39;echo&#39;, &#39;echo1 echo2 echo3 <br />&#39;);<br />
}<br />
<br />
socket.on(&#39;echo&#39;, function(data) {<br />
$(&#39;#conversation&#39;).append(data);<br />
}); <br />
</code></pre><br />
<br />
<p></p><br />
<br />
<p>This is the app.js<br />
2. What I&#39;m trying to do here is consume in the &#39;stream&#39; from the socket, but in it&#39;s place I have a test video to see if the FFMPEG is actually working. I&#39;m using <a href="https://github.com/schaermu/node-fluent-ffmpeg" rel="nofollow">https://github.com/schaermu/node-fluent-ffmpeg</a>.</p><br />
<br />
<p>When I run this test with my myth.mp4 file, I do get an out.avi however it&#39;s 0 bytes ??</p><br />
<br />
<pre><code>var express = require(&#39;express&#39;);<br />
var socket = require(&#39;socket.io&#39;);<br />
var ffmpeg = require(&#39;fluent-ffmpeg&#39;);<br />
var fs = require(&#39;fs&#39;);<br />
<br />
var app = express();<br />
<br />
app.configure(function(req, res){<br />
app.use(express.static(__dirname + &#39;/&#39;));<br />
});<br />
<br />
var server = app.listen(3031);<br />
var io = socket.listen(server);<br />
<br />
io.sockets.on(&#39;connection&#39;, function(socket) {<br />
socket.on(&#39;join&#39;, function(stream) {<br />
socket.stream = stream;<br />
socket.emit(&#39;echo&#39;, socket.stream + &#39;<br />&#39;);<br />
var proc = new ffmpeg({source:&#39;/srv/www/domain.com/video/red/myth.mp4&#39;})<br />
.withAspect(&#39;4:3&#39;)<br />
.withSize(&#39;640x480&#39;)<br />
.applyAutopadding(true, &#39;white&#39;)<br />
.saveToFile(&#39;/srv/www/domain.com/video/red/out.avi&#39;, function(retcode, error){<br />
socket.emit(&#39;echo&#39;, &#39;file has been converted succesfully <br />&#39;);<br />
});<br />
});<br />
socket.on(&#39;echo&#39;, function(data) {<br />
socket.emit(&#39;echo&#39;, data);<br />
});<br />
});<br />
</code></pre><br />
<br />
<p>I get no errors on Node Start up, I get no Errors on running. I do get a 0 Byte out.avi file freshly created every time I run this.</p><br />
<br />
<p>I have a linode VPS with CentOS/Nginx</p><br />
<br />
<p>node -v<br />
v0.10.21</p><br />
<br />
<p>FFMPEG<br />
ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers<br />
built on Nov 23 2013 17:43:13 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-3)<br />
configuration: --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libvo-aacenc --enable-libxvid --disable-ffplay --enable-shared --enable-gpl --enable-postproc --enable-nonfree --enable-avfilter --enable-pthreads --extra-cflags=-fPIC<br />
libavutil 52. 18.100 / 52. 18.100<br />
libavcodec 54. 92.100 / 54. 92.100<br />
libavformat 54. 63.104 / 54. 63.104<br />
libavdevice 54. 3.103 / 54. 3.103<br />
libavfilter 3. 42.103 / 3. 42.103<br />
libswscale 2. 2.100 / 2. 2.100<br />
libswresample 0. 17.102 / 0. 17.102<br />
libpostproc 52. 2.100 / 52. 2.100<br />
Hyper fast Audio and Video encoder<br />
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...</p><br />
<br />
<p>Thanks in advance for your help.</p>