Advanced search

Medias (91)

Other articles (74)

  • Organiser par catégorie

    17 May 2013, by

    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 March 2010, by

    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 April 2011, by

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

On other websites (5931)

  • Create Shell Script for Mac that is the same as my BAT file

    8 April 2017, by Les Hornery

    I have written a batch file to add two images as watermarks onto each video within a directory, now I need that converted to a shell script so I can run it on a Mac.

    @echo off
    for %%a in ("*.MP4") do ffmpeg -i "%%a" -i ../soccer5s.png -i ../vpa.png -filter_complex "overlay=10:10,overlay=main_w-overlay_w-10:10" "%%~na-marked.mp4"
    pause
  • Error using avisynth script as input to ffmpeg

    5 April 2015, by ComputerVisioner

    I’ve searched the internet and haven’t found a solution. I hope this question does not come off as a duplicate.

    I have the following files in the same folder:

    • ffmpeg.exe (32-bit version)
    • IN.mp4 (video codec - AVC , audio codec - PCM)
    • RUN_FILE.bat and RUN_AVS.bat batch files
    • SCRIPT.avs (avisynth script file)
    • MSharpen.dll (sharpening filter for avisynth)

    The text within RUN_FILE.bat:

    ffmpeg -i "IN.mp4" -c:v libx264 -crf 24 -c:a libmp3lame -aq 2 OUT.mp4

    The text within RUN_AVS.bat:

    ffmpeg -i "SCRIPT.avs" -c:v libx264 -crf 24 -c:a libmp3lame -aq 2 OUT.mp4

    The text within SCRIPT.avs (3 lines):

    LoadPlugin("D:\MSharpen.dll")

    DirectShowSource("D:\IN.MP4")

    MSharpen(15,150)

    If I try loading the avisynth script with an external program such as media player classic it works fine (and sharpens the video frames).

    Going to the command line and running RUN_FILE.bat works as expected, however running RUN_AVS.bat I get the following error (see screenshot):

    error message

    I find this confusing as ffmpeg is configured with --enable-avisynth.

    I’d appreciate help with this - This is part of a larger and very important project (automatically scanning a folder with hundreds of video files, sharpening and re-encoding them to another folder with the same filenames).

  • AviSynth script with subtitles errors

    29 April 2017, by Corpuscular

    Win7

    FFmpeg version: 20170223-dcd3418 win32 shared

    AVISynth version: 2.6

    Calling ffmpeg in a Visual Studio 2015 C# Forms Application and using process.StartInfo.Arguments to pass arguments and read an avs script. Works fine.

    The avs script:

    LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\VSFilter.dll")

    a=ImageSource("01.png").trim(1,24)
    b=ImageSource("02.png").trim(1,36)
    c=ImageSource("03.png").trim(1,40)
    d=ImageSource("04.png").trim(1,72)
    e=ImageSource("05.png").trim(1,36)
    f=ImageSource("06.png").trim(1,40)
    video =  a + b + c + d + e + f

    return video

    I’d like to add subtitles using the avs script but it is not working. Adding the subtitle argument immediately before the "return video" argument results in:

    subtitle("day 111", align=2, first_frame=0, halo_color=$00FF00FF, text_color=$0000FF00, size=36, last_frame=100)

    Result error: [avisynth @ 003cdf20] Script error: Invalid arguments to function "subtitle"

    Using video.subtitle results in:

    video.subtitle("day 111", align=2, first_frame=0, halo_color=$00FF00FF, text_color=$0000FF00, size=36, last_frame=100)

    No error, script completes but no subtitle on output video.

    Using subtitle(clip) results in:

    subtitle(video, "day 111", align=2, first_frame=0, halo_color=$00FF00FF, text_color=$0000FF00, size=36, last_frame=100)

    The script exits abnormally but there is no error message.

    Any guidance would be greatly appreciated. Please let me know if I can clarify anything.