
Recherche avancée
Médias (1)
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
Autres articles (84)
-
Organiser par catégorie
17 mai 2013, parDans 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 (...) -
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 is the first MediaSPIP stable release.
Its official release date is June 21, 2013 and is announced here.
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)
Sur d’autres sites (8447)
-
Continously read file in Ruby and save into pipe
7 juillet 2016, par stiller_leserI am trying to continously read a file and save the output into a
IO.pipe
. The motivation being that ffmpeg which has been spawned before and given the r-end of the pipe as STDIN will then convert the video.
This is what I have so far :r,w = IO.pipe
ffmpeg_args = ' -i pipe:0 "test.mp4"'
pid = Process.spawn('ffmpeg'+ffmpeg_args, {STDIN => r, STDERR => STDOUT})
Process.detach pid
File.open(@options['filename'], 'rb') do |file|
while line = file.gets
w.write line.read
end
endI had success with declaring the input file directly as STDIN for the process, but this lead to an early termination of ffmpeg since it had reached the end of the file. With the code above ffmpeg complains about invalid data.
Is there any way this could be achieved ?
-
Matplotlib can not save animation
1er avril 2020, par Justin FurunessI have a matplotlib animation and it will not save. If I do not save it, it runs totally fine and without error. When I try to save it errors with a message that is not helpful. I have googled this error and checked everything, but I cannot seem to find an answer to this problem. I have installed ffmpeg. Am I doing something wrong that is obvious ? I am running on ubuntu 19.10 with matplotlib 3.2.1 if that matters.



The code to save the animation is below :



def run_animation(self, total_rounds):
 anim = animation.FuncAnimation(self.fig, self.animate,
 init_func=self.init,
 frames=total_rounds * 100,
 interval=40,
 blit=True)
# Writer = animation.writers['ffmpeg']
# writer = Writer(fps=15, metadata=dict(artist='Me'), bitrate=1800)
 anim.save('animation.mp4')




The error traceback :



2020-04-01 02:20:58,279-INFO: MovieWriter._run: running command: ffmpeg -f rawvideo -vcodec rawvideo -s 1200x500 -pix_fmt rgba -r 25.0 -loglevel error -i pipe: -vcodec h264 -pix_fmt yuv420p -y animation.mp4
Traceback (most recent call last):
 File "/home/anon/.local/lib/python3.7/site-packages/matplotlib/backend_bases.py", line 2785, in _wait_cursor_for_draw_cm
 self.set_cursor(cursors.WAIT)
 File "/home/anon/.local/lib/python3.7/site-packages/matplotlib/backends/backend_gtk3.py", line 468, in set_cursor
 self.canvas.get_property("window").set_cursor(cursord[cursor])
AttributeError: 'NoneType' object has no attribute 'set_cursor'




Thanks a million for your help


-
Need help to convert all "mp4" files to "gif" in a folder/directry with ffmpeg and .bat
10 février 2023, par Lucas YangI need some help.I try work automation to eliminate unnecessary time, I was looking for a way to convert video files to gif files.
So I learned how to make it using ".bat" through Googling, and want to make it a ".bat file" that automatically converts all mp4 files at one click because only one file is converted at a time.


it worked perfect for me. but I got a lot of vidoe files what i have to convert. I installed ffmpeg in my PC(@window)


this is what i find


@echo off
chcp 65001
cls

setlocal
echo 프레임 수치를 설정하세요
set /p fps= 

ffmpeg.exe -i "%~1" -vf "fps=%fps%,scale=860:-1:flags=lanczos,palettegen" "%~n1.png"
ffmpeg.exe -i "%~1" -i "%~n1.png" -lavfi "fps=%fps%,scale=860:-1:flags=lanczos [x]; [x][1:v] paletteuse" "%~n1.gif"

del "%~n1.png"

goto :a



Thank for reading it.