
Recherche avancée
Médias (1)
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (43)
-
Qu’est ce qu’un éditorial
21 juin 2013, parEcrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
Vous pouvez personnaliser le formulaire de création d’un éditorial.
Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...) -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
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 (8689)
-
Youtube livestream stops receiving video from time to time (ffmpeg)
15 décembre 2020, par wht_5005I have ip cam, raspberry pi (Ubuntu 18.04.4 LTS (GNU/Linux 5.3.0-1036-raspi2 armv7l)) with ffmpeg (3.4.8-0ubuntu0.2) on board and I am trying to do 24/7 youtube livestream.
I have set up a service that start ffmpeg on boot. It receives rtsp stream from camera and sends it to youtube. Here is the ffmpeg setup :


ffmpeg -thread_queue_size 512 -rtsp_transport tcp -i rtsp://cam_address -c:v copy -af "aresample=async=1:first_pts=0" -c:a aac -ac 2 -ar 44100 -fflags +genpts -f flv rtmp://youtube_address -nostdin -nostats



I have noticed that ffmpeg may accidentally stop working from time to time (rather rarely but still) so the service should restart if ffmpeg crashes. Additionally just in case I have set up a cron job that restarts the service every hour, so if it stops working for some reason and that magic that should bring it up fails it should still get up within an hour.


What bothers me, sometimes it stops working but in an unusual way. The service on raspberry pi is running, ffmpeg is running as well, nethogs shows that ffmpeg is both receiving and sending proper amount of data. Stream status on youtube is all right as if everything was just fine but there is no video there (it looks as if it was still loading/buffering but it is not). Restarting the service does not make it work. However if I stop the service, wait a few seconds and start it again the youtube stream starts working as it is supposed to.


Why such things happen and how can I fix it ?


-
YouTube coding parameters [closed]
13 mai 2013, par Tim NI am trying to find the transcoding parameters to apply to a video to avoid recoding after upload.
Currently the best google seems to offer is lots of info on the API, and a 404 when it comes to the actual content itself. -
ffmpeg Gets 403 forbidden error from youtube-dl link
3 août 2019, par Yaron BrodskyI’m trying to download a part of a video from youtube. I use youtube-dl to get the direct link and then pass it to ffmpeg as an input to trim it, but I get an HTTP error 403.
I ran
youtube-dl --get-url --extract-audio https://www.youtube.com/watch?v=ZR38JWEsSD0
and got the following link :
I then used it in
ffmpeg -ss 00:00:00 -t 00:00:10 -vn -acodec mp3 test.mp3 -i [...]
.I got the following error -
HTTP error 403 Forbidden
https://r7---sn-oxu8pnpvo-i45z.googlevideo.com/videoplayback?expire=1564846578: Server returned 403 Forbidden (access denied)Any help please ?