
Recherche avancée
Médias (2)
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
Autres articles (91)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (9063)
-
Scroll playlist items into view. Cancel 'play next' timeout if user navigates previous/next etc.
2 février 2015, par scottschillerScroll playlist items into view. Cancel ’play next’ timeout if user navigates previous/next etc.
-
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();
}