
Recherche avancée
Autres articles (90)
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Pas question de marché, de cloud etc...
10 avril 2011Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
sur le web 2.0 et dans les entreprises qui en vivent.
Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...) -
Activation de l’inscription des visiteurs
12 avril 2011, parIl est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)
Sur d’autres sites (12896)
-
POST 500 Error (BrokenPipeError) when launching Video Stream
2 décembre 2015, par CharlieI’m using Python 3.4.1, nodejs and a Python server to stream video to my browser.
- The list of videos to play is stored in JSON.
-
I launch the Python server & the nodejs server.
> node server.js
Listening for MPEG Stream on http://serverIP:port1
Awaiting WebSocket connections on ws://serverIP:port2/
My Python method streams the video using port1, then in the browser I use a jsmpg canvas connected to port2.
var client = new WebSocket( 'ws://serverIP:port2/' );
All this works fine in local.
But when using it on the server, we get a POST 500 (Internal Server Error).
In shell, the error is :pipes[0].stdin.write(Video_editor.clip_final.get_frame(intervals[i][1] + float(t)/thefps).tostring())
BrokenPipeError: [Errno 32] Broken pipe- Both ports are open.
- The distribution & ffmpeg versions are the same, on my machine & on the server.
I’ve found similar questions here, but none fitting my configuration. My code is as below. Thanks in advance :)
def stream_video(self, address):
#We create one pipe and one command per sequence. Then, for
#each interval of time out of a composition, we run the basic
#streaming. Otherwise, we run the corresponding streaming
fp = open("log_stream.txt", "w") # just log purpose
ff_cmds = [ffmpeg.FFmpeg_command_builder().get_main_command(address, Video_editor.clip_final)]
pipes = [sp.Popen(ff_cmds[-1], stdout = DEVNULL, stdin=sp.PIPE, stderr=fp)]
intervals = [[False, 0]]
for val in Video_editor.ffmpeg_compositions:
ff_cmds.append(ffmpeg.FFmpeg_command_builder().get_overlay_command(address, Video_editor.clip_final, val[0], val[2], val[3], val[4], val[5]))
pipes.append(sp.Popen(ff_cmds[-1], stdout = DEVNULL, stdin=sp.PIPE, stderr=fp))
intervals.append([True, val[1]])
intervals.append([False, val[1] + val[2]])
intervals.append([False, Video_editor.clip_final.end])
i = 0
n = 0
for i in range(len(intervals) - 1):
print("Interval", intervals[i], intervals[i+1])
if intervals[i][0]:
n += 1
for t in range(int(Video_editor.clip_final.fps*(intervals[i+1][1] - intervals[i][1]))):
if intervals[i][0]:
pipes[n].stdin.write(Video_editor.clip_final.get_frame(intervals[i][1] + float(t)/Video_editor.clip_final.fps).tostring())
else:
pipes[0].stdin.write(Video_editor.clip_final.get_frame(intervals[i][1] + float(t)/Video_editor.clip_final.fps).tostring())
for pipe in pipes:
pipe.terminate() -
Changelog : move post 2.2 branching entries out of the 2.2 changelog
16 mars 2014, par Michael Niedermayer -
avcodec/cbs_av1 : Free content in cbs_av1_free_metadata()
11 octobre 2020, par Michael Niedermayeravcodec/cbs_av1 : Free content in cbs_av1_free_metadata()
Fixes : memleak
Fixes : 25838/clusterfuzz-testcase-minimized-ffmpeg_BSF_TRACE_HEADERS_fuzzer-5736255957237760Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by : James Almer <jamrial@gmail.com>
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>