
Recherche avancée
Autres articles (24)
-
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 (...) -
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site -
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 (...)
Sur d’autres sites (5912)
-
Problem when adding background music to video without sound
27 avril 2020, par Nguyễn TrọngI am trying to cut a piece of background music and loop them into a video and change the speed of the video with the command below.



String[] cmd = {"-y", "-i", input, "-i", shortsound,
 "-filter_complex",
 "[0:v]trim=0:120,setpts=1/2*(PTS-STARTPTS)[v1]," +
 "[0:v]trim=120:240,setpts=1/2*(PTS-STARTPTS)[v2];" +
 "[1:a]atrim=0:6,asetpts=PTS-STARTPTS," +
 "asetrate=44100,aloop=-1:2e+09," +
 "aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo,volume=1.0[bg];" +
 "[0:a]atrim=0:120,asetpts=PTS-STARTPTS,atempo=2.0" +
 ",aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo[a1]," +
 "[0:a]atrim=120:240,asetpts=PTS-STARTPTS,atempo=2.0," +
 "aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo[a2];" +
 "[v1][a1][v2][a2]concat=n=2:v=1:a=1[video][audio];[audio]volume=0.5[avolume];" +
 "[avolume][bg]amerge=2,pan=stereo|c0code>



Everything was fine until I tried with a video without sound, it didn't work.
How when input is a video without sound ?


-
Crackling noise and other audio defects when live streaming (only) on YouTube
7 août 2020, par almosnowI am using ffmpeg to transcode and stream a live video, using rtmp. Everything works fine BUT the audio that comes out on the YouTube end has cracks and pops, like what you would expect to hear when your sound card's buffer is saturated.


What's weird is that I am sending the exact same information to different services, and only YouTube seems to have a problem with it. For this I am using
ffmpeg
'stee
, like this :

ffmpeg -i - -deinterlace -map 0 -flags +global_header 
 -f tee "[f=flv:onfail=ignore]rtmp://twitch/key|[f=flv:onfail=ignore]rtmp://youtube/key|out.flv"'



So, the twitch end sounds great, the output file that I'm rendering also sounds good. Only on YouTube it sounds really bad.


I thought it may be the audio codec, the audio settings I'm using are
-c:a aac -b:a 128k -ar 44100
; but I've tried different things (using an mp3 codec, different bitrates) and it always sounds like that. Also AAC seems to be supported according to their own (YT) guidelines.

What could it be ?


-
Record and stream desktop to Youtube by ffmpeg with HD resolution
1er juillet 2021, par Do Ngoc TuanI want to record and stream desktop to Youtube live by FFmpeg. But the output resolution is very low, maximum 360.
What options I need to change ?



ffmpeg -framerate 30 -f x11grab -i :1 -f pulse -i default -c:v libx264 -s 1920x1080 -r 60 -b:v 5000k -crf 10 -vf format=yuv420p -c:a aac -b:a 128k -f flv rtmp://a.rtmp.youtube.com/live2/stream_key