Recherche avancée

Médias (33)

Mot : - Tags -/creative commons

Autres articles (105)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (12253)

  • Subtitles in video with NodeJS and FFMpeg Fluent Api

    23 juillet 2016, par João Santiago

    I try to include subtitles (srt) in na vídeo stream with Node JS and FFMpeg... I’m try this away :

    var command = ffmpeg(file.createReadStream())
       .input("C:\\code.srt").videoCodec('copy')
     .videoCodec('libvpx').audioCodec('libvorbis').format('webm')
     .audioBitrate(128)
     .videoBitrate(1024)
       .inputFPS(75)
     .outputOptions([
       '-deadline realtime',
       '-error-resilient 1'
     ])

    And I got this error :

    [Error: ffmpeg exited with code 1: Encoder (codec none) not found for output stream #0:2

    Try this too, with —vf subititles= of documentation of FFMpeg and I’ve got this error :

    var command = ffmpeg(file.createReadStream())
         .videoCodec('libvpx').audioCodec('libvorbis').format('webm')
         .audioBitrate(128)
         .videoBitrate(1024)
           .inputFPS(75)
         .outputOptions([
           '-deadline realtime',
           '-vf subtitles=C:\\code.srt',
           '-error-resilient 1'
         ])

    Error: ffmpeg exited with code 1: Error opening filters!

    Someone knows a away of embed subtitles in vídeo with FFMpeg Fluent Api in Node.JS

    Sorry my English, I’m Brazilian ! Thank’s so much

  • FFMPEG filter_complex wih speedup and subtitles and scaling

    11 décembre 2015, par Sambir

    Hi I am trying to convert a file to a specific framerate and remove any jittering, jumping of the screen. I also try to boost the volume and add a subtitle overlay. I get an error with the curent line than it is not allowed to use complex_filter in combination with vf and af. as an extra I also would like to add text in the left corner (this i did not try yet) and would want the screen to be sized to full hd (changed scale to 1920:1080 but no succes).

    ffmpeg -i movie.mp4 -r 25 -filter_complex "[0:v]setpts=0.959*PTS[v];[0:a]atempo=1.0427[a]" -map "[v]" -map "[a]" -vf subtitles=sub.srt,scale=1920:1080 -af volume=2 -strict -2 -preset veryfast movie_new.mp4

    Got it !

    New :

    ffmpeg -i inside.mp4 -r 25 -filter_complex "[0:v]setpts=0.959*PTS[i];[i]scale=1920:1080[j];[j]subtitles=inside.srt[k];[0:a]atempo=1.0427[p];[p]volume=2[q]" -map "[k]" -map "[q]" -strict -2 -preset veryfast inside_new.mp4

    But now there is a new issue. Subs out of sync :P is there a easy fix for this or do i first need to encode without subs then resync then encode with subs ?

    found this link by the way Subtitle Resync Tool

    moviespeed is changed by 0.959. is there a calculation i can do to adjust the subtitles by x miliseconds ?

    EDIT : Got the subtitles fixed with subtitle workshop. Was just a small setting to change which directly shifted all the text :)

  • Raw extraction of frames from a movie

    29 septembre 2016, par vkubicki

    I would like to extract images from a grayscale mj2 movie. Each pixel is encoded using 16 bits. Since this is a technical movie, I need to extract the value at each pixel without processing, as those values linearly map to a physical quantity (a heatmap from an infrared camera). I am using Scala, and I do not find any suitable solution for a direct extraction (either in Scala or in Java, but I am a beginner). Therefore I intend to use ffmpeg to extract individual frames on the disk, then load them as BufferedImage in Scala and process them.

    Is this a good approach ? Which format should I use to avoid any transformation in the data ? I want each extracted frame to ba as "raw" as possible ? Is it possible to directly output a csv containing the aforementionned values ?