Recherche avancée

Médias (3)

Mot : - Tags -/pdf

Autres articles (56)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

Sur d’autres sites (4666)

  • FFMPEG YouTube Live Too Fast

    6 avril 2017, par Liam Martens

    So 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/KEY

    4. 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 and bufsize 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 Bejinariu

    I 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 be Videos-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 second for then second video with second song from folder. etc

    


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

    


  • How to create/repair the XingHeader for total stream size using taglib or other tools ?

    6 novembre 2012, par user784637

    I downloaded a video from youtube whose audio was encoded in aac and then I transcoded it to an mp3 using the libmp3lame codec.

    $ ffmpeg -i video.mp4 -vn -acodec libmp3lame -ab 128K -- cold.mp3

    Now when I try to write id3 tags to it using the taglib example tagwriter I get the following warning :

    $ ./testwriter -t 'stuff' cold.mp3
    TagLib: MPEG::XingHeader::parse() -- Xing header doesn't contain the total stream size.

    The id3 tags are written and display correctly, but the lack of well formed XingHeaders causes older mp3 players to loop the song several times or even crash (I don't know why, this song has been encoded as cbr not vbr.) In windows 7 the Bit rate displays as 0kbps.
    enter image description here

    How do I create a wellformed XingHeader for total stream size using taglib or other tools that can be executed from the commandline ?

    Here's some documentation for xingheaders on taglib

    http://taglib.github.com/api/classTagLib_1_1MPEG_1_1XingHeader.html#ac0ba25f2922757c4bdd2851fdc2ccdde

    http://taglib.github.com/api/xingheader_8h_source.html