Recherche avancée

Médias (10)

Mot : - Tags -/wav

Autres articles (79)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Les images

    15 mai 2013

Sur d’autres sites (9082)

  • How can I cut segments of audio while keeping video intact in ffmpeg ?

    7 novembre 2022, par limejellodragon

    I am a newer user to ffmpeg, but I have a slightly complicated use case for it. I need to be able to cut multiple sections out of a video and/or multiple sections out of the audio, with the actual length of the video remaining intact, like a video editor (e.g. the audio would cut out but the video continues, or the video continues but the audio cuts out). I have been slowly learning about complex filtergraphs, but a little help would be VERY much appreciated.

    


    this is currently my super basic "test script" to see if I can get it to work (in it's actual use case, the timestamps will be variables in a python program)

    


        ffmpeg -i bdt.mkv -filter_complex 
    [0:v]trim=start=10.0:end=15.0,setpts=PTS-STARTPTS[0v];
    [0:a]atrim=start=10.0:end=15.0,asetpts=PTS-STARTPTS[0a];
    [0:v]trim=start=65.0:end=70.0,setpts=PTS-STARTPTS[1v];
    [0:a]atrim=start=65.0:end=70.0,asetpts=PTS-STARTPTS[1a];[0v][0a][1v]
    [1a]concat=n=2:v=1:a=1[outv][outa] -map [outv] -map [outa] out.mp4


    


  • How can I cut segments of audio/video while keeping the other track intact in ffmpeg ?

    8 novembre 2022, par limejellodragon

    I am a newer user to ffmpeg, but I have a slightly complicated use case for it. I need to be able to cut multiple sections out of a video and/or multiple sections out of the audio, with the actual length of the video and audio files remaining intact (e.g. the audio would cut out but the video continues, or the video continues but the audio cuts out). I have been slowly learning about complex filtergraphs, but a little help would be VERY much appreciated.

    


    this is currently my super basic "test script" to see if I can get it to work (in it's actual use case, the timestamps will be variables in a python program)

    


        ffmpeg -i bdt.mkv -filter_complex 
    [0:v]trim=start=10.0:end=15.0,setpts=PTS-STARTPTS[0v];
    [0:a]atrim=start=10.0:end=15.0,asetpts=PTS-STARTPTS[0a];
    [0:v]trim=start=65.0:end=70.0,setpts=PTS-STARTPTS[1v];
    [0:a]atrim=start=65.0:end=70.0,asetpts=PTS-STARTPTS[1a];[0v][0a][1v]
    [1a]concat=n=2:v=1:a=1[outv][outa] -map [outv] -map [outa] out.mp4


    


  • Some modifications for ffmpeg scripts

    21 mars 2021, par FoxFr

    I wish to modify the following script to put some options, obviously if you can explain ... is better my learning

    


    ffmpeg \
-i /dev/video0 \
-r 1 -stream_loop -1 -f image2 -i "/home/pi/videopi/map/map.jpg" \
-stream_loop -1 -re -i "/home/pi/videopi/bed.mp3" \
-filter_complex "[0][1]overlay=enable='lt(mod(t,20),10)'[v];[v]drawtext=textfile=/home/pi/videopi/gps.txt:reload=1:x=30:y=350:fontfile=/usr/share/fonts/truetype/lato/Lato-Black.ttf:fontsize=30:fontcolor=white[v]" \
-map "[v]" \
-map 2:a \
-c:v libx264 -b:v 4000k -maxrate 4000k -bufsize 8000k -g 50 -c:a aac \
-s 640x480 \
-f flv rtmp://a.rtmp.youtube.com/live2/[google_key_stream]


    


    My desired customization :

    


      

    • Add an another webcam (-i /dev/video1) : 30" video0 -> 30" video1 -> 10" image2 -> 30" video0 ... (a loop)
    • 


    • Add a png overlay on the final comp
    • 


    • how add a transparent png behind the text
    • 


    • plug an audio input (by jack) to add over the bed.mp3
    • 


    • save the file in same time of live (-f flv live.mp4 ??)
    • 


    


    The part -filter_complex is the most difficult for me to understand

    


    Thanks you very much for you help, it's for finish my personal and important project