Recherche avancée

Médias (10)

Mot : - Tags -/wav

Autres articles (36)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une 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 (...)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire 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 (...)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

Sur d’autres sites (7302)

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

  • 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

    


  • 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)