Recherche avancée

Médias (91)

Autres articles (89)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (4638)

  • 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 doesn't stream from RTSP ; "qavg : nan"

    2 avril 2018, par vaaski

    while trying to convert an RTSP stream from an IP-cam to a web-usable format, I’ve run into the following issue with FFMpeg :

    I’ve tried to test streaming with this command :

    ffmpeg -i rtsp://user:pw@192.168.0.22/0 -vcodec copy out.mp4

    This is the output in the console.

    It seems to fail silently because the resulting output file is about 300 bytes and not playable.
    I can also verify that the IP-cam is working, because playing the rtsp :// url via VLC network stream works fine, although it takes about 10 seconds for any image to show up.

    Edit : I’ve initially tried re-streaming the IP-cam with rtsp-ffmpeg, but that didn’t work and also didn’t print any errors.

  • HTML5 Video tag switcher for multiple resolutions

    20 avril 2016, par somecalmetim

    I have a Rails 4 app setup as a video upload/sharing site. I am using paperclip to upload videos and ffmpeg for processing 2 sizes of video into Mp4, ogg and webm.

    I want to show the smaller 240p video to mobile devices. I can do that now with media queries or Bootstraps adaptive tags but I would prefer a "resolution switcher" button similar to what I see on various other sites showing "240, 480, 720, 1080" Is this possible to do automatically within the HTML5 video tag similar to the "CC Closed Captioning" button that appears when you add subtitle files ?

    I was trying to avoid using a custom player.

    This was my quick bootstrap solution but would prefer a button/switcher.

    <div class="hidden-xs">
       <video style="width:100%" autobuffer="autobuffer" controls="controls" poster="&lt;%= @video.attachment.url(:preview) %>"><source label="720" type="video/mp4" default="default"><source label="ogg" type="video/ogg"><source label="webm" type="video/webm"><track label="English" kind="subtitles" srclang="en" src="/assets/subtitles.vtt" default="default"><p>Your Browser does not support the video tag.</p></track></source></source></source></video>
    </div>
    <div class="visible-xs">
       <video style="width:100%" autobuffer="autobuffer" controls="controls" poster="&lt;%= @video.attachment.url(:preview) %>"><source label="360" type="video/mp4" default="default"><source label="ogg mobile" type="video/ogg"><source label="webm mobile" type="video/webm"><track label="English" kind="subtitles" srclang="en" src="/assets/subtitles.vtt" default="default"><p>Your Browser does not support the video tag.</p></track></source></source></source></video>
    </div>