
Recherche avancée
Autres articles (25)
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...) -
Les thèmes de MediaSpip
4 juin 20133 thèmes sont proposés à l’origine par MédiaSPIP. L’utilisateur MédiaSPIP peut rajouter des thèmes selon ses besoins.
Thèmes MediaSPIP
3 thèmes ont été développés au départ pour MediaSPIP : * SPIPeo : thème par défaut de MédiaSPIP. Il met en avant la présentation du site et les documents média les plus récents ( le type de tri peut être modifié - titre, popularité, date) . * Arscenic : il s’agit du thème utilisé sur le site officiel du projet, constitué notamment d’un bandeau rouge en début de page. La structure (...) -
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 (4013)
-
ffmpeg screen capture using screen-capture-recorder cmd not working in vb
14 juin 2014, par user3234288I’ve started ffmpeg as process in VB but ffmpeg cmd for capturing alone is not working. My code is,I don’t know how to solve the problem, if any help greatly appreciated
proc.StartInfo.FileName = System.Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) & "\converter\bin\ffmpeg.exe"
proc.StartInfo.Arguments = "-f dshow -i video=screen-capture-recorder screen.mp4"
proc.StartInfo.UseShellExecute = False
proc.StartInfo.WindowStyle = ProcessWindowStyle.Hidden
proc.StartInfo.RedirectStandardInput = True
proc.StartInfo.RedirectStandardOutput = True
proc.StartInfo.CreateNoWindow = True
proc.Start() -
Android video stream to windows desktop - Latency Issue
5 décembre 2019, par cagneyI am using an android v21 device to stream data to a javafx application. Its working fine but I have about 2 seconds of latency.
As of now the basic transportation goes like this
- android Cameratompegtest.class unkown latency
- android packetizer(udp) 10 millis
- windows depacketizer no buildup of data in buffers
- windows ffmpeg framgrabber unkown latency
- javafx imageview <1 millis
My data stream to my desktop and my packetizer is much faster than my frame rate and is often just waiting. There is no buildup of data anywhere else and therefore I assume no delay in any of my code. My big question is in regards to android MediaEncoder and secondly ffmpeg frame grabber.
How can I determine the cause of the slow down ?
Do you have any suggestions ?
My ffmpeg framgrabber
public RapidDecoder(final InputStream inputStream, final ImageView view)
{
System.out.println(TAG + " starting");
grabber = new FFmpegFrameGrabber(inputStream, 0);
converter = new Java2DFrameConverter();
mView = view;
emptyBuffer = new Runnable() {
@Override
public void run() {
System.out.println(TAG + " emptybuffer thread running");
try {
grabber.setOption("preset", "ultrafast");
grabber.start();
}catch (Exception e)
{
System.out.println(TAG + e);
}
while (true)
{
try{
grabFrame();
Thread.sleep(1);
}catch (Exception e)
{
System.out.println(TAG + " emptybuffer " + e);
}
}
}
};
display = new Runnable() {
@Override
public void run() {
System.out.println(TAG + " display thread running ");
while(true)
{
try{
displayImage();
Thread.sleep(10);
}catch (Exception e)
{
System.out.println(TAG + " display " + e);
}
}
}
};
}
public void generateVideo()
{
System.out.println(TAG + " genvid ");
new Thread(emptyBuffer).start();
new Thread(display).start();
}
public synchronized void grabFrame() throws FrameGrabber.Exception
{
//frame = grabber.grabFrame();
frame = grabber.grab();
//System.out.println("grab");
}
public synchronized void displayImage()
{
bufferedImage = converter.convert(frame);
frame = null;
if (bufferedImage == null) return;
mView.setImage(SwingFXUtils.toFXImage(bufferedImage, null));
//System.out.println("display");
}}
my android code taken from bigflake website can be found here
-
Pydub - problem when changing the directory of ffmpeg
1er mai 2020, par Andy_yeIn the
pydub
library, it looks atC:\\
as a default for searching for theffmpeg
folder.


Because of this, the library works fine when I put the
ffmpeg
folder atC:\\



However, to package FFmpeg with the python code and use it in another computer without
ffmpeg
, I have to point thepydub
library to look forffmpeg
somewhere else, in another path.


I tried to do this with



from pydub import AudioSegment
AudioSegment.converter = "/path/to/ffmpeg.exe"




and also tried



AudioSegment.ffmpeg = "/path/to/ffmpeg.exe"




but both did not work at all when I moved the
ffmpeg
folder fromC:\\



Is there another way to do this ?