
Recherche avancée
Médias (91)
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Lights in the Sky
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Head Down
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Echoplex
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Discipline
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Letting You
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (79)
-
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 ;
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
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 (11129)
-
Play audio from ffmpegframegrabber
5 juillet 2013, par ShatayaFor an augmented reality app which should play videos, adjusted to the detected marker.
I can't use the android video view as it is not possible to rotate it.
Therefor I have imported the javacv and ffmpeg libraries.
So far I can successfully render my video with opengl es but I have problems with the audio playback.I extract the frames with FFmpegFrameGrabber :
grabber = new MyFFmpegFrameGrabber(Environment.getExternalStorageDirectory()+"/arvideo_"+fileName+".mp4");
Frame frame = grabber.grabFrame();
....
if(frame.samples != null) {
// I have my audio samples and then?
}I tried to playback the audio with the AudioTrack class.
int bufferSize = AudioTrack.getMinBufferSize(grabber.getSampleRate(),AudioFormat.CHANNEL_CONFIGURATION_MONO, AudioFormat.ENCODING_PCM_16BIT);
track = new AudioTrack(AudioManager.STREAM_MUSIC, grabber.getSampleRate(), AudioFormat.CHANNEL_CONFIGURATION_MONO, AudioFormat.ENCODING_PCM_16BIT, bufferSize, AudioTrack.MODE_STREAM);
track.play();
// call track.write(....) ???I get only a static noise. I have read that the sample format is AV_SAMPLE_FMT_FLTP but android needs AV_SAMPLE_FMT_S16. That's why I tried to convert the samples with com.googlecode.javacv.cpp.swresample class. I think that I'm doing something wrong because I still have only noise.
swrcontext = com.googlecode.javacv.cpp.swresample.swr_alloc();
com.googlecode.javacv.cpp.swresample.swr_alloc_set_opts(swrcontext,AV_CH_LAYOUT_STEREO, avutil.AV_SAMPLE_FMT_FLTP, getSampleRate(), AV_CH_LAYOUT_STEREO, avutil.AV_SAMPLE_FMT_S16, getSampleRate(), 0, null);
com.googlecode.javacv.cpp.swresample.swr_init(swrcontext);
// ....
PointerPointer inData = samples_frame.data();
PointerPointer outData = samples_frame.data();
com.googlecode.javacv.cpp.swresample.swr_convert(swrcontext, outData, samples_frame.nb_samples(), inData, samples_frame.nb_samples());
samples_frame = new AVFrame(outData);I really have no idea anymore... I hope anybody can help me. Thanks.
-
Video compressed using ffmpeg-android-java library, does not play on Web browsers
27 juin 2016, par Jay DongaI am capturing video using default camera in Android and compressing it using ffmpeg-android-java library.
After successful compression, video is playing in MXPlayer app, but fails to play in Web browsers like Google Chrome, Firefox.
What can be the reason ?
I have shared my compression logic. What changes can I make here so it can play on browsers ?
String[] str=new String[]{"-y" ,"-i",sourceFilename,"-strict","experimental","-s", "160x120","-r","25", "-vcodec", "mpeg4", "-b", "150k", "-ab","48000", "-ac", "2", "-ar", "22050", destinationFilename};
try{
FFmpeg ffmpeg = FFmpeg.getInstance(getActivity());
ffmpeg.execute(str, new ExecuteBinaryResponseHandler() {
@Override
public void onStart() {}
@Override
public void onProgress(String message) {
Log.e("onProgress",message);
}
@Override
public void onFailure(String message) {
Log.e("onFailure",message);
}
@Override
public void onSuccess(String message) {
Log.e("onSuccess",message);
}
@Override
public void onFinish() {}
});
} catch (FFmpegCommandAlreadyRunningException e) {
e.printStackTrace();
} -
Is there any (or possible) html5 player that play videos on different resolution without convertion the media file ?
1er avril 2020, par In-my-country-we-dont-use-nameI want to play videos on my website with a html5 media player.I found this for an example :






but it needs different videos for every resolution with these codes :




 
 
 




I dont want convert media files with some convertion technologies for example ffMpeg, IF IT IS POSSIBLE.So, I want to learn how to play videos on different resolution without convertion.If you know a html5 player, you can suggest me.



Its urgent.My company loses many thousand dollars everyday because of this problem.If we cant solve this, we cant save us from bankrupt.I dont want go to jail because of depts.