
Recherche avancée
Autres articles (112)
-
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 ;
-
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 (14998)
-
How to play a part of the MP4 video stream ?
14 novembre 2014, par AgentFireI have a URL (
<ip>/ipcam/mpeg4.cgi</ip>
) which points to my IP camera which is connected via Ethernet.
Accessing the URL resuls in a infinite stream of video (possibly with audio) data.I would like to store this data into a video file and play it later with a video player (HTML5’s
video
tag is preferred as the player).However, a straightforward approach, which is simple saving the stream data into
.mp4
file, didn’t work.I have looked into the file and here is what I saw (click to enlarge) :
It turned out, there are some HTML headers, which I further on manually excluded using the binary editing tool, and yet no player could play the rest of the file.
The HTML headers are :
--myboundary
Content-Type: image/mpeg4
Content-Length: 76241
X-Status: 0
X-Tag: 1693923
X-Flags: 0
X-Alarm: 0
X-Frametype: I
X-Framerate: 30
X-Resolution: 1920*1080
X-Audio: 1
X-Time: 2000-02-03 02:46:31
alarm: 0000My question is pretty clear now, and I would like any help or suggestion. I suspect, I have to manually create some MP4 headers myself based on those values above, however, I fail to understand format descriptions such as these.
I have the following video stream settings on my IP camera (click to enlarge) :
I could also use the
ffmpeg
tool, but no matter how I try and mix the arguments to the program, it keeps telling me this error : -
How to play multiple video on top of each other with ffmpeg c programming
13 septembre 2016, par Tom GoldbergI’m trying to develop a code which can plays multiple videos simultaneously with ffmpeg.
I need to play a video on a 2x2 matrix background and another video in the top left corner of it.
Problem : The top left corner video is flicking and not stable enough.
top-left video is flicking while playing
code :SDL_Surface *screen = SDL_SetVideoMode(640, 480, 24, 0);
void video_display(VideoState *is) {
SDL_Rect rect;
VideoPicture *vp;
int w, h, x, y;
h = screen->h;
w = ((int)rint(h * aspect_ratio)) ;
if(w > screen->w) {
w = screen->w;
h = ((int)rint(w / aspect_ratio)) ;
}
rect.x = (screen->w - w) / 2;
rect.y = (screen->h - h) / 2;
if( is->video_id == 0 ){
rect.w = w;
rect.h = h;
SDL_DisplayYUVOverlay(vp->bmp, &rect); // i think the problem is over here
}
else if( is->video_id == 1 ){
rect.w = w/2;
rect.h = h/2;
SDL_DisplayYUVOverlay(vp->bmp, &rect);
}When i choose 0/1, i move between audio only.
My question is : What should i code in order to make the top-left video stable to view ? -
How to Play Video using FFMpeg with Qt5 ?
24 mai 2013, par user2311434I have downloaded the ffmpeg libraries, include and dll from ffmpeg website for windows 32 bit system.
Until now i have gathered information that the below two headers are useful for playing videos, but actually I dont know.
libavcodec/avcodec.h
libavformat/avformat.h