Recherche avancée

Médias (1)

Mot : - Tags -/stallman

Autres articles (72)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • 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.

Sur d’autres sites (9383)

  • convert multivideos from 1080p to 720p and add watermarks with subtitles ?

    20 novembre 2020, par shady melad

    0

    


    i will ask again i have many videos like series (dark - la casa de papel - game of thrones ) all of them without any subtitle or watermark first i burn subtitles with handbrake sec i use ffmpeg to burn watermark with videos by this code

    


    for %i in ("C :\Users\shady\Downloads\convert\01*.mp4") do ffmpeg -i "%i" -i C :\Users\fady\Downloads\convert\shady.png -filter_complex "overlay=main_w-overlay_w-10:10" -codec:a copy "C :\Users\shady\Downloads\convert\new01% ni.mp4"

    


    then i convert it to 720p with this code

    


    for %i in (C :\Users\shady\Downloads\convert\01*.mp4) do ffmpeg -i "%i" -c:a copy -s hd720 "C :\Users\shady\Downloads\convert\new01% ni.mp4"

    


    my question now if i want to burn subtitle for series dark all seasons with my watermark and the final file get out with 720p with subtitle with watermark on top at right

    


    can i do that ?

    


    watermark png subtitle srt movies come with mkv not mp4 ( i want the final file come with mp4 )

    


  • ffmpeg does not follow vframes

    15 décembre 2020, par oo92

    I'm trying to take screenshots of Twitch streams through the API using ffmpeg. I want to take 500 screens per category but I am getting an average of 50 screenshots. This is what I have :

    


    username = streams_now[i]['channel']['name']
id = streams_now[i]['id']
game = streams_now[i]['game']
game = game.translate(str.maketrans({':':'-', ' ':'-', "'":'', '!':'', '&':'_', '.':'', '+':'_'}))
streaming = streamlink.streams('http://twitch.tv/' + username)
stream = streaming["best"].url
dir_path = current_dir + '/logorec-dataset/' + game
os.mkdir(dir_path)

subprocess.call('ffmpeg -i ' + stream + f' -ss 20 -threads 2 -vframes 500 -r 1 -f image2 -strftime 1 {dir_path}/%Y%m%d%H%M%S_' + str(id) +'_'+ '.jpg&', shell=True)



    


  • FFmpeg ignores the -r parameter in IDE

    19 décembre 2020, par oo92

    I am using FFmpeg to take screenshots of live streams from Twitch API. It is supposed to take 1 screenshot every 10 seconds. When I run this command in terminal :

    


    ffmpeg 
-ss 30 
-i https://video-weaver.yto01.hls.ttvnw.net/v1/playlist/CvIDlyFiINn0ouutK9xwQnslAsRDXyOUi8M54HZKwgbqbk3vZZuf9Yv-1Cb1Bgr8qMn6B4cN5SEtBdzNU612PMA1Il0VeTQHON-OOnQhMfL3LxsOiNv4W7qo6jk9-hOGxS6txUdj44rr_nbAzD13wiz_2Bo2vUh7-PH8_uqpcNa4AGLiocZ4fAR_VXnSLowpgIIDJqjbd95BdtOEB7T7Oug3mWSVsv2EL_wF1sH-FxPxvyDV46I69_tf_B29gTSnl7G3dWk-hX-TVUeSsqfv6GKlO1SOieVy1eEY8T5DVCf_hK8aycsD7UWClhzm_CMOd_390qIg4fk2dvxi_rIQWiPLwmc5odvfNINskYDF5zBCauGBFAszqm1D0WMLrK_QWkbn5zV_-6r8P4uOlnxbSrQh8BlniXy4T-agiLW3soDLNPFjEM-qtFPUIlLQtrxkf-jCJKNmig53TdEIf35FKqccoFqDnP_8d3ToiSao9afZAIHdu4xjKo7nySVr3aqOiXHXacvp6T8cQJ5rRpFFHhCLPdCGeC2uqQ9__p86ABe8BuWAXKN8Mhv63Io5m6b-WqeDPBKf6TeDMsQuwKVvaiQgLgSi2W1mnYI2Ec1gSbizqYDQbmlGH5qnFs-ta0hSs7zDqFhodborBd80-uVrsYj6NPZGEhBH_B6BYCtXMZVWHXCP-wn8GgxFv8q_Ow4-zRiu6ak.m3u8 
-frames:v 100 
-r 0.1 
-f 
image2 
/home/me/Desktop/datasets/image-dataset/test/40409534908_%03d.jpg> /dev/null 2>&1 < /dev/null


    


    It works well. I have 100 screenshots that are taken 10 seconds apart. Exactly what I want but this is only for one stream. When I run this in a for loop :

    


    user = techzz
id = 39918008013
game = Teamfight-Tactics
stream = https://video-weaver.yto01.hls.ttvnw.net/v1/playlist/Cu4DiJ7T6qlPgUNWaoBhjTtJBwsLjuYEsIKkKCfHptotlZse2SMXQQOkTtkXu9-v4e8_wWQkv-oVxixhL5e6X55OdtIBUiC-9sDgTN8fzz5_Uo8xUi7Yx_3lc2soWBy3xRQkqLIyFkPc02j2AG46OwrLF7oxjD4wxRUiTACoNVQPSLemMtZMGhVI8Yo4N6TacyF-8QQfVlyMFW6M1baPu7tSU_xTRL-4bNQMmnXYYtiEKdH1takb22ouZpiUXrHBcCxBugc5-UEJZfnTurCdVHtOkS49PYoml_HdLBSPFuiWlsTaODV_f3po35MvAIF1kYv7j3LMAfsS6QGrwoMO1Jkr5RtVOE_vUgNVCzhZuqWL5p0CHXL2kEK7o5reUEQ1wkPqpt2sqGx6p57ZltrpCpwf1kq4gUpc1CP-vJiby3cz5QxIn41Whc14DFOF-lzi72BIWH-dMUQ6AChE68jAA8TkS5JYu35H6jTaqLINqHgN11E1VGfxUSyEK9tM3KAm4NmoF1tGfATj0SqAKALX_Fj1bTJU71s9_rc1EZ76b8lIS5WjPqgEcy2GhUzbpqRwom8KlnC7Bcg7tk9Oq4YuujNcZFW2XvcvitbckpJ4bUjRD4HdVOOsfjSlUpIy33N8ioqYytHeHQsmupo904eRtVISEGzDzAPuzNdP6A282flEjIQaDKCInhO3tyoNLs0XtA.m3u8
dir_path = /home/me/Desktop/datasets/image-dataset/test/

subprocess.call('ffmpeg -ss 30 -i ' + stream + f' -frames:v 100 -r 0.1 -f image2 {dir_path}/' + str(id) + '_' + '_%03d.jpg> /dev/null 2>&1 < /dev/null &', shell=True)



    


    I get 100 screenshots that are all taken at the same time. So, for some reason, FFmpeg behaves differently on PyCharm..