
Recherche avancée
Autres articles (80)
-
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 ;
-
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (11453)
-
How to play encrypted video in exoplayer (android app) coming from HLS streamer ?
2 février 2021, par Harshil MakwanaI am right now using FFMPEG to stream mp4 file using HLS.
I am using this link to enable encryption : https://hlsbook.net/how-to-encrypt-hls-video-with-ffmpeg/


To play video in my android app, I am using exoplayer, below is my source code to play video :


Player player;
private MediaSource buildMediaSource(Uri uri) {
 TrackSelection.Factory adaptiveTrackSelection = new AdaptiveTrackSelection.Factory(new DefaultBandwidthMeter());
 player = ExoPlayerFactory.newSimpleInstance(
 this,
 new DefaultTrackSelector(adaptiveTrackSelection));
 playerView.setPlayer(player);
 // These factories are used to construct two media sources.
 DefaultBandwidthMeter defaultBandwidthMeter = DefaultBandwidthMeter.getSingletonInstance(this);
 DataSource.Factory dataSourceFactory = new DefaultDataSourceFactory(mContext,
 Util.getUserAgent(mContext, "cookvid"), defaultBandwidthMeter);
 //DataSource.Factory dataSourceFactory =
 // new DefaultDataSourceFactory(this, "exoplayer-codelab");

 HlsMediaSource.Factory mediaSourceFactory = new HlsMediaSource.Factory(dataSourceFactory);
 return mediaSourceFactory.createMediaSource(uri);
 //return new ProgressiveMediaSource.Factory(dataSourceFactory)
 // .createMediaSource(uri);
}
private void initializePlayer() {
 Uri uri = Uri.parse(getString(R.string.media_url_hls));
 MediaSource mediaSource = buildMediaSource(uri);
 player.setPlayWhenReady(playWhenReady);
 player.seekTo(currentWindow, playbackPosition);
 player.addListener(playbackStateListener);
 player.prepare(mediaSource, false, false);
}



But with this code, I can not play video in app, If I am not using this encryption ,then exoplayer can play video without any issue.


Please help me on this, I am newbie on exoplayer side.


-
Is there any way to play video other then .mp4 on Android in Kivy ?
11 décembre 2016, par Gerasimov Mikhail -
CANNOT LINK EXECUTEABLE ffmpeg android
18 décembre 2019, par eilon marinbergI am building an app for android that uses FFMPEG native code, and whenever I run the FFMPEG command I am getting an error that says :
V/onFailure : CANNOT LINK EXECUTABLE "/data/user/0/com.android.pprojecct/files/ffmpeg" : "/data/data/com.android.pproject/files/ffmpeg" has text relocations
I am using an implemented lib I found :
implementation 'nl.bravobit:android-ffmpeg:1.1.7'