
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (53)
-
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 -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...)
Sur d’autres sites (8556)
-
Android - Lightweight solution for image video watermarking
1er décembre 2015, par mtwainHow to add image on video not using ffmpeg but using some another approach ? What more lightweight solutions exists for simple putting image on video ?
I know few apps with this functionality that have very small size. What approach do they use ?
-
Videos encoded with FFmpeg play too fast
23 avril 2014, par Ari BlackI’ve scoured the Google/SO/Zeranoe results and tried to integrate everything I found into making my program generate videos correctly but I still can’t get it to work right.
I needed a good video to use as a reference so I ran :
ffmpeg -t 5 -f dshow -i "video=Logitech HD Pro WebcamC910" CLI.mpg
Which generated a five-second video which can be played in VLC and shows the duration and plays correctly. You can get the video here : https://drive.google.com/file/d/0B1VGi1Ts7D7TR3c4VUlyM2dIcFk/edit?usp=sharing
I then generated a five-second video with my own code. I’ve tried to pare it down to only what I think is needed to record. You can find the code here : https://drive.google.com/file/d/0B1VGi1Ts7D7TMnFxSE1HX2FKbEU/edit?usp=sharing
It generated a video also, with similar video quality, but VLC doesn’t show the video duration and the video seems to play too quickly. I mean that what I see on the screen looks like it’s moving slightly too fast. You can find the video my code generated here : https://drive.google.com/file/d/0B1VGi1Ts7D7TSzFGUFZEMHJwQ0U/edit?usp=sharing
Even when you click on the links to the videos, you can see that Google is having trouble with mine but no problem with the one generated by the FFmpeg CLI. Sorry about posting everything off-site but I didn’t want to spam my code into the post and I wanted to provide as much information as I could.
I’ve seen a number of posts about this but I can’t seem to find a definitive solution.
EDIT :
So I implemented your suggestions and I’m pretty sure that your answer fixed the timing issue but now I consistently get 20 non-strictly-monotonic errors before the first successful call encode_video. This happens whether I usegFrame->pts = gFrameIndex;
or
gFrame->pts = av_rescale_q(gFrameIndex, gCodecContext->time_base, gStream->codec->time_base);
before
ret = avcodec_encode_video2(gCodecContext, &pkt, gFrame, &got_output);
if (ret < 0) {
fprintf(stderr, "Error encoding frame\n");
return false;
}This seems to coincide with video artifacts at the start of the video file during playback. gFrameIndex starts at 1.
I believe my webcam auto-focuses at the start of recordings, is it possible this is related ?
I’ve uploaded the generated .h264 file at https://drive.google.com/file/d/0B1VGi1Ts7D7TRjRzbzZZemRaRTA/edit?usp=sharing and my most recent code to https://drive.google.com/file/d/0B1VGi1Ts7D7TbmlyYncxYzRQUTA/edit?usp=sharing.
I really appreciate the help. Sadly, I can’t use the FFmpeg CLI directly in my software, so I have to use the library. I’m going to have to keep trucking along with it unless you can suggest a better alternative.
-
Anomalie #2139 : recherche et caractères accenctués
27 juin 2011, par jluc -C’est Firefox que j’utilise. Je ne sais pas de quel feature de Opera tu parles. 1) Si je saisis à la main ou dans un lien http://www.google.fr/search?q=année , google me satisfait. 2) Si je fais pareil avec spip-contrib.net/spip.php ?page=recherche&recherche=année , spip-contrib.net me (...)