
Recherche avancée
Autres articles (34)
-
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
MediaSPIP Player : problèmes potentiels
22 février 2011, parLe lecteur ne fonctionne pas sur Internet Explorer
Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)
Sur d’autres sites (3399)
-
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 tylerdurden4285I 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.


-
ffmpeg issue with file paths and wav file [closed]
8 septembre 2023, par 101is5I'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 causesNo 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 getInvalid 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 to keep the orientation number after converting from a video file to a image file by a ffmpeg command
15 mars 2018, par user27240The command below is working perfectly fine for my environment except it deletes the orientation number of the image file after being converted from a video file.
I’d like to know how to keep the orientation number of the image with the command line below(it also have to keep the original purpose of its functionality which is conversion of a video to a image to another directory). I’d appreciate your support.
for i in /path/to/inputs/*.mp4; do ffmpeg -i "$i" -frames:v 1 "/path/to/outputs/$(basename "$i" .mp4).jpg"; done
ffmpeg version 2.2.2
OS:centos-6 (x86_64)