Recherche avancée

Médias (91)

Autres articles (67)

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

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

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

Sur d’autres sites (5393)

  • 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 Command failing in script

    12 octobre 2016, par Jerry

    I have a nodejs script/server that is running an ffmpeg screenshot command every 30 seconds. I have a list of files that I want to screenshot every loop, and I simply feed it into the command like so :

    exec("ffmpeg -ss 00:00:01 -i /secondary/videos/"+file+" -y -vframes 1 -q:v 2 /secondary/snapshots/"+camera_id+".jpg && scp /secondary/snapshots/"+camera_id+".jpg user@host:/path/to/site/img/snapshots/ && rm /secondary/snapshots/"+camera_id+".jpg", function(err,stdo,stde){
    });

    file is an absolute path to an flv file such as "vid123.flv". camera_id is an id from a local database of my home security cameras, so they’re numbered 1-100. An example command I’m trying to run is this :

    exec("ffmpeg -ss 00:00:01 -i /secondary/videos/vid123.flv -y -vframes 1 -q:v 2 /secondary/snapshots/1.jpg && scp /secondary/snapshots/1.jpg user@host:/path/to/site/img/snapshots/ && rm /secondary/snapshots/1.jpg", function(err,stdo,stde){
    });

    However, when I run this in node, I get an ffmpeg error saying "/secondary/videos/vid123.flv : No such file or directory". If I run the same command in the terminal, I get the correct/expected results - a snapshot/frame at 00:00:01 is taken, saved to a jpg in /secondary/snapshots/, scp’d to another server, and removed from the /secondary/snapshots directory.

    I’m raking my brain right now and I can’t figure out why the different results for the same command.

    Any help/tips are appreciated !

  • Revision c41d3584fd : Add VPX.framework built script. Builds a framework for use on iOS targets. Cha

    13 juin 2014, par Tom Finegan

    Changed Paths :
     Add /iosbuild.sh



    Add VPX.framework built script.

    Builds a framework for use on iOS targets.

    Change-Id : I2e42d77d1d83e15dc7e84232255da26809ee31bb