
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (41)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (5462)
-
Youtube-dl convert to MP3 multi cores [on hold]
1er janvier 2017, par Top Games a-ZDo you know how to tell to youtube-dl to use all cpu cores when convert music (using ffmpeg) to mp3 ? Because it downloads the song but when it has to convert it uses just one core. Thank you.
-
FFMPEG YouTube Live Too Fast
6 avril 2017, par Liam MartensSo I am streaming video and audio to YouTube as follows
THE CONTEXT
1. First I convert a graphic GIF to an MP4 file
ffmpeg -f gif -i graphic.gif -c:v libx264 -pix_fmt yuv420p -vf scale=1280:-1 temp.mp4
2. Then I overlay a PNG with text over the MP4
ffmpeg -i temp.mp4 -i overlay.png -filter_complex "overlay=10:10" '.$graphicsPath.'/graphic.mp4
3. Then I start the stream the video and combine it with audio using following code (sources.txt is just a concat list *)
ffmpeg -f concat -i sources.txt -i music.mp3 \
-c:v libx264 -c:a aac -shortest -deinterlace \
-pix_fmt yuv420p -preset '.$encoding.' -r 30 -g 60 -b:v 2500k \
-acodec libmp3lame -ar 44100 -threads 6 -qscale 3 -b:a 712000 \
-maxrate 800k -bufsize 1400k \
-f flv rtmp://a.rtmp.youtube.com/live2/KEY4. After the stream ends, the code starts over again with a new song to mimic a 247 stream.
THE ISSUE
So the issue I am having is that it appears to be streaming too fast. It’s like the opposite of buffering issues where the buffer is way too long (as in a full song buffered by the time the first one has finished if you open the stream)
Does anyone know how I could throttle the output ? I have tried with
maxrate
andbufsize
but no real result.* sources.txt example
file ’graphic.mp4’
file ’graphic.mp4’
file ’graphic.mp4’
file ’graphic.mp4’
file ’graphic.mp4’
file ’graphic.mp4’
and so on -
Batch File : How can I make input videos to be sequentially named in same loop
2 décembre 2022, par Ionut BejinariuI end up with the code in this form.


the first ffmpeg .. its working alone but not inside the second
For

that's why I made a second one, also I did this because I need to increment the Videos-*
to be beVideos-1.mp4, Videos-2.mp4 ... Videos-99.mp4
, all the videos are in %videodir% named like this.

I tried also
"%videodir%\Videos-%d.mp4"
also"%videodir%\*.mp4"
for videos to be sequentially named loop after loop, but not worked for me.

@echo off
setlocal enabledelayedexpansion
 
set "musicdir=F:\MONTAJ VIDEO\video-simplu\MUZICA-wav-mp3" 
set "videodir=F:\LUCRU-VIDEO\primele-15sec" 
set "exportdir=E:\Export-yt-shorts

for /l %%c in (1,1,2200) Do (
 
 ffmpeg -i "%videodir%\Videos-%%c.mp4" -i "%videodir%\Videos-%%c.mp4" -filter_complex "[0:v]scale=3413:1920,boxblur=4[bg];[1:v]scale=1080:-1[fg];[bg][fg]overlay=(W-w)/2:(H-h)/2[tmp];[tmp]crop=1080:1920:(3413-1080)/2:0[out]" -map [out] -map 0:a output01.mp4
 
)

 for %%A in ("%musicdir%\*") DO (
 ffmpeg -i output01.mp4 -i "%%A" -map 0:v -map 1:a -vcodec copy -c:a aac -b:a 320k -shortest "%exportdir%\%%~nA.mp4"
 del output01.mp4
 )





Can anyone help me on this ? Thank you
Later Edit :
I want to explain the logic I thought about the two
FOR


I have two folders.
— 1 folders with mp4 videos wide ratio 16/9 Full HD


are named like this ---> Videos-1.mp4, Videos-2.mp4 .. Videos-3.mp4 ... Videos-2200.mp4


and 1 folder with music mp3 and wav's


in first
for
its first mp4 export that I want to combine with first song from the secondfor
then second video with second song from folder. etc

in the end I want to have 9/16 ratio video