
Recherche avancée
Autres articles (35)
-
Qualité du média après traitement
21 juin 2013, parLe bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...) -
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
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 (7566)
-
Stream Live IP cam to Youtube on FFMPEG
24 juillet 2018, par Håkon BerntsenI`m streaming 2 IP cams (live webcam for tourists) from 2 Raspberry Pi, using FFMPEG (version 3.4.2) to YouTube. IPcam no.1 and Raspberry no.1 fails once a month or so, and that issue is solved with a Cron job that restarts the scripts if the service is not running.
The stream from IPcam no.2 fail after 1 hour to maybe 24 hours, even though its the same FFMPEG command and same setup.
FFMPEG keep streaming and the service is running on the Raspberry. YouTube stop receiving the stream, but there is no logs to be found at YouTube.The bandwidth is not an issue (fiber), and the cameras are both connect with Cat5 cable. The only way to restart the stream (so YouTube restart the stream) is to restart the service (since its an cronjob that restart the service only if the service is no longer running, I`m forced to do a pkill). I have also tried to set up another cron job that kills the service every 15 minutes, but its not really an elegant solution.
Both cameras streams H264.
Stream no.2 can be seen here : https://www.youtube.com/embed/live_stream?channel=UCEJJjA5IsjE0JjuiqfxZFaw
The command I`m using is :
COMMAND="sudo ffmpeg -f lavfi -i anullsrc -thread_queue_size 512 -rtsp_transport tcp -i ${RTSP_URL} -vcodec libx264 -pix_fmt + -c:v copy -c:a aac -f flv ${YOUTUBE_URL}/${YOUTUBE_KEY}"
I hope there is someone that can help with ideas to the command or to why the stream fail.
-
Node JS merge audio and video using ffmpeg [closed]
31 août 2021, par ashmit mittalI am working on ytdl-core and i am not able to download high quality video. because youtube has them in sperate files. Therefore, I need to download audio and video seperately then merge them using ffmpeg. an example can be check here.
Is there is a way to merge audio and video streams and send the result to the users(frontend) directly for download ?


-
ffmpeg desktop stream to m3u8
19 juin 2019, par 5inchbanging my head against the wall !
What I want, stream my Desktop with FFmpeg to web site.My setup is windows 10 Pro + apache + ffmpeg
C :\Program Files\ffmpeg-3.4.1-win64-static\bin\ffmpeg.exe" -f gdigrab -framerate 10 -offset_x 10 -offset_y 20 -video_size 800x600 -show_region 1 -i desktop -s 800x600 -c:v libx264 -b:v 800000 -segment_time 3 -start_number 1 "mystream.m3u8"
what is not working the multisection ".ts" file are not limited by the -segment_time 3 and I tried : -hls_time 2 -hls_list_size 2
Don´t know if this is Apple related or so.
Looking at the FFmpeg docs and help file does not work for me.
Please, do you have any advice what command syntax to limit the .ts file amount.Many thanks, 5inch