Recherche avancée

Médias (0)

Mot : - Tags -/organisation

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

Autres articles (46)

  • L’utiliser, en parler, le critiquer

    10 avril 2011

    La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
    Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
    Une liste de discussion est disponible pour tout échange entre utilisateurs.

  • Changer son thème graphique

    22 février 2011, par

    Le thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
    Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
    Modifier le thème graphique utilisé
    Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
    Il suffit ensuite de se rendre dans l’espace de configuration du (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (5405)

  • 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