
Recherche avancée
Autres articles (33)
-
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users. -
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
Les statuts des instances de mutualisation
13 mars 2010, parPour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...)
Sur d’autres sites (4487)
-
Running list of cmd.exe commands from maya in Python
17 décembre 2015, par user3541686I am writing a maya python script to batch render a scene into jpgs then use ffmpeg to turn them into a mov. Currently the script saves a string of commands as a bat file which works fine but I’d prefer to just run cmd.exe from maya and execute the list of commands without creating that bat first.
I’ve been reading about "subprocess.popen()" but I can’t figure out how to get it to iterate through each line, run that command, then move onto the next one when done ie :
1) Run maya render.exe & save scene as jpegs
2) ffmpeg jpgs to mov
I’ve shortened the directories but its essentially this :
`C:\PROGRA~1\Autodesk\Maya2015\bin\Render.exe -r hw2 -s 100 -e 200 -of jpg -fnc 7 -x 1920 -y 1080 -rd
"C:\RENDER"
"C:\SCENE.ma" ffmpeg -y -r 25 -start_number 0100 -i C:\SCENE_%%04d.jpg C:\SCENE.movHow would I be able to do this ?
Thanks !
-
Building FFmpeg stream from multiple audio files in python
4 septembre 2020, par thekangarooI want to stream images by using a python file, that come from a pipe, along with junks of 5 second long audio files (that are then played one after another).


I tried


cmd_stream = ['ffmpeg', 
'-f', 'image2pipe', 
'-thread_queue_size', '2',
'-re',
'-i', '-', # Indicated input comes from pipe 
'-i', 'InputFiles/a%4d.wav', #use existing audio files
'-r', 25,
'-preset', 'veryfast',
'-vcodec', 'mpeg4', 
'-f' , 'mpegts',
'udp://127.0.0.1:1234']
 
pipe = sp.Popen(cmd_stream, stdin=sp.PIPE)



But this does not even start a stream, when piping images. The audio is produced only during the run, does this make a difference ?


-
How to cut out first 5 seconds with youtube_dl and ffmpeg in python
23 février 2021, par SvenXPi have a python script to download and save a MP3 and i would like to add code to cut out 5 seconds from the beginning of the MP3.


def download():
 ydl_opts = {
 'format': 'bestaudio/best',
 'outtmpl': 'c:/MP3/%(title)s.%(ext)s',
 'cookiefile': 'cookies.txt',
 'postprocessors': [{
 'key': 'FFmpegExtractAudio',
 'preferredcodec': 'mp3',
 'preferredquality': '192',
 }],
 }
 with youtube_dl.YoutubeDL(ydl_opts) as ydl:
 ydl.download([inpYTLinkSong.get()])



I found some code for command line to cut x seconds :


ffmpeg -ss 00:00:15.00 -i "OUTPUT-OF-FIRST URL" -t 00:00:10.00 -c copy out.mp4


So i think i have to get the -ss part into the postprocessor part in my script, something like :


'postprocessors': [{
 'key': 'FFmpegExtractAudio',
 'preferredcodec': 'mp3',
 'preferredquality': '192',
 'ss':'00:00:05.00'
 }],



But of course its not working with 'ss' or 'duration' (found in ffmpeg docu).


So any ideas what i have to put there instead of 'ss' ?