
Recherche avancée
Médias (2)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (81)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
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 ;
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...)
Sur d’autres sites (15284)
-
Inaccurate sleep using C++11 on Windows
15 février 2017, par Ashe the humanI’ve been using C++11 sleep to give the interval between video frames. This method I’ve been using makes playback elongated on Windows.
#include <iostream>
#include <thread>
#include <sstream>
int main(const int argc, const char **args)
{
std::stringstream sb;
if(argc < 2)
return 1;
int fps = 0;
sb << args[1];
sb >> fps;
if(fps <= 0)
return 1;
int i;
while(true)
{
std::chrono::high_resolution_clock::time_point start, end;
start = std::chrono::high_resolution_clock::now();
for(i=0; i fps));
}
end = std::chrono::high_resolution_clock::now();
auto c = std::chrono::duration_cast(end - start).count();
std::cerr << c << std::endl;
}
return 0;
}
</sstream></thread></iostream>Running that program with 60 gives about 1004 1006 on Linux and 1065 1075 on Windows. So, I’m guessing, after playing a 2-hour long video, more than a minute is passed than just 2 hours.
timeBeginPeriod()
has no effect. Is using timer(like this one ?) is the only way to implement media players on Windows ? What about on Linux ? I think it’s the right way considering the fact that ffplay usesav_usleep()
.So sad that there’s no portable way.
-
How can I capture video from different windows using ffmpeg ?
13 janvier 2016, par RdBI have a proprietary IPTV player, and my goal is to capture a video from this player’s several windows simultaneously. I’m able to do that with ffmpeg and VLC (for instance) using vlc windows’ titles like this :
ffmpeg -f gdigrab -framerate 30 -i title="german.avi - VLC media player" -b:v 3M germ.flv
ffmpeg -f gdigrab -framerate 30 -i title="2015-05-10 Sportscene.mkv - VLC media player" -b:v 3M scot.flvand so on.
But when I run 2 or more instances of that proprietary player, all of its windows’ titles are similar. So the question is how can I specify which window’s video in which file to record ?
-
ffmpeg : wmv files generated on Mac can't be played in Windows
16 juin 2015, par TTZOn Mac OS X 10.6.8, I converted a animated gif to a video file in wmv (a requested file format) by using
ffmpeg -i File.gif -s 400x400 NewFile.wmv
The video file played fine using VLC on Mac.
The file can’t be played on a Windows 7 machine using the Windows Media Player. Is there a way that I can save the animated gif as a WMV file that can be played using the Windows Media Player on a Windows 7 machine ?Many thanks for your time !