
Recherche avancée
Médias (2)
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (67)
-
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras. -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (8354)
-
Watch multi-stream video file while being recorded by ffmpeg
20 janvier 2020, par Luke GorrieI am using ffmpeg to record four 1080p video streams simultaneously and I would like to view these streams in real time while they are being recorded. Ideally I would like to view them from a separate machine, using some convenient Linux data sharing method like ssh/sshfs/..., but that is a nice-to-have. Is there a practical way to accomplish this ?
The ffmpeg recording command that I currently use is like this :
ffmpeg \
-f v4l2 -i $cam0 \
-f v4l2 -i $cam1 \
-f v4l2 -i $cam2 \
-f v4l2 -i $cam3 \
-f matroska \
-map 0 \
-map 1 \
-map 2 \
-map 3 \
-c copy \
$output.mkvMy problem would be solved if I could use a command like
ffplay
orvlc
to play one or more of the video streams, always tracking close to the end of the stream, playing more as data becomes available. I haven’t found such an option though.One alternative might be to have the recording ffmpeg process also tile the four 1080p videos into one 4K grid and pipe that to ffplay. Then I could at least preview on the same machine that is recording. I have not been able to work out the right ffmpeg command to do the tiling though and would appreciate an example.
-
How can I watch my video from a sdp file ?
7 avril 2019, par Marco PecaI’m using ffmpeg to create a streaming. It works fine. I have a server and with ffplay I can watch my stream.
My only (big) constraint is real time.I have to embed it into an HTML page accessible from mobile devices.
I tried with HTML5 video tag but I can’t include sdp files into it.With ffmpeg I create a stream from my webcam. I have also created the sdp file but in HTML5 doesn’t work.
The code is here :
ffmpeg server :
sudo ffmpeg -re -f video4linux2 -i /dev/video0 -fflags no buffer rtp://224.10.20.30:20000
file.sdp
v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
c=IN IP4 224.10.20.30
t=0 0
a=tool:libavformat 55.7.100
m=video 20000 RTP/AVP 96
b=AS:200
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96 profile-level-id=1ffplay : (It works)
ffplay file.sdp
How can I view the stream in a browser ?
-
No Implementation Found for init method in Youtube Live Streaming Watch me project
17 mai 2017, par BashaI am new to android development.presently I am Working on Youtube Live Streaming and downloaded watchMe project.I am getting the error in my class where I used to load FFMPEG libffmpeg.so file and the error was cannot resolve "init" method. and getting error while running the application as below
java.lang.UnsatisfiedLinkError: No implementation found for boolean com.google.sai.apps.watchme.Ffmpeg.init(int, int, int, java.lang.String) (tried Java_com_google_sai_apps_watchme_Ffmpeg_init and Java_com_google_sai_apps_watchme_Ffmpeg_init__IIILjava_lang_String_2)
at com.google.sai.apps.watchme.Ffmpeg.init(Native Method)
at com.google.sai.apps.watchme.VideoStreamingConnection.open(VideoStreamingConnection.java:71)
at com.google.sai.apps.watchme.StreamerService.startStreaming(StreamerService.java:73)
at com.google.sai.apps.watchme.StreamerActivity.startStreaming(StreamerActivity.java:163)
at com.google.sai.apps.watchme.StreamerActivity.access$200(StreamerActivity.java:39)
at com.google.sai.apps.watchme.StreamerActivity$1.onServiceConnected(StreamerActivity.java:55)
at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1223)
at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1240)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5438)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:762)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:652)
05-17 11:31:41.415 23434-25678/com.google.sai.apps.watchme E/ImageFetcher: Error in downloadBitmap - java.io.FileNotFoundException: https://i.ytimg.com/vi/FFvfpXcOpYk/default_live.jpgand FFMPEG class was
public class Ffmpeg {
static {
System.loadLibrary("ffmpeg");
}
public static native boolean init(int width, int height, int audio_sample_rate, String rtmpUrl);
public static native void shutdown();
// Returns the size of the encoded frame.
public static native int encodeVideoFrame(byte[] yuv_image);
public static native int encodeAudioFrame(short[] audio_data, int length);
}please someone help me.