Recherche avancée

Médias (91)

Autres articles (63)

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

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (4967)

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

    


  • how to add subtitle and watermark on multi videos at same time in ffmpeg ?

    16 novembre 2020, par shadymelad

    i want to know how to add sutitle and watermark for maulti videos on one folders by FFMPEG like game of thrones all episode ?
i make watermark for all folders one time by useing thie code

    


    


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

    


    


    but i want to add subtitle on the code
any one can help ?

    


    update
i try this code

    


    


    ffmpeg -i .mkv -i Cima2u.png -filter_complex "[0]subtitles=.srt[v] ;[1][v]scale2ref=w='iw*10/100':h='ow/mdar'[wm][vid] ; [vid][wm]overlay=main_w-overlay_w-5:main_h-overlay_h-5" -preset fast % ni.mp4

    


    


    but this for one file if i want to make it for folder many files can i ?

    


  • Why after rendering with ffmpeg, file size did not decrease ?

    15 avril 2021, par ptrra

    PROBLEM : After rendering a certain video with ffmpeg file size increased from 4GB to 6GB.
    
ORIGINAL VIDEO : EE1.mkv
    
FFMPEG COMMAND : ffmpeg -i EE1.mkv -c:a copy -c:v libx264 -crf 23 -preset medium -profile:v high out.mp4
    
QUESTIONS : Why did the file size increase ? What am I doing wrong ?

    


     !DETAILS !
    
After a few years I made about 30 gaming videos (130GB) and with the current covid-19 situation I started recording my online classes (about 40 videos or 150GB). Now because I'm lacking space on my 1TB external HDD I started getting into ffmpeg. Before I was only using obs-studio and not good parameters for recording.

    


    I was using CBR mode for recording, either 5000KB or 15000KB bit rate with varying x264 presets and profiles because I was also experimenting with them. Usually superfast preset with high profile. So I wanted to convert all those videos with ffmpeg using CRF 23, medium preset and high profile. A note that when I'm recording with obs-studio it's set to record in matroska format (.mkv).

    


    When I was rendering my online classes videos with these settings I managed to achieve 10x better compression with the same quality. And when rendering my gaming videos I managed to achieve up to 3x better compression with the same quality. However there is this one video that when rendered with the same parameters the file size increases.

    


    The EE1.mkv should be recorded with CBR 15000KB bit rate, with superfast preset and high profile. Also the game that is recorded in this video is Empire Earth which needs around 8000KB for it to look good. Everything more than 8000KB is not needed.

    


    Thank you all for your help.