
Recherche avancée
Médias (91)
-
Chuck D with Fine Arts Militia - No Meaning No
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Paul Westerberg - Looking Up in Heaven
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Le Tigre - Fake French
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Thievery Corporation - DC 3000
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Dan the Automator - Relaxation Spa Treatment
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Gilberto Gil - Oslodum
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (98)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
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 (...) -
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
Sur d’autres sites (5874)
-
save sequence of frame as BMP not PNG
27 décembre 2013, par user2922938I extract 100 frames from video file and i save each frame as (.bmp) but i found that each frame format is PNG not BMP , how can I save sequence of frame (format as BMP not PNG as show in picture)in C# ?
string name;
for ( int i = 0; i < 100; i++ )
{
Bitmap videoFrame = video.ReadVideoFrame( );
name = (i).ToString().PadLeft(5, '0');
videoFrame.Save(@"D:\frames\" + name + ".bmp");
videoFrame.Dispose( );
}
video.Close( );
MessageBox.Show(" Complete Convert video to sequence of image","Convert"); -
How do I correctly convert .avi to .flv with ffmpeg ? [closed]
25 septembre 2012, par terbooterUPDATE
Shame on me )
I chacked red5 logs again and found that I placed converted files to wrong place.
Now all works fineI have two red5 apps.
-
Recorder. It can record live stream and save it to flv file to disk
private void startRecord(String uid, String name, IConnection connection) {
// Get a reference to the current broadcast stream.
ClientBroadcastStream stream = (ClientBroadcastStream) this.getBroadcastStream(
connection.getScope(), name);
try {
// Save the stream to disk.
String path = uid + "/" + name;
stream.saveAs(path, true);
System.out.println("file..:" + stream.getSaveFilename());
} catch (Exception e) {
System.out.println("Error while saving stream: " + name + e);
}
}
private void stopRecord(String name) {
IConnection conn = Red5.getConnectionLocal();
System.out.println("Stop recording show for: {}" + conn.getScope().getContextPath());
ClientBroadcastStream stream = (ClientBroadcastStream) this.getBroadcastStream(conn.getScope(), name);
// Stop recording.
if (stream != null) {
stream.stopRecording();
}
} -
Second red5 app (Chat) streams recorded flv file to flash client
public static String serverStreamCreate(String path, String streamName) {
IServerStream serverStream = StreamUtils.createServerStream(Red5.getConnectionLocal().getScope(), streamName);
SimplePlayItem item = SimplePlayItem.build(path);
IPlaylistController controller = new MyPlayListController();
serverStream.setPlaylistController(controller);
serverStream.setRepeat(false);
serverStream.addItem(item);
serverStream.addItem(item);
serverStream.start();
return streamName;
}
If I record stream from flash client to flv file with Recorder and after that stream this flv file back to client with Chat, all works fine.
Now I want to convert avi file to flv and stream it from red5 app to flash client.
I used ffmpegffmpeg -i 24.avi -ar 22050 -an -f flv -b 500k -s 320x240 -y 24_c.flv
But if I stream 24_c.flv from Chat app flash client have no video.
24_c.flv cant be playd by VLC player and have same code information as flv file created by Recorder red5 app.I really dont know where to dig.
-
-
libavcodec decode AVFrames to FIFO buffer
6 novembre 2012, par user1175197My aim is to decode multiple frames of a video file, accumulate the decoded frames into a FIFO buffer and read them later on. I decode the packet to my AVFRame mFrame :
avcodec_decode_video2(mCodecContext,mFrame,&frameFinished,&mPacket) ;
Normally I can just copy the YUV frames from the mFrame->data[n][0] to my FIFO buffer but I am just trying to reduce the memcpy 's as much as possible. So instead of copying mFrame->data[n][0] I just want to store the mFrame (which is much smaller than the frames it points to) in the buffer and when it comes to reading I can just fetch it and reach the data.
I tried to do this but it did not work. The AVFrames are fetched from the buffer but when you show them on the screen the video is like frozen. You may think that I am using the same mFrame and overwriting it each time I decode a packet but I am not. I am creating a new AVFrame* each time in the decode loop.
Is this problem related to how avcodec works ? Any ideas ?
Thanks
mike