
Recherche avancée
Médias (91)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
avec chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
sans chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
config chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (78)
-
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 (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)
Sur d’autres sites (10789)
-
Nginx + rtmp + ffmpeg best practice to publish multiple resolutions streaming from video file
7 novembre 2019, par youssef hamdaneI want to make livestream from video file to multiple resolutions (480,720) using nginx and rtmp, what is the best practice that I can do for that :
1 - transcode video and store it with all resolutions that I need when user upload it using ffmpeg, and then publish every file directly
example :
rtmp {
server {
listen 1935;
notify_method get;
application live {
live on;
ffmpeg -re -i /path/video_720.mp4
-re -i /path/video_480.mp4
-map 0 vcodec libx264 -threads 0 -vprofile baseline -acodec aac -strict -2 -f flv rtmp://localhost:1935/show/${name}_720
-map 0 vcodec libx264 -threads 0 -vprofile baseline -acodec aac -strict -2 -f flv rtmp://localhost:1935/show/${name}_480
}
application show {
live on;
hls on;
hls_path /stream/live/hls;
hls_nested on;
record off;
# Instruct clients to adjust resolution according to bandwidth
hls_variant _720 BANDWIDTH=2048000; # High bitrate, HD 720p resolution
hls_variant _480 BANDWIDTH=448000; # Medium bitrate, SD resolution
}
}
}2 - keep original video and publish it on different resolutions with ffmpeg
example :
rtmp {
server {
listen 1935;
notify_method get;
application live {
live on;
exec_pull ffmpeg -re -i http://server_ip/$app/$name -vcodec libx264 -threads 0 -vprofile baseline -acodec aac -strict -2 -b:v 1920k -b:a 128k -vf "scale=1280:trunc(ow/a/2)*2" -f flv rtmp://localhost:1935/show/${name}_720
-vcodec libx264 -threads 0 -vprofile baseline -acodec aac -strict -2 -b:v 1024k -b:a 128k -vf "scale=854:trunc(ow/a/2)*2" -f flv rtmp://localhost:1935/show/${name}_480;
}
application show {
live on;
hls on;
hls_path /home/stream/live/hls;
hls_nested on;
record off;
# Instruct clients to adjust resolution according to bandwidth
hls_variant _720 BANDWIDTH=2048000; # High bitrate, HD 720p resolution
hls_variant _480 BANDWIDTH=448000; # Medium bitrate, SD resolution
}
}
} -
FFMPEG command is not Working when set project's target SDK version 29(Android Q issue)
1er juin 2020, par SAVALIYA REENAI am using the FFMPEG library to get a watermark stamp on video. It is working like charm in all versions when my project's target SDK version is 28 but when i set target sdk version 29, It gives me below exception.



E/FFmpeg : Exception while trying to run : [Ljava.lang.java.io.IOException : Cannot "/data/user/0/com.videowatermark.addtextandtimestampongalleryvideos/files/ffmpeg" : error=13, Permission denied



Caused by : java.io.IOException : error=13, Permission denied at java.lang.UNIXProcess.forkAndExec(Native Method) at java.lang.UNIXProcess.(UNIXProcess.java:133) at java.lang.ProcessImpl.start(ProcessImpl.java:141) at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) at java.lang.Runtime.exec(Runtime.java:698) at java.lang.Runtime.exec(Runtime.java:563) at com.github.hiteshsondhi88.libffmpeg.ShellCommand.run(ShellCommand.java:10) at com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:38) at com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:10) at android.os.AsyncTask$3.call(AsyncTask.java:378) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:919)



//show this error


-
Cannot Register my dll using regsrv32 but only with Release build, Debug build works ok
4 février 2020, par kiritI am having same problem as this question.
I have my own Dlls that uses ffmpeg (Ver 0.6.3) dlls (AVCODEC-52.dll, AVFormat-52.dll,.. all build under MinGW using mingw-get-inst-20110530) ..
I have the dlls and libs in my VC2008 project and it all builds ok in both debug and release mode and also runs ok... but if i try to register using regsvr32 it errors out for release Only (Debug works ok).
Checking my dll using dependence walker tool shows that this dlls are of readish color and shows CoCreateInstance, CoInitialize ...(i think this are part of old32.dll) are missing..Based on the above link looks like some kind of build issue with ffmpeg under minGW.. but details of the solutions is missing.. any help or suggestion are well come.