Recherche avancée

Médias (91)

Autres articles (54)

  • Publier sur MédiaSpip

    13 juin 2013

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

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

Sur d’autres sites (9632)

  • Can you stream multiple video clips to youtube or twitch with a separate audio track with a different length than the video clips with FFMPEG ?

    8 juin 2020, par Fight Fire With Fire

    What I'd like to do is stream a set of video clips to youtube or twitch using FFMPEG. Right now i loop thru the videos file names in a list called DIRECTORY. video[0] is the file name and send to stream_url with the audio for the video attached.

    



    What i would love to figure out, is there a way I could mux in a single audio track streaming to youtube/twitch but switch the video clips out live. Here is the code I am working with right now :

    



    
     for video in directory:
            command = [
            "ffmpeg" , "-re" , "-i" , video[0] ,
            "-vcodec" , "libx264", "-pix_fmt", "yuv420p",
            "-preset" , "medium" , "-r" , "30" , "-g" , "48" , "-b:v" , "2500k" ,
            "-acodec" , "libmp3lame" , "-ar" , "44100", "-threads" , "6" ,
            "-q:a" , "3" , "-b:a" , "712000" ,"-bufsize", "512k" , "-f" ,
            "flv" , STREAM_URL,
        ]
             subprocess.run(command)



    


  • How to add a scrolling text of the audio file song name on a sepecific part of a video and stream it to youtube using ffmpeg

    5 novembre 2022, par Youssef Lasheen

    I know this is s very long and specific question but it can be broken down to these points :

    


      

    • How to add a text of song name on video
    • 


    • How to scroll in a specific area not from the beginning of the video to the end
    • 


    • How to stream a looping video and loop through multiple audio files to youtube/twitch.
    • 


    


    I kinda got the third point but i think its not an elegant solution

    


    ffmpeg -re -stream_loop -1 -i back.gif -safe 0 -i mylist.txt -c copy -map 0:v:0 -map 1:a:0 -c:v libx264 -preset veryfast -b:v 3000k -maxrate 3000k \ -bufsize 6000k -pix_fmt yuv420p -g 50 -c:a aac -b:a 160k -ac 2 \ -ar 44100  -f flv rtmp://live.twitch.tv/app/$key

    


    I also found this script that adds a scrolling image (input.jpg) to specific aree of a video but i coudlnt integrate it with the script above

    


    ffmpeg -y -ignore_loop 0 -r 25 -i back.gif -loop 1 -r 25 -i input.jpg -filter_complex "[0:v]crop=270:257:360:55[c0];[c0][1:v]overlay=y='257-t*257*0.04':eof_action=endall[fg];[0:v][fg]overlay=x=360:y=55:eof_action=endall" -t 50 output.mp4

    


  • audio discontinuity in ffmpeg joined youtube video

    1er novembre 2016, par MrPeach

    I downloaded 4 parts of a video of youtube, and I wanted to join them.

    My first (conservative) attempt :

    echo file 'Part 1.mp4' > m
    echo file 'Part 2.mp4' >> m
    echo file 'Part 3.mp4' >> m
    echo file 'Part 4.mp4' >> m
    ffmpeg -f concat -i m -c copy 1a.mp4

    Result : A/V sync good, at transition video garbled, audio discontinuity

    Second (extreme) attempt :

    echo file '1.avi' > m
    echo file '2.avi' >> m
    echo file '3.avi' >> m
    echo file '4.avi' >> m

    ffmpeg -y -i "Part 1.mp4" -f avi -acodec pcm_s16le -ac 2 -ar 44100 -vcodec rawvideo -pix_fmt yuv420p 1.avi
    ffmpeg -y -i "Part 2.mp4" -f avi -acodec pcm_s16le -ac 2 -ar 44100 -vcodec rawvideo -pix_fmt yuv420p 2.avi
    ffmpeg -y -i "Part 3.mp4" -f avi -acodec pcm_s16le -ac 2 -ar 44100 -vcodec rawvideo -pix_fmt yuv420p 3.avi
    ffmpeg -y -i "Part 4.mp4" -f avi -acodec pcm_s16le -ac 2 -ar 44100 -vcodec rawvideo -pix_fmt yuv420p 4.avi

    ffmpeg -f concat -i m -c:a libvo_aacenc -c:v h264 1b.mp4

    Result : A/V sync issues in first section, at transition slight jump in video, audio discontinuity

    I have no idea how to fix this. Thoughts ?

    Update :

    Both the audio and video exhibit issues - skipping and duplication of a short section at some joins.

    My ultimate solution was to check the a&v section joins for duplication and trim that off if it exists, and for the audio cut out any silence sections as best as the waveform allowed. Lastly, modify the audio tempo to match the length of the video.

    It’s a terrible hack, but it’s what I’m stuck with. If anyone ever comes up with a better approach, I’d love to hear of it.