Recherche avancée

Médias (0)

Mot : - Tags -/api

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (39)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

Sur d’autres sites (7678)

  • How to automatically remove black bars using ffmpeg from a Powershell script ?

    27 avril 2021, par timlwsk

    Thanks to the help of the user mklement0 I got this script to automatically convert all files in the folder "video_old" and move them into "video_new", all while keeping the original filename. Original Post.

    



    Now I want to remove the black bars in the container. I know that there is "cropdetect" but AFAIK you have to manually parse the the value into the script. What parameter should I add to bellow's ffmpeg execution ?

    



    Get-ChildItem .\video_old -Filter *.mkv | ForEach-Object {
  .\ffmpeg.exe -i $_.FullName -c:v libx265 -crf 18 ".\video_new\$($_.Name)"
}


    



    Parameters used to remove the bars

    



    ffmpeg -ss 90 -i input.mkv -vframes 10 -vf cropdetect -f null -
...
[Parsed_cropdetect_0 @ 0x220cdc0] x1:0 x2:1279 y1:0 y2:719 w:1280 h:720 x:0 y:0 pts:215 t:0.215000 crop=1280:720:0:0
[Parsed_cropdetect_0 @ 0x220cdc0] x1:0 x2:1279 y1:0 y2:719 w:1280 h:720 x:0 y:0 pts:257 t:0.257000 crop=1280:720:0:0
[Parsed_cropdetect_0 @ 0x220cdc0] x1:0 x2:1279 y1:0 y2:719 w:1280 h:720 x:0 y:0 pts:299 t:0.299000 crop=1280:720:0:0


    



    In this example, we can apply the filter like this :

    



    ffmpeg -i input.mkv -vf crop=1280:720:0:0 -c:a copy output.mkv


    



    OriginalPost

    



    Screenshot

    



    Example screenshot from one of the files

    


  • FFMPEG MP4 from a m3u8 stream results in a few black frames

    14 avril 2020, par roosevelt

    I'm noticing an odd behavior and not sure how to tackle it through FFMPEG. Basically, I'm downloading some ts files from a stream and making an MP4 out of them. I don't need to encode them since they are already encoded.

    



    Here's the command :

    



    ffmpeg -nostdin -y -ss 3 -i https://d2nvs31859zcd8.cloudfront.net/d33af82762361135e8ba_yassuo_37349116016_1403122741/chunked/index-muted-EIVFBWYS1V.m3u8 -t 50 -c copy Test.mp4


    



    If I run the MP4 file in Quicktime player, it seems like there are one or two black frames in the beginning. How do I get rid of that using the above command ?

    



    I also tried downloading the .ts files and concat them via FFMPEG. But the result is the same. First few frames are black.

    



    ffmpeg -nostdin -y -i "concat:0.ts|1.ts|2.ts|3.ts|4.ts|5.ts|6.ts" -c copy Test2.mp4


    



    Seems like VLC doesn't show the black frame but it's apparent on the Quicktime player.

    



    Thanks

    


  • FFMPEG - crop and pad a video (keep 3840x1920 but with black borders)

    23 avril 2020, par SteenPetersen

    I am trying to crop a video so that I can remove a chunk of the content from the sides of a 360-degree video file using FFmpeg.

    



    I used the following command and it does part of the job :

    



    ffmpeg -i testVideo.mp4 -vf crop=3072:1920:384:0,pad=3840:1920:384:0 output.mp4


    



    This will remove the sides of the video and that was initially exactly what I wanted (A). Now I'm wondering if it is possible to crop in the same way but to keep the top third of video. As such, A is what I have, B is what I want. :

    



    enter image description here

    



    I thought I could simply do this :

    



    ffmpeg -i testVideo.mp4 -vf crop=3072:1920:384:640,pad=3840:1920:384:640 output.mp4


    



    But that doesn't seem to work.

    



    Any input would be very helpful.