
Recherche avancée
Autres articles (84)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
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 (...) -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...)
Sur d’autres sites (9573)
-
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


-
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 -
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.