
Recherche avancée
Médias (3)
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (97)
-
Les sons
15 mai 2013, par -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...) -
MediaSPIP en mode privé (Intranet)
17 septembre 2013, parÀ partir de la version 0.3, un canal de MediaSPIP peut devenir privé, bloqué à toute personne non identifiée grâce au plugin "Intranet/extranet".
Le plugin Intranet/extranet, lorsqu’il est activé, permet de bloquer l’accès au canal à tout visiteur non identifié, l’empêchant d’accéder au contenu en le redirigeant systématiquement vers le formulaire d’identification.
Ce système peut être particulièrement utile pour certaines utilisations comme : Atelier de travail avec des enfants dont le contenu ne doit pas (...)
Sur d’autres sites (9296)
-
FFmpeg (sharpFFmpeg) decoding - Protected memory error
25 août 2011, par mazharenko.aI'm trying to use C# binding of FFmpeg library calling SharpFFmpeg to decode H264 video stream that I receive by RTP. I think I correctly decapsulate NALUs from RTP-packets, but I can't decode complete frames. Function avcodec_decode_video calling throws an AccessViolationException (Attempted to read or write protected memory).
Here are some code lines ://buf is a byte array containing encoded frame
int success;
FFmpeg.avcodec_init();
FFmpeg.avcodec_register_all();
IntPtr codec = FFmpeg.avcodec_find_decoder(FFmpeg.CodecID.CODEC_ID_H264);
IntPtr codecCont = FFmpeg.avcodec_alloc_context(); //AVCodecContext
FFmpeg.avcodec_open(codecCont, codec);
IntPtr frame = FFmpeg.avcodec_alloc_frame(); //AVFrame
FFmpeg.avcodec_decode_video(codecCont, frame, ref success, (IntPtr)buf[0], buf.Length); //exceptionFunction has been imported as follows :
[DllImport("avcodec.dll", CallingConvention = CallingConvention.Cdecl), SuppressUnmanagedCodeSecurity]
public unsafe static extern int avcodec_decode_video(IntPtr pAVCodecContext, IntPtr pAVFrame, ref int got_picture_ptr, IntPtr buf, int buf_size);Unfortunately, I don't know what do I have to do with the codecCont. Somebody wrote that it is needed to fill this structure by AVCDCR using session description received by RTSP. But I don't know which field(s) store this record.
I'll be glad for any help.
P.S. Excuse me for my English -
How to capture a layered window with transparency background properly ? (using BitBlt)
25 octobre 2016, par Mitra MI want to capture a WPF window (WPF layered window) with transparency background.
To do that I tried FFmpeg, But :
1 - If I set
AllowTransparency
(this is a property of WPF window) tofalse
,I can capture the window by gdigrab (this is an ffmpeg device), but output has black background.(I don’t want black background)2 - If I set
AllowTransparency
totrue
then gdigrab won’t work. (get black frame only)I have read David’s nice article, he has said :
if you use BitBlt to do this, you could “or in” the CAPTUREBLT flag if
you wanted to capture windows that are layeredThe gdigrab uses BitBlt, this is gdigrab.c code snippet :
/* Blit screen grab */
if (!BitBlt(dest_hdc, 0, 0,
clip_rect.right - clip_rect.left,
clip_rect.bottom - clip_rect.top,
source_hdc,
clip_rect.left, clip_rect.top, SRCCOPY | CAPTUREBLT)) {
WIN32_API_ERROR("Failed to capture image");
return AVERROR(EIO);
}You can see the flags . (
SRCCOPY | CAPTUREBLT
).Please tell me :
1- Why the gdigrab can not capture a WPF window properly ?
2 - What changes in this code should be done to do this ?
(Sorry for my English, I used translate.google)
Thanks
-
Windows : can't generate libx264.dll because MinGW : no working c compiler found
27 avril 2015, par Sandie CIt’s my first post in a forum ever (and in english...) Any suggestion is welcomed.
So let’s started !
My global goal is to recorder/transcoding and display an IP Camera stream from a .bat whitch calling vlc. (I tried before doing it with VLC interface and it’s going well. I don’t understand why the encoder is missing using that way)
I want an asf container containing h264 and aac.
.bat :
cd C :\Program Files (x86)\VideoLAN\VLC
vlc rtsp ://root:root@ip_adresse/media.amp —sout "#transcode vcodec=x264, vb=112 , acodec==aac, fps=25:duplicatedst=display,dst=standardaccess=file,mux = asf,dst=flux.asf" -v
when I first execute this, VLC told me that H264 encoder was not found, so I decided to compile x264.
I used this link
http://www.ayobamiadewole.com/Blog/How-to-build-x264-or-libx264.dll-in-Windows
I succeed to make the .exe but and when I got to
./configure —disable-cli —enable-shared —extra-ldflags=-Wl,—output-def=libx264.def
minGW shell indicates : no working c compiler found
I find some answer, but i didn’t found the good one.
Does anyone have an idea of what i’m doing wrong ?
Is it possible that my gcc (4.6) is not the good one ? What should I do ?
Need another advice :
When I would have this libx264.ddl where should I put it to make my script working ?Early thanks for your answers.