
Recherche avancée
Médias (2)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (71)
-
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 ;
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)
Sur d’autres sites (11580)
-
FLAC__stream_encoder_finish : Sanity improvement
30 janvier 2017, par Erik de Castro Lopo -
File created in subprocess.run not found by os.listdir()
13 novembre 2019, par AbitbolI am using subprocess to launch an instance of ffmpeg extracting frames in a folder. Then I do
os.listdir
on that same folder and it returns an empty list ; off course I would except to see the files created by ffmpeg listed.Here is a minimal example
import os
import subprocess
folder = 'generated'
subprocess.run(['ffmpeg', '-i', 'input.mp4', '-vf', 'fps=4', f'{folder}/%05d.png'])
print(os.listdir(folder)) # []I can testify that the files are created while the script is running.
In the full example I am using ffmpeg complex filter to generate two output, I don’t think that is the source of the problem.
-
How to write command in android when I m using FFmpeg Native with C++ file ?
16 octobre 2019, par axita.savaniUsing FFmpeg lastest version ("Ada") with native code and write command in android .cpp file below it’s very simple function VideogetDuration() :
#include
#include <string>
#include <iostream>
#include <android></android>log.h>
#include
extern "C" {
#include <libavutil></libavutil>timestamp.h>
#include <libavformat></libavformat>avformat.h>
#include <libavutil></libavutil>display.h>
}
/***
*
* @param input - the absolute path to file
* @returns the duration of file in seconds
*
*/
extern "C"
JNIEXPORT jint JNICALL
Java_com_ffmpegjni_videoprocessinglibrary_VideoProcessing_getDuration(JNIEnv *env,
jobject instance,
jstring input_) {
av_register_all();
AVFormatContext *pFormatCtx = NULL;
if (avformat_open_input(&pFormatCtx, jStr2str(env, input_), NULL, NULL) < 0) {
throwException(env, "Could not open input file");
return 0;
}
if (avformat_find_stream_info(pFormatCtx, NULL) < 0) {
throwException(env, "Failed to retrieve input stream information");
return 0;
}
int64_t duration = pFormatCtx->duration;
avformat_close_input(&pFormatCtx);
avformat_free_context(pFormatCtx);
return (jint) (duration / AV_TIME_BASE);
}
</iostream></string>when this value returns 0 value either the wrong value.
also i have read the below docs for more information.
1)http://dranger.com/ffmpeg/data.html
2)https://static.packt-cdn.com/downloads/Developing_Multimedia_Applications_with_NDK.pdf
3)https://github.com/KucherenkoIhor/VideoProcessingLibrary (also see this project)
4)https://github.com/leandromoreira/ffmpeg-libav-tutorial#video---what-you-seei have also add the same problem with below link :
how to use libavcodec/ffmpeg to find duration of video file