
Recherche avancée
Médias (3)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (30)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
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 -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...)
Sur d’autres sites (4170)
-
SWAY at RFWS using Coviu
2 mai, par silviaA SWAY session by Joanne of Royal Far West School. http://sway.org.au/ via https://coviu.com/ SWAY is an oral language and literacy program based on Aboriginal knowledge, culture and stories. It has been developed by Educators, Aboriginal Education Officers and Speech Pathologists at the Royal Far West School in Manly, NSW.
Category : Array
Uploaded by : Silvia Pfeiffer
Hosted : youtubeThe post SWAY at RFWS using Coviu first appeared on ginger’s thoughts.
-
FFMPEG HLS streaming and transcoding on the fly to HTML player - video duration changes while transcoding
20 août 2019, par Thomas ThoI am trying to make a video streaming server and watch videos directly from web browser. The idea is to make the server to stream video from remote server, transcode with different audio format in local server, and then instantly stream to the client (this is specific way I need it to function).
This is the FFMPEG code im currently using :ffmpeg -i "url" -c:v copy -c:a aac -ac 2 -f hls -hls_time 60 -hls_playlist_type event -hls_flags independent_segments out.m3u8
The HLS stream is attached to the HTML player with hls.js and it works. However, the video duration is constantly changing while video is being transcoded. I have tried to change video duration with JS like
$('video').duration = 120;
with no luck.How do i make the player to display the video file duration instead of stream current transcoded time ?
I am also planning to implement video seeking but i am clueless. The current idea is to send seeking time to the server, terminate ffmpeg, and start from specific time. However, i think the player might get stuck on loading and will not start playing without reloading.
-
Building A livestreaming server like youtube from scratch
9 décembre 2022, par Dipo AhmedI am trying to build a live streaming server like youtube where I can watch the video live or if I want to I can play the video from any duration I want.


What I have tried so far.
I have built a node js WebSocket server where I push the video blob that I receive from the browser via MediaRecorder API every 2 seconds. This blob is then getting converted to hls by a ffmpeg process which generates 2 seconds
*.ts
files and a.m3u8
file which I am playing with video.js in browser.

This is my ffmpeg command


spawn('ffmpeg', [
 '-i', '-',
 // '-re',
 '-fflags', '+igndts',

 '-vcodec', 'h264',
 '-acodec', 'aac',

 '-preset', 'slow',
 '-crf', '22',
 // You can also use QP value to adjust output stream quality, e.g.: 
 // '-qp', '0',
 // You can also specify output target bitrate directly, e.g.:
 '-b:v', '1500K',
 '-b:a', '128K', // Audio bitrate

 '-f', 'hls',
 '-hls_time', '1',
 // '-hls_playlist_type', 'vod',
 '-hls_list_size', '2',
 '-hls_flags', 'independent_segments',
 '-hls_segment_type', 'mpegts',
 '-hls_segment_filename', `${path}/stream%02d.ts`, `${path}/stream.m3u8`,
 ]);



The problem is that the video js player duration is not updating like in youtube where the video duration increases every second.


Any direction will be appreciated. Please tell me if my approach is wrong and what needs to be learned for me to build this system.