Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (70)

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

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

  • ffmpeg issue with file paths and wav file [closed]

    8 septembre 2023, par 101is5

    I'm trying to run :

    


    ffmpeg -i audio_input_files/voz.wav voz.mp3


    


    I'm using Windows 11 and I've tested it in PowerShell and CMD.

    


    The issue here involves path syntax and file format.
    
As shown in an example from ffmpeg docs (ffmpeg -i /tmp/test%d.Y /tmp/out.mpg) and many other sources, I should put a leading slash in relative paths. Here, however, that causes No such file or directory, for both slash and backslash. Unlike everywhere I've looked, removing the leading slash was the solution.

    


    Now, if the input is provided as a path and it is a .wav file, I get Invalid data found when processing input.

    


    Providing just names (and being in the correct folder, obviously), e.g. ffmpeg -i voz.wav voz.mp3 works just fine, though.

    


    Is there a workaround for that, i.e. in case I want to use paths for wav files with ffmpeg ?

    


  • How can I take a user input in python3 and use it for the file name of ffmpeg-python file output ?

    25 novembre 2022, par tylerdurden4285

    I am trying to do something like this :

    


    import ffmpeg

user_input =input("give your output file a name: ")

(
    ffmpeg
    .input('input.mp4')
    .vflip()
    .output('(user_input).mp4')
    .run()
)



    


    I am wondering how I can take the string input from the user and make it the filename. So if they input "tester" the resulting output file would be "tester.mp4".

    


    I am running it on an ubuntu 20.04 WSL. I'm new to here and doing my best to learn python3 and ffmpeg so please be gentle with me if I broke any community rules. I'll improve as I go.

    


    I don't know what to search for to find the answer to this problem.

    


  • check if file is downloaded in temp in GCF from GCS

    3 septembre 2020, par soshi

    Im making video encoder using GCF

    


    that downloads video file from gcs to /tmp and encode it by ffmpeg.

    


    I want to ask how to check if file is downloaded in tmp ?

    


    I tried console.log(process.cwd()) but tmp folder is not displayed

    


    exports.encodeVideo = async (req, res) => {

 mkdirp('/tmp')

 storage.bucket('video-bucket').file('raw/samplevideo.mp4').download({ 
 destination:'encoded/samplevideo.mp4' })

ffmpeg........
}