Recherche avancée

Médias (91)

Autres articles (60)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (3632)

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

    


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



    


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