
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (111)
-
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 (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (13626)
-
ffmepg always get broken video streaming from rtsp protocol [on hold]
6 janvier 2014, par pocI'm trying to capture rtsp streaming from Ip Camera by the command
ffmpeg -t 10 -i rtsp://172.19.1.42/live.sdp -ss 00:00:02.500 -c:v copy download.mp4
However I always get the broken streaming, but if I used the VLC or Qucicktime to watch the RTSP streaming, it worked fine , there was no broken streaming.
Is there any setting or options for ffmpeg can improve the streaming quality ? Thanks
[rtsp @ 0x7f9a84017c00] Estimating duration from bitrate, this may be inaccurate
Input #0, rtsp, from 'rtsp://172.19.1.42/live.sdp':
Metadata:
title : RTSP server
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264 (Main), yuv420p, 2048x1536, 13.33 tbr, 90k tbn, 180k tbc
-t is not an input option, keeping it for the next output; consider fixing your command line.
Output #0, mp4, to 'c0_s1_h264_1920x1536_10_cbr_500_6000000_imagequality.mp4':
Metadata:
title : RTSP server
encoder : Lavf54.63.104
Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 2048x1536, q=2-31, 90k tbn, 90k tbc
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[NULL @ 0x7f9a83805200] RTP: missed 3 packets
Last message repeated 1 times
RTP: missed 3 packets=-1.0 size= 521kB time=00:00:00.80 bitrate=5303.8kbits/s
[NULL @ 0x7f9a83805200] RTP: missed 3 packets
RTP: missed 3 packets=-1.0 size= 895kB time=00:00:01.40 bitrate=5224.0kbits/s
[NULL @ 0x7f9a83805200] RTP: missed 3 packets
RTP: missed 3 packets=-1.0 size= 1271kB time=00:00:02.00 bitrate=5192.3kbits/s
[NULL @ 0x7f9a83805200] RTP: missed 3 packets
RTP: missed 3 packets=-1.0 size= 1646kB time=00:00:02.60 bitrate=5175.1kbits/s
RTP: missed 2 packets=-1.0 size= 2029kB time=00:00:03.20 bitrate=5183.5kbits/s
RTP: missed 3 packets=-1.0 size= 2420kB time=00:00:03.80 bitrate=5207.3kbits/s
RTP: missed 2 packets=-1.0 size= 2801kB time=00:00:04.40 bitrate=5206.0kbits/s
[NULL @ 0x7f9a83805200] RTP: missed 3 packets
RTP: missed 2 packets=-1.0 size= 3180kB time=00:00:05.00 bitrate=5201.6kbits/s
[NULL @ 0x7f9a83805200] RTP: missed 3 packets
RTP: missed 3 packets=-1.0 size= 4708kB time=00:00:07.41 bitrate=5204.6kbits/s
RTP: missed 2 packets=-1.0 size= 5088kB time=00:00:08.01 bitrate=5202.7kbits/s
RTP: missed 2 packets=-1.0 size= 5857kB time=00:00:09.21 bitrate=5207.3kbits/s
[NULL @ 0x7f9a83805200] RTP: missed 2 packets
frame= 100 fps= 10 q=-1.0 Lsize= 6382kB time=00:00:09.96 bitrate=5246.4kbits/s -
I need to create a streaming app Where videos store in aws S3
27 juillet 2023, par abuzar zaidiI need to create a video streaming app. where my videos will store in S3 and the video will stream from the backend. Right now I am trying to use ffmpeg in the backend but it does not work properly.


what am I doing wrong in this code ? And if ffmpeg not support streaming video that store in aws s3 please suggest other options.


Backend


const express = require('express');
const aws = require('aws-sdk');
const ffmpeg = require('fluent-ffmpeg');
const cors = require('cors'); 
const app = express();

// Set up AWS credentials
aws.config.update({
accessKeyId: '#######################',
secretAccessKey: '###############',
region: '###############3',
});

const s3 = new aws.S3();
app.use(cors());

app.get('/stream', (req, res) => {
const bucketName = '#######';
const key = '##############'; // Replace with the key/path of the video file in the S3 bucket
const params = { Bucket: bucketName, Key: key };
const videoStream = s3.getObject(params).createReadStream();

// Transcode to HLS format
 const hlsStream = ffmpeg(videoStream)
.format('hls')
.outputOptions([
 '-hls_time 10',
 '-hls_list_size 0',
 '-hls_segment_filename segments/segment%d.ts',
 ])
.pipe(res);

// Transcode to DASH format and pipe the output to the response
ffmpeg(videoStream)
.format('dash')
.outputOptions([
 '-init_seg_name init-stream$RepresentationID$.mp4',
 '-media_seg_name chunk-stream$RepresentationID$-$Number%05d$.mp4',
 ])
.output(res)
.run();
});

const port = 5000;
app.listen(port, () => {
console.log(`Server running on http://localhost:${port}`);
});



Frontend


import React from 'react';

 const App = () => {
 const videoUrl = 'http://localhost:3000/api/playlist/runPlaylist/6c3e7af45a3b8a5caf2fef17a42ef9a0'; // Replace with your backend URL
Please list down solution or option i can use here
 const videoUrl = 'http://localhost:5000/stream';
 return (
 <div>
 <h1>Video Streaming Example</h1>
 <video controls="controls">
 <source src="{videoUrl}" type="video/mp4"></source>
 Your browser does not support the video tag.
 </video>
 </div>
 );
 };

 export default App;



-
nginx video mp4 streaming - jwplayer seeking
18 juin 2012, par abrahabAs you can see nginx streaming solution works and return different content-length when
flv
requested withstart
parameter :
http://www.hotgirlscompany.com/1.flv?start=0
http://www.hotgirlscompany.com/1.flv?start=300000But the problem that jwplayer v5 can not seek this video to any position. Seems (from http sniffer) player request
?start=0
and then ignore any mouse clicks at loading line, and can not go to position I want).Of course, I added
provider=http
toflashVars
.
You can download the video and see that its converted as H.264/AAC. Then makedmp4box -inter 500 1.flv
. But still can not steam it :(Any suggestions ?
Maybe example how to property reconvert this video with ffmpeg to make it playable ?