Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (95)

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

  • Moviepy python images and text with colour background video

    7 janvier, par sjpatel

    I trying to create video like below using Moviepy python.?

    


    Video -
https://assets.json2video.com/examples/marketing/slide-text-right.mp4

    


    Is this possible using Moviepy python ? I can't use FFMPEG because it not supported on my server.

    


    from moviepy.editor import *

# Load the image
img_clip = ImageClip("your_image.png")

# Set the duration of the image clip
img_clip = img_clip.set_duration(5)

# Resize the image if necessary
img_clip = img_clip.resize(height=1080)  # Keep the height consistent

# Define your text
text = "Your Marketing Message"

# Create a TextClip
txt_clip = TextClip(text, fontsize=70, color='white')

# Set the duration of the text clip
txt_clip = txt_clip.set_duration(5)

# Animate the text to slide in from the right
def slide_in(t):
    return 'center', -1000 + 1500 * t  # Adjust these values based on your needs

txt_clip = txt_clip.set_position(slide_in)

# Set background color
txt_clip = txt_clip.on_color(size=(1920, 1080), color=(0, 0, 0), col_opacity=1)

# Position the image on the left side
img_clip = img_clip.set_position(('left', 'center'))

# Position the text clip on the right side
txt_clip = txt_clip.set_position(('right', 'center'))

# Composite the two clips together
final_clip = CompositeVideoClip([img_clip, txt_clip])

# Set the duration of the final clip
final_clip = final_clip.set_duration(5)

# Save the video
final_clip.write_videofile("image_and_slide_text.mp4", fps=24)


    


  • FFMPEG syntax clarification question for the "between" function [closed]

    31 octobre 2024, par user2571504

    I've been using a crop filter script to hold the crop in one place for the first 750 frames, then automate a moving crop to follow some action in the clip. It's working great for chunky moves (5 pixel jumps as shown below) :

    


    -filter_script:v:0 crop-filter-script.txt

crop='1500:1000:100:
if(between(n,0,750),100,
if(between(n,751,756),105,
if(between(n,757,762),110,
if(between(n,763,768),115,
if(between(n,769,774),120,
if(between(n,775,780),125,
if(between(n,781,786),130,etc


    


    My question is about how "between" is interpreted. Does "between(n,751,756)" mean "frames 751, 752, 753, 754, 755 & 756" ? or does it exclude the start and ending frames, so that it's "between" those two numbers ? Like : 752, 753, 754 & 755 only ?

    


    Thanks !

    


  • extract subtitles from mp4 with ffmpeg [closed]

    15 février 2024, par Tom Tapas

    Can some one help me with this ?
Perhaps it's not even possible :
tom@Toms-MBP-50 SrtTest % ffmpeg -i Wraak.mp4
ffmpeg version 6.1.1 Copyright (c) 2000-2023 the FFmpeg developers
built with Apple clang version 15.0.0 (clang-1500.1.0.2.5)
configuration : —prefix=/opt/homebrew/Cellar/ffmpeg/6.1.1_3 —enable-shared —enable-pthreads —enable-version3 —cc=clang —host-cflags= —host-ldflags='-Wl,-ld_classic' —enable-ffplay —enable-gnutls —enable-gpl —enable-libaom —enable-libaribb24 —enable-libbluray —enable-libdav1d —enable-libharfbuzz —enable-libjxl —enable-libmp3lame —enable-libopus —enable-librav1e —enable-librist —enable-librubberband —enable-libsnappy —enable-libsrt —enable-libssh —enable-libsvtav1 —enable-libtesseract —enable-libtheora —enable-libvidstab —enable-libvmaf —enable-libvorbis —enable-libvpx —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxml2 —enable-libxvid —enable-lzma —enable-libfontconfig —enable-libfreetype —enable-frei0r —enable-libass —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-libopenvino —enable-libspeex —enable-libsoxr —enable-libzmq —enable-libzimg —disable-libjack —disable-indev=jack —enable-videotoolbox —enable-audiotoolbox —enable-neon
libavutil 58. 29.100 / 58. 29.100
libavcodec 60. 31.102 / 60. 31.102
libavformat 60. 16.100 / 60. 16.100
libavdevice 60. 3.100 / 60. 3.100
libavfilter 9. 12.100 / 9. 12.100
libswscale 7. 5.100 / 7. 5.100
libswresample 4. 12.100 / 4. 12.100
libpostproc 57. 3.100 / 57. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Wraak.mp4' :
Metadata :
major_brand : mp42
minor_version : 0
compatible_brands : isommp42
creation_time : 2023-06-09T11:22:49.000000Z
Duration : 00:02:46.86, start : 0.000000, bitrate : 3494 kb/s
Stream #0:00x1 : Video : h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv, progressive), 1280x720 [SAR 1:1 DAR 16:9], 3366 kb/s, 25 fps, 25 tbr, 25k tbn (default)
Metadata :
creation_time : 2023-06-09T11:22:50.000000Z
handler_name : Mainconcept MP4 Video Media Handler
vendor_id : [0][0][0][0]
encoder : AVC Coding
Stream #0:10x2 : Audio : aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)
Metadata :
creation_time : 2023-06-09T11:22:50.000000Z
handler_name : Mainconcept MP4 Sound Media Handler
vendor_id : [0][0][0][0]
At least one output file must be specified

    


    ffmpeg -i Wraak.mp4 -map 0:0 subtitles.srt