
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (53)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...)
Sur d’autres sites (3737)
-
Firefox doesn't play mp4 file in HTML5 video
21 janvier 2016, par DeveloperI recorded a video with my mobile which had the format ".mp4". Now if I load that video in HTML5 video tag, I get an error
HTTP "Content-Type" of "video/3gpp" is not supported.
Why does Firefox consider the file as3gpp
although it is anmp4
file ?
If I log the file properties when it is loaded on to browser, I see the following{ name: "test.mp4", lastModified: 1434536249000, lastModifiedDate: Date 2015-06-17T10:17:29.000Z, size: 41151959, type: "video/mp4" }
This means firefox identifies the type as
mp4
only. But doesn’t play it giving the errorHTTP "Content-Type" of "video/3gpp" is not supported.
-
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 ?