Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (50)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Emballe Médias : Mettre en ligne simplement des documents

    29 octobre 2010, par

    Le plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
    Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
    D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (9305)

  • avcodec/v4l2_context : don't reinit output queue on dynamic resolution change event

    4 janvier 2022, par Ming Qian
    avcodec/v4l2_context : don't reinit output queue on dynamic resolution change event
    

    Reference :
    linux/Documentation/userspace-api/media/v4l/dev-decoder.rst
    "During the resolution change sequence, the OUTPUT queue must remain
    streaming. Calling VIDIOC_STREAMOFF() on the OUTPUT queue would
    abort the sequence and initiate a seek.

    In principle, the OUTPUT queue operates separately from the CAPTURE
    queue and this remains true for the duration of the entire
    resolution change sequence as well."

    Reviewed-by : Andriy Gelman <andriy.gelman@gmail.com>
    Signed-off-by : Ming Qian <ming.qian@nxp.com>

    • [DH] libavcodec/v4l2_context.c
  • ffmpeg : is there a simple way to edit the video resolution, but keep all audio and subtitles

    21 avril 2022, par Arkeen

    I would like to lower video resolution - usually from .mkv files - but to keep all possible audio tracks (might be only one, might be several) and subtitles (might be none, might be several) from the original one. I also would like to keep as many encoding parameters as I can from the original video file (especially those I do not understand).

    &#xA;

    I am still new to ffmpeg : at first the idea seemed simple, but after many attempts, it seems it is more complex than that. Do I have to use the -filter_complex option ? It seems to be an overkill (or overcomplex) for what I thought to be an easy conversion, but I might be wrong.

    &#xA;

    I tried to combine -vf scale=-1:720 with -c copy -map 0, which gave me an error that I now understand, but I am stuck with the next step.

    &#xA;

    Any lead on to achieve that ? Could it be done with ffmpeg only or would I need a script ?

    &#xA;

  • preserve alpha channel when changing resolution in webm vp9 ffmpeg

    28 juin 2022, par Patrick Vellia

    I am running the streamio-ffmpeg gem in my Ruby code here to operate the FFMPEG command.

    &#xA;

    Setting a Webm with codec VP9 that has alpha transparent frames in it as the input, I want to change the resolution from 1080p to 720p and preserve the alpha transparent frames when outputting to the same format/codec.

    &#xA;

    I've tried it several different ways, but every time it outputs with a black background where the alpha transparent background should be, but ffprobe shows that ALPHA_MODE is set to 1.

    &#xA;

    Here's the command that streamio-ffmpeg tells the system :

    &#xA;

    ["/usr/local/bin/ffmpeg", "-y", "-i", "part1.webm", "-s", "1920x1080", "-aspect", "1.7777777777777777", "videos/movie_transparent_1920x1080.webm"]&#xA;

    &#xA;

    This one should have been exactly the same as the original, since the original resolution WAS 1080p. The resulting file is actually black background instead of transparent.

    &#xA;

    Here's my Ruby code :

    &#xA;

    def process_alpha_transparency(output)&#xA;    render_res = []&#xA;    case @height&#xA;    when 1080..2160&#xA;        render_res.append("1920x1080", "1280x720", "852x480")&#xA;    when 720..1079&#xA;        render_res.append("1280x720", "852x480")&#xA;    when 480..719&#xA;        render_res.append("852x480")&#xA;    when 0..479&#xA;        render_res.append(@resolution)&#xA;    end&#xA;&#xA;    formats = ["webm", "mov"]&#xA;    combined_time_start = Time.now&#xA;&#xA;    render_res.each do |res|&#xA;        formats.each do |format|&#xA;            puts "Rendering a #{res} resolution version."&#xA;            if format == "webm"&#xA;                options = {&#xA;                    resolution: res &#xA;                }&#xA;&#xA;                time_start = Time.now&#xA;                @movie.transcode("videos/#{output}_transparent_#{res}.#{format}", options)&#xA;                time_elapsed = Time.now - time_start&#xA;&#xA;                puts "Te resolution rendering completed in #{time_elapsed.to_i.to_s} seconds."&#xA;            end&#xA;        end&#xA;    end&#xA;&#xA;    combined_elapsed_time = Time.now - combined_time_start&#xA;    puts "The process completed in #{combined_elapsed_time.to_i.to_s} seconds."&#xA;&#xA;    &#xA;end&#xA;

    &#xA;