Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (100)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

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

  • PHP-FFMpeg Video Stabilization using VidStab

    19 février 2016, par BakerStreet

    I’m using PHP-FFMpeg in a Laravel 5.2 application to stabilize videos with the help of VidStab. I have all the dependencies and everything installed correctly and I can follow the directions on the VidStab repo to stabilize my videos via the command line.

    My question is how could I do this nicely (the Laravel way) from within PHP ? I know I can add a custom filter to the Video object like this :

    $video = $ffmpeg->open('shaky_video.mp4');
    $video->addFilter(new CustomFilter('vidstabdetect=stepsize=6:shakiness=8:accuracy=9:result=transform.trf'));

    But how can I execute this command without the need for $video-save(), which I think is designed to output a video/audio file and not the trf analysis file ?

    I suppose I could just run a PHP exec() command, but I would like to keep this as much object oriented PHP as I can. Any suggestions ?

    Thanks in advance !


    I’ve tried this (added -f null - to filter and then tried running save() to execute the command), but it still creates the mp4 file instead of the trf file :

    $video = $ffmpeg->open('shaky_video.mp4');
    $video->addFilter(new CustomFilter('vidstabdetect=stepsize=6:shakiness=8:accuracy=9:result=transform.trf -f null -'));
    $video->save(new X264(), 'stabilized.mp4');
  • avfilter/vf_drawtext : improve glyph shaping and positioning

    26 mai 2023, par yethie
    avfilter/vf_drawtext : improve glyph shaping and positioning
    

    - text is now shaped using libharfbuz
    - glyphs position is now accurate to 1/4 pixel in both directions
    - the default line height is now the one defined in the font

    Adds libharfbuzz dependency.

    • [DH] configure
    • [DH] doc/filters.texi
    • [DH] libavfilter/vf_drawtext.c
  • Line 1 : unknown keyword ' file' ffmpeg

    6 janvier 2024, par pops64

    I am trying to run a concation of multiple files using ffmpeg. Followed directions in docs and getting

    


    Line 1: unknown keyword 'file'
[in#0 @ 000001b09b25e840] Error opening input: Invalid data found when processing input
Error opening input file mylist.txt.
Error opening input files: Invalid data found when processing input


    


    I am not sure what is going wrong. The text file appears to be in the correct format.

    


    $clips = Get-ChildItem -Path Y:\****\Test -File -Filter "*.mp4"
$regex = "(?:\w+)-(?:[i]+-)?(?\d+)-(?\d+)-(?:\w+)"
$groupedScenes = $clips | Group-Object {[regex]::Match($_.Name, $regex).Groups["scene_id"].value}
foreach($scene in $groupedScenes)
{
    $sortedScene = $scene.Group | Sort-Object {[regex]::Match($_.Name, $regex).Groups["clip_id"].value -as [int]} 
    foreach($i in $sortedScene) 
    {
        "file 'Y:\*****\Test\$i'" | Out-File mylist.txt -Encoding utf8 -Append
    }
    .\ffmpeg.exe -f concat -safe 0 -i mylist.txt -map 0 -c:v hevc_amf -quality quality -rc cqp -qp_p 26 -qp_i 26 -c:a aac -b:a 128K -y Y:\*****\Test\Procssed\$sortedScene.mp4
    Remove-Item mylist.txt
}