Recherche avancée

Médias (91)

Autres articles (86)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

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

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

  • Android : Show quick preview (live) before exporting FFmpeg Video

    1er mai 2023, par akash varlani

    Basically, I am developing a video editing app that lets the user choose some of their images and create a video slide show with music.

    



    I am using FFMPEG to generate video slide show from images but the problem is I can only show the preview of the video after executing FFMPEG command.

    



    Is googled so many blogs and all and I know there is a possible way available to display the preview of the output.

    



    Check below image from reference app. I am developing something similar to this app. There is an option to replace the image in the video. This app displays instant preview once I change the image.

    



    enter image description here

    



    Here is the link of the reference app if anyone wants to check :

    



    Clicking an EXPORT button this app lets you generate a video output. I can do that as I know FFMPEG and how to generate OUTPUT FILE using FFMPEG but what I don't know is how to display a quick preview of OUTPUT VIDEO before generating actual VIDEO FILE.

    



    On my UBUNTU device, I can view the output of FFMPEG command using FFPLAY tool but how to do the same on android device.

    



    Some useful link :
http://androidwarzone.blogspot.com/2011/12/ffmpeg4android.html

    


  • Show Filename in Video ffmpeg batch script

    19 mars 2019, par Oli Shingfield

    I have a folder with around 10 different mov files. I would like to add the filename as text on each of the videos using ffmpeg in a bat file. Could someone help me achieve this please ?

    EDIT :

    I have tried using

    @ECHO OFF&Setlocal EnableDelayedExpansion
    Set INPUT=E:\\Users\\Oli\\Documents\\Projects\\v1.3.0\\downloads3
    Set OUTPUT=E:\\Users\\Oli\\Documents\\Projects\\v1.3.0\\downloads3
    for %%a in ("%INPUT%\*.*") DO (
       set "filename=%%~na"
       ffmpeg -i "%%a" -vf "drawtext=text=!fileName:.= !:x=105:y=120:fontfile=E:\\Users\\Oli\\Documents\\Projects\\v1.3.0\\downloads3\\impact.ttf:fontsize=25:fontcolor=white" -b:v 1M -r 60 -b:a 320k -ar 48000 -crf 17 "%%~na.mov"
    )`

    But it gives me the error :

    Cannot find a valid font for the family Sans
    [AVFilterGraph @ 0000026eb75a9f40] Error initializing filter 'drawtext' with args 'text=FileName1'
    Error reinitializing filters!
    Failed to inject frame into filter network: No such file or directory
    Error while processing the decoded data for stream #0:0
  • List Directory of files to text file sorted by creation date but don't show creation creation date in file

    25 mars 2019, par Oli Shingfield

    I’ve been doing some research on this problem but I can’t get my head around it to suit my particular issue.

    I would like to create a text file of a list of files in a directory, sorted by date but I don’t want the date to be shown in the file.
    The code I have so far is :

    #create list of clips to merge
    save_path = 'downloads/'
    ignored = 'test.bat','mergeclips.bat','draw.bat'
    onlyfiles = [f for f in listdir('downloads/') if isfile(join('downloads/', f)) if f not in ignored]

    with open('downloads/clipstomerge.txt', 'w') as f:
       for item in onlyfiles:
           f.write("file '%s'\n" % item )

    This code ignores the bat files but lists everything else out to a text file in a format ready for ffmpeg to merge the clips. The format of the text file looks like this :

    file 'ARandomClipName.mov'
    file 'Butterflies.mov'
    file 'Chickens.mov'

    At the moment the files are sorted alphabetically but I would like it to be sorted by creation date.
    Does anyone have any ideas how I could modify my code to fix my problem ?