
Recherche avancée
Autres articles (46)
-
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
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 (8488)
-
Remove the legacy X11 screen grabber
27 juillet 2016, par Diego Biurrun -
ffmpeg avfoundation (Mac OS X) capture second screen desktop
1er août 2016, par user1706674I am use console ffmpeg, if I capture from first monitor, then all is well
./ffmpeg -video_size 640x480 -framerate 30 -f avfoundation -capture_cursor 1 -capture_mouse_clicks 1 -i 1:0 -c:v libx264 -qp 0 -preset ultrafast capture.mp4
if try capture from the second monitor then process hangs
./ffmpeg -video_size 640x480 -framerate 30 -f avfoundation -capture_cursor 1 -capture_mouse_clicks 1 -i 2:0 -c:v libx264 -qp 0 -preset ultrafast capture.mp4
My device list :
AVFoundation input device @ 0x7fc74141a0c0] AVFoundation video devices:
[AVFoundation input device @ 0x7fc74141a0c0] [0] HD-camera FaceTime (integrated)
[AVFoundation input device @ 0x7fc74141a0c0] [1] Capture screen 0
[AVFoundation input device @ 0x7fc74141a0c0] [2] Capture screen 1
[AVFoundation input device @ 0x7fc74141a0c0] AVFoundation audio devices:
[AVFoundation input device @ 0x7fc74141a0c0] [0] Built-in Input
[AVFoundation input device @ 0x7fc74141a0c0] [1] Boom2DeviceBut if I replace output format from mp4 to mkv then record is well on second monitor too ! How fix this bug ?
-
FFMPEG Green Screen from raw pictures
21 août 2016, par Mohammad Abu MusaI am writing a screen recorder, I get raw data from Chrome and I want to covert it to
webm
files. I manged successfully to export the videos with the correct periods but the issue that I get a green screen instead of the screen capture. I am not sure what could be wrong.Is it writing to file ? or passing the parameters to
fwrite
function ?void EncoderInstance::OnGetFrame(int32_t result, pp::VideoFrame frame) {
if (result != PP_OK)
return;
const uint8_t* data = static_cast<const>(frame.GetDataBuffer());
pp::Size size;
frame.GetSize(&size);
uint32_t buffersize = frame.GetDataBufferSize();
if (is_recording_) {
vpx_codec_iter_t iter = NULL;
const vpx_codec_cx_pkt_t *pkt;
// copy the pixels into our "raw input" container.
int bytes_filled = avpicture_fill(&pic_raw, data, AV_PIX_FMT_YUV420P, out_width, out_height);
if(!bytes_filled) {
Logger::Log("Cannot fill the raw input buffer");
return;
}
if(vpx_codec_encode(&codec, &raw, frame_cnt, 1, flags, VPX_DL_REALTIME))
die_codec(&codec, "Failed to encode frame");
while( (pkt = vpx_codec_get_cx_data(&codec, &iter)) ) {
switch(pkt->kind) {
case VPX_CODEC_CX_FRAME_PKT:
glb_app_thread.message_loop().PostWork(callback_factory_.NewCallback(&EncoderInstance::write_ivf_frame_header, pkt));
glb_app_thread.message_loop().PostWork(callback_factory_.NewCallback(&EncoderInstance::WriteFile, pkt));
break;
default:break;
}
}
frame_cnt++;
}
video_track_.RecycleFrame(frame);
if (need_config_) {
ConfigureTrack();
need_config_ = false;
} else {
video_track_.GetFrame(
callback_factory_.NewCallbackWithOutput(
&EncoderInstance::OnGetFrame));
}
}
</const>