Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (111)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    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 (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • HTML5 audio and video support

    13 avril 2011, par

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

Sur d’autres sites (7602)

  • audioread.NoBackendError on augmented audio files

    23 mars 2019, par elongated space

    Problem :

    I have applied a number of augmentation techniques such as pitch shift and stretching to a number of wav clips and have outputted them to a folder - Windows 10 plays these clips fine.

    However, when i try to load these clips with librosa using the following code :

    wav_clip, sample_rate = librosa.load(file_path, mono=True, sr=None)

    i get "audioread.NoBackendError"

    What I’ve Tried :

    Installed ffmpeg using this video https://www.youtube.com/watch?v=xcdTIDHm4KM. to confirm it worked i entered the following into windows command line :

    "ffmpeg -version"

    Where i got an output of the version and configuration details.

    I have also tried to import ffmpeg from the list of available packages in PyCharm, but i still get the error.

    Am i missing something ?

    All the original, unaltered wav files work and load fine.

  • Turn Mp4 File into Portrait Video

    5 avril 2022, par Tech Breaker

    I recently programmed a bot, which uses the Twitch API to scrape Twitch videos, and then post them on YouTube. This is my youtube channel if you want to see an example : https://www.youtube.com/channel/UCuhWw8LbPWdkybIF9olAszw

    


    The problem that I am having is I want to find a way to convert these regular twitch videos, into youtube shorts which I can automatically upload. The facecam does not need to be included, and the entire video can just be compressed into a 9:16 format.

    


    I already tried FFMPEG but I don't know if I am doing it correctly, and really need help or advice on how to do this.

    


    Here is an example of a video I would try to convert :
https://www.youtube.com/watch?v=hZecXrvd6_g

    


    (excuse the explicit language, this is just the first video I saw on my bot channel)

    


    Tldr : Convert mp4 file into a 9:16 video format

    


    EDIT :

    


    Command i ran : ffmpeg -i video.mp4 -vf scale=1280:720 output.mp4

    


  • Creating a smooth animation with ffmpeg filters

    30 mai 2021, par user1503606

    I am trying to add a watermark to a video using ffmpeg and have it animated from left to right in the center of the video.

    


    I have it working with the following command.

    


    ffmpeg -y -i Volkswagen.mp4 -loop 1 -i logo.png -filter_complex overlay=x='W/30*mod(t,30):enable=gt(mod(t,60),0)':y=main_h/2-overlay_h/2:shortest=1 Volkswagen_watermarked.mp4


    


    It works but the outcome looks like this.

    


    https://www.youtube.com/watch?v=M31wG2ub1Lg

    


    The video is from here : https://gist.github.com/jsturgis/3b19447b304616f18657

    


    http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/VolkswagenGTIReview.mp4

    


    As you can see its not very smooth. I am just trying to get my head around the ffmpeg filter functions this is the first time I have used them so would appreciate some advise or is this as good as it gets ?

    


    I have looked at a few other posts but cant find any that can help with this maybe there is another filter I should be using ?

    


    I can run a draw filter command like this and the animation is smoother.

    


    ffmpeg -y -i Volkswagen.mp4 -vf "drawtext=fontfile=/Montserrat-Medium.ttf:text='Text':x=200:y=h-20*t: fontsize=36:fontcolor=yellow@0.9: box=1: boxcolor=black@0.6" -c:a copy VolkswagenText.mp4


    


    But it is obviously not looping.

    


    https://www.youtube.com/watch?v=wdANCWUHaMc

    


    I dont really understand whats happening here.

    


    w*mod(t\,10):enable=gt(mod(t\,60)\,0)

w = width of text
t = time in seconds


    


    I understand if I just have this.

    


    -filter_complex "overlay=x=w*t:y=main_h/2-overlay_h/2:shortest=1"

w*t = every second the x position is incremented by the text width * time


    


    so if the text width is 100px it would be something like this.

    


    1x100 = 100;
2x100 = 200;
etc


    


    What does the mod() function do ? I cant find any help really here https://ffmpeg.org/ffmpeg-filters.html

    


    is this saying when x is greater than the width of the viewport start again ?

    


    enable=gt(mod(t\,60)\,0)


    


    Thanks