
Recherche avancée
Autres articles (43)
-
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 -
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 ;
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (7941)
-
Android and ffmpeg. Play video (with sound)
18 février 2014, par bukka.whI have compiled ffmpeg library add it to my project and now I want to play video (with full list of options - stop, pause, forward, backward etc). I have read roman10 ffmpeg tutorial. And I also find out tutorial which describes how play video with ffmpeg and SDL framework. The difference (if I have correctly understood) is that in roman's tutorial each frame of video turns into a Bitmap and is then passed to Java code where it shows on SurfaceView. And in the second tutorial, the video is playing with the help of the SDL framework without passing it back to Java code.
I want to ask some questions :
- Which way is better : return Bitmap back to Java and show it on SurfaceView or play it with SDL ?
- How can I play the sound of my video (can I do it with ffmpeg or do I need some additional libraries) ?
-
FFMPEGH264Decoder - h264 video playing too fast
25 février 2017, par Vineesh TPI am trying to play a .h264 video in iOS
When loading the video the play back is too fast.I am reffering this source code
Here is the code,
CFFMPEGH264Decoder *decoder = new CFFMPEGH264Decoder(0);
decoder->Init();
decoder->Start();
dispatch_queue_t decodeQueue = dispatch_queue_create("abc", NULL);
dispatch_async(decodeQueue, ^{
VideoPacket *vp = nil;
while(true) {
vp = [parser nextPacket];
if(vp == nil) {
break;
}
decoder->Decode(vp.buffer, vp.size);
unsigned char *result = decoder->GetResultData();
if (result != 0) {
// NSLog(@"%d, %d",decoder->GetResultWidth(), decoder->GetResultHeight());
dispatch_async(dispatch_get_main_queue(), ^{
[glView displayYUV420pData:result width:decoder->GetResultWidth() height:decoder->GetResultHeight()];
});
decoder->ReleaseResultData();
}
}
});When Encode the video I have to the frameRate is 24 only.
But, after decode 5 second video play back is plying in 1 second. -
FFmpeg/MP4 - Force all existing frames to play at fixed frame rate
16 mai 2020, par MJosephI have an MP4 video file that I suspect is corrupt, in that
mediainfo
reports a variable frame rate, but I believe the frames present are meant to be played at a fixed frame rate. This discrepancy causes video stuttering. Is there any way to force an MP4 container (by editing header info, or frame timing tables) to simply play back all existing frames at a fixed frame rate (i.e. 24fps). Every tip I've read assumes you want to drop and/or add frames to achieve a new frame rate, while keeping all the old frame timings (i.e.ffmpeg -r
orffmpeg -filter
). These methods end up preserving the stutter and altering the size of the file. I would like to throw out the frame timings, but keep all frames, and just play them back at a constant rate. Is this possible ?