
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (60)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Other interesting software
13 avril 2011, parWe don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
We don’t know them, we didn’t try them, but you can take a peek.
Videopress
Website : http://videopress.com/
License : GNU/GPL v2
Source code : (...)
Sur d’autres sites (10586)
-
How to reencode flash stream to MP4 or/and WebM inside server implementation ?
18 avril 2013, par user2294505Hi guys, lets start with this that I'm totally new in video streaming.
Currently I have to support one server implemented in C that work as mediator between stream producers and stream consumers. In my case I have one remote machine that generate flash stream and one or more clients that can watch it. The server work as proxy for all of them. We are using our server side implementation for rtmp protocol and for asynchronous work over HTTP we are using libevent library. All this construction work fine in common case.
Now we need to transfer this stream to HTML5 clients and we need to support new formats. Our decision was that MP4 and WebM are enough for us. Base of the HTTP request our internal implementation recognized what type of stream client need. For example when the client need MP4 URI is something like this :
http://192.168.0.5/video.mp4?blah-blah-blah
where "blah-blah-blah" are few parameters to impersonate client. We have already implemented mechanism that convert input frames to raw pictures and this implementation work fine when we stream JPEGs as again we are using libavformat library to encode raw picture to JPEG. In case with JPEGs the contents of the stream data must contain HTTP meta data with description of every picture. The client stream request is same as this for MP4 stream but instead video.mp4 we are uising jpegstream.htm
Now I need to convert this input stream to MP4 and/or WebM and here start my problems. For generating Mp4 and WebM videos I'm using ffmpeg libraries and base of one of ffmpeg examples (muxing) I'm trying to convert already generated pictures to currently selected new format. More or less this conversion is OK but after than I don't know why I can't send video to consumer. I'm using next code to prepare avio context :
int iSize = 4 * 1024;
unsigned char *ptrBuf = ( unsigned char * )av_malloc( iSize );
ptrOFC->pb = avio_alloc_context( ptrBuf, iSize, 1, ptrTCDObj, NULL, write_pkg, NULL );
if ( !ptrTCDObj->ptrOFC->pb ) {
goto ERROR;
}
avformat_write_header( ptrOFC, NULL );When the server receive frame from flash we are converting it to corresponding output format with code like this :
iResult = avcodec_encode_video2( ptrTCDataObj->m_ptrOCC, &packet, pictureFrame, &iGotPacket ) ;
and write it to stream when succeed and packet exist with :
av_interleaved_write_frame( ptrOFC, &packet );
Here our code expect to receive in one moment call to write_pkg function. But nothing happen here :-(. Situation is 100% same if I'm using direct write with av_write_frame. The write_pkg function has very simple body :
int write_pkg( void *ptrOpaque, uint8_t *ptrBuffer, int iBufferSize )
{
STransCoderData_t *ptrTCDObj = ( STransCoderData_t * ) ptrOpaque;
struct evbuffer *ptrFrameOut;
ptrFrameOut = evbuffer_new();
evbuffer_add( ptrFrameOut, ptrBuffer,( size_t ) iBufferSize );
http_client_write_video( ptrFrameOut, ptrTCDObj->m_ptrHTTPClient, NULL );
evbuffer_free( ptrFrameOut );
return iBufferSize;
}Structure STransCoderData_t and function http_client_write_video is not interesting in this moment because we don't reach them for now :-(
For test consumer I'm using VLC player as open network stream :
http://192.168.0.5/video.mp4?blah-blah-blah
VLC don't show anything even errors.
Any ideas, comments and help are welcome.
-
how to get width/ height of video file using S3FS, FFMPEG in ec2
16 juillet 2013, par Khalidat the moment I succeed to install S3FS & FFMPEG in ec2, but i don't know why I can't get information about height and width of a video file, but another properties such as duration, audio stream, etc are shown,
I already try in local within same a video file, and all properties are shown (within width and height).
does anyone know, what's wrong with this ?
-
How to stop ffmpeg that runs through java process
9 janvier 2014, par RubenI am running ffmpeg in Java. Using
p = Runtime.getRuntime().exec(command);
It is used to stream video through a red5 server.My problem is that ffmpeg requires "q" to be pressed in order to stop. How can I do that ? How can I send the q character to the running process so it will execute
p.destroy();
or something similar ? At the moment it runs forever until I kill the process in the task manager. I am using Windows7.