
Recherche avancée
Médias (91)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
avec chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
sans chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
config chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (20)
-
Qualité du média après traitement
21 juin 2013, parLe bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (6542)
-
ffmpeg AVPixelFormat and manager C++ System::Drawing::Imaging::PixelFormat conflict
29 novembre 2016, par H S TThere is
#define PixelFormat AVPixelFormat
inffmpeg
. You can not useSystem::Drawing::Imaging::PixelFormat
in a header file containing this. How can I usePixelFormat
in C # ?.h
using namespace System::Drawing::Imaging;
public ref class CTest{
static Imaging::PixelFormat Format24bppRGB = Imaging::PixelFormat::Format24bppRgb
};.cpp
#include"ffmpeg head file"
... -
FFmpeg : encoding in webm (vp9) for windows
2 juillet 2015, par SeltymarI’m trying to encode jpegs to a webm video in vp9 on windows 7.
I followed the instructions from webmproject in 2 pass.
I changed\dev\nul
byNUL
.ffmpeg.exe -i %4d.jpg -c:v libvpx-vp9 -pass 1 -b:v 1000K -threads 8 -speed 4 -tile-columns 6 -frame-parallel 1 -auto-alt-ref 1 -lag-in-frames 25 -an -f webm NUL
ffmpeg.exe -i %4d.jpg -c:v libvpx-vp9 -pass 2 -b:v 1000K -threads 8 -speed 1 -tile-columns 6 -frame-parallel 1 -auto-alt-ref 1 -lag-in-frames 25 -c:a libopus -b:a 64k -f webm out.webmbut after the first pass, it tells me "output file is empty, nothing was encoded". But the second pass create the video.
I also tryed in one pass :
ffmpeg -i %4d.jpg -c:v libvpx-vp9 -crf 10 -b:v 0 output.webm
Then I want to use the output video using html5 video and canvas tags as below.
<canvas>
Your browser does not support the canvas tag.
</canvas>
<code class="echappe-js"><script><br />
<br />
<br />
var videos = document.createElement('video');<br />
videos.src = "output.webm";<br />
videos.type = "video/webm";<br />
videos.load(); <br />
videos.play();<br />
videos.playbackRate = 1;<br />
var videoImage0 = document.getElementById('canvas'); <br />
videoImage0.width = 2700;<br />
videoImage0.height = 1350;<br />
<br />
var videoImageContexts =videoImage0.getContext('2d');<br />
//// background color if no video present<br />
videoImageContexts.fillStyle = '#0000ff';<br />
videoImageContexts.fillRect(0, 0, videoImage0.width, videoImage0.height); <br />
animate();<br />
<br />
function animate() {<br />
requestAnimationFrame(animate);<br />
update();<br />
<br />
}<br />
<br />
function update() {<br />
<br />
if (videos.readyState === videos.HAVE_ENOUGH_DATA) {<br />
videoImageContexts.drawImage(videos, 0, 0);<br />
}<br />
}<br />
</script>result :
- With both methods the output video can’t be read in VLC but it can be read if I drag and drop in firefox or chrome or using the video tag only.
- The html page above works correctly on chrome but not in firefox. In firefox, the color is not correct like if the blue channel was translated.
I think the problem is the encoding with FFmpeg. I’m using the static build from zeranoe. Here is the version
and libvpx is enable.
My questions :
-
Is there a problem on my command line ?
-
Is there a problem in my JS code that could lead to error in the decoding process ?
-
ffmpeg splitting video into hls slice, why hls_time option is not working ?
6 juillet 2019, par workplaylifecyclemacbook:output developer$ ffmpeg -i ../output.mp4 -f hls -hls_time 1 -hls_list_size 1000000 index.m3u8
macbook:output developer$
macbook:output developer$ head index.m3u8
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:8
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:3.136467,
index0.ts
#EXTINF:8.341667,
index1.ts
#EXTINF:8.341667,
index2.ts
macbook:output developer$I want video slice with length around 1 second, but all I got
TARGETDURATION: 8
have you noticed that, where does it come from ? I have not set anything like8
, confusing... thanks