
Recherche avancée
Médias (1)
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (67)
-
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 -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
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 (...)
Sur d’autres sites (8216)
-
Android IP Camera
23 décembre 2014, par CptCattivoI’m looking for a good working solution to integrate an IP-Cameras video stream in my Android App. At the moment i am using the "Axis P1214-E" which has a good image quality, but i couldn’t get a "LIVE" stream from it. Either the stream is very laggy or it’s a few seconds delayed (sometimes even more) or the stream is shutting down after awhile. What i tried so far :
-
Using a SurfaceView to get the MJPEG Stream as described in this post : Android and MJPEG
Problem : Lagging -
Using a WebView to get the RTSP stream :
public class MainActivity extends Activity {
private static final String TAG = "VideoViewExample.MainActivity";
private static final String RTSP_URL = "rtsp://ip/axis-media/media.amp";
private VideoView videoView;
private MediaController mediaController;
private OnPreparedListener opl;
private int position = 0;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
if(savedInstanceState != null)
position = savedInstanceState.getInt("POSITION");
videoView = (VideoView) findViewById(R.id.videoView);
opl = new OnPreparedListener() {
@Override
public void onPrepared(MediaPlayer mp) {
videoView.seekTo(position);
if (position == 0) {
videoView.start();
}
else {
videoView.pause();
}
}
};
if (mediaController == null){
mediaController = new MediaController(this);
}
mediaController.setAnchorView(videoView);
AsyncTask at = new AsyncTask() {
@Override
protected Void doInBackground(Void... params) {
try{
videoView.setMediaController(mediaController);
videoView.setVideoURI(Uri.parse(RTSP_URL));
} catch (Exception e) {
Log.d(TAG, e.getMessage());
}
videoView.requestFocus();
videoView.setOnPreparedListener(opl);
return null;
}
};
at.execute();
}
@Override
protected void onPause() {
position = videoView.getCurrentPosition();
super.onPause();
}
@Override
public void onSaveInstanceState(Bundle outState) {
super.onSaveInstanceState(outState);
outState.putInt("POSITION", position);
}
}Problem : Good video Quality, but delayed.
- Using external frameworks like FFMPEG and GSTREAMER (Only some examples so far)
Problem : Also very laggy and/or delayed.
Now i’m running out of ideas to get this working. It’s very important for my Application that the stream is live and not lagging.
I’m developing on a "Banana Pi" board with Android 4.2.2 (4.4 is possible as well).Does anybody know how to get this working ? Or maybe should i use an other camera ? Do you have any suggestions that would work well with android ?
Thanks in advance
Christian
-
-
ffmpeg best settings for youtube live
24 mars 2023, par MarianoI have this settings for ffmpeg


ffmpeg -f lavfi -i anullsrc -rtsp_transport tcp -i "rtsp://" -c:v libx264 -b:a 384k -ac 2 -preset slow -crf 18 -profile:v high -bf 2 -pix_fmt yuv420p -movflags +faststart -threads 4 -cpu-used 0 -b:v 5M -r 30 -g 15 -coder 1 -f flv "rtmp://a.rtmp.youtube.com/live2/"



but the quality and speed is not very good,
could some one tell me what at the best settings


thanks


-
How to write Video Cutter (native trimmer) [on hold]
22 juillet 2019, par GurbelaI want to write a Video Cutter for React Native. The goal is to choose the time interval from the video and cut it out. For example : 1 minute cut out of 10 minute video. Also I’ll be able to rewind the video according to the frames.What is the correct way to solve this problem ?
I want to write it myself and not use any Package.
Should I write it separately ? for Android - Java and iOS -swift ? Which is the good way ?