Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (76)

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

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

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

Sur d’autres sites (8362)

  • Give a video rounded transparent edges so that it can be overlayed on another video using FFMPEG

    30 septembre 2015, par Kevin Jasti

    Im trying to overlay a smaller video (200x200)on top of a bigger video (800x800).

    I’ve used the FFMPEG overlay filter to achieve this

       ffmpeg -i big.mp4 -vf "movie=small.mkv[clip2]; [in][clip2] overlay=1:5 [out]"  final.mp4

    Challenge is that the smaller video needs its edges to be rounded.
    I have tried working with alphaextract and alphamerge. The documentation on FFMPEG is sparse and im not sure how to go about it.

  • FFMPEG Adding intro video and scaling it to the original video

    10 octobre 2019, par Questions

    I have one intro video of fixed resolution, 1920x1080, and main videos with different resolutions. I could merge the videos using the following command

    ffmpeg -i intro.mp4 -i main.mp4 -i intro.mp4 -filter_complex " \
    [0:v]scale=640x352,setsar=sar=16/9[intro]; \
    [1:v]scale=640x352,setsar=sar=16/9[video]; \
    [2:v]scale=640x352,setsar=sar=16/9[outro]; \
    [intro][video][outro]concat=n=3[output]; \
    [0:a][1:a] acrossfade=d=1 [audio]" \
    -vcodec libx264 -map "[output]" -map "[audio]" "main__.mp4"

    This works perfectly if I specify the scales manually. But this doesn’t work for portrait videos which has resolution of 640x352 with rotation of -90 degrees, when I check them with ffprobe.

    Is there a way to scale the intro video dynamically to match the dimensions of the main video ? It’s fine if the intro video’s aspect ratio is distorted, and just retain the main video’s size.

  • How to add srt embedded subtitles from source video, to ouput hls playlist video ?

    2 mars 2023, par iarwain8a

    I have a source video "video.mkv" that has srt embedded subtitles, and I want to encode that file into an HLS playlist that is compatible with html5 video player.

    


    So far I got this :&#xA;ffmpeg -i <path> -map 0:s:1 -c:s:1 srt -f webvtt <hlsdir>/1subs.vtt -c:a aac_mf -b:a 128k -c:v copy -hls_time 7 -hls_list_size 0 -hls_segment_filename <hlsdir>/segment%d.ts <hlsdir>/playlist.m3u8 -loglevel debug</hlsdir></hlsdir></hlsdir></path>&#xA;What this line does, is extract and encode the subtitles at the same time, leaving them in the output folder, also it encodes the audio of the video to aac, and leaves the codec of the video as is.

    &#xA;

    I tried a bunch of different commands with ffmpeg to no avail, a bunch of different errors came up.&#xA;I want to, in the same line, instead of just extracting the subtitles, to also be able to add them to the hls playlist, which I couldn't do.

    &#xA;