
Recherche avancée
Autres articles (57)
-
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 autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (8438)
-
Using ffmpeg to stream from my camera to AWS MediaLive ?
25 juin 2018, par Ketaki TilakI have a whole downstream set up consisting of AWS MediaLive->MediaPackage->Cloudfront.
I’m looking to stream directly from my camera to MediaLive. This requires my camera to produce an RTMP stream, and have an IP address. I’m not quite sure how to put that together. Some background information would be appreciated.
Setting up my own server isn’t a feasible option. I was wondering if there was a way to use fmmpeg and other services to stream in this manner ? -
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() -
time stamping using ffmpeg for recording the live stream
6 septembre 2012, par user1650873I have a live video coming from multicast address 239.xxx.xxx.xxx port 5006 with 15 frames/s, i want to capture this video and time stamp current date and time, and save it in MPEG4(h.264) format using ffmpeg. since i am new to ffmpeg please help me in this matter.