
Recherche avancée
Autres articles (24)
-
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
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 (...) -
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 (...)
Sur d’autres sites (2591)
-
How to download .m3u8 parts separately ?
21 mars 2023, par Jon FreynikMy google skills are failing me this morning - I can only seem to find how to download the full .m3u8 listings file.


Using the following ffmpeg command works to download and concat all the video files into 1.


ffmpeg -i "http://example.com/chunklist.m3u8" -codec copy file.ts


Is there a similar command to download each chunk separately ? - So the resulting files would be : chunk1.ts, chunk2.ts, etc.


-
Piping multiple chunked *.ts file streams from m3u8 to one .ts file using Node.js
7 janvier 2017, par user2631534I im creating on-the-fly *.ts files (and updating m3u8 file with last 6 created *.ts files) and would like to stream this file to vlc player using new filename as single file.
For example...i have on-the-fly 1_.m3u8 file :
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:14
#EXT-X-MEDIA-SEQUENCE:1
#EXTINF:13.720000,1_1.ts
#EXTINF:4.560000,1_2.ts
#EXTINF:12.760000, 1_3.ts
#EXTINF:9.520000,1_4.ts
#EXTINF:8.560000,1_5.ts
#EXTINF:4.280000,1_6.ts
#EXT-X-ENDLISTAnd would like when i call http://myserverip:port/1.ts in chrome i get to download one file 1.ts that is reading files 1_1.ts and when reading is at end of this file then go to next file 1_2.ts, and 1_3.ts, and 1_4.ts, and 1_5.ts and 1_6.ts and then reading from beginning 1_1.ts, and 1_2ts and so on.
I need this so that i can stream one h.264 video without interrupting and without stopping when reading next ts file from my server. I use ffmpeg to generate ts chunk small files and overwrite when max 6ts are generated so that i always get from 1_1.ts to 1_6.ts so that my hdd is not full in short time.
I try using this node js code that run event when m3u8 file is changed and get last ts file name so that i pipe it to response...but problem is when 1_1.ts read file is end it stops stream...
stream.get('/stream', function(req, res) {
/* STREAM - header */
res.writeHead(200, {
'Content-Type': 'video/H264'
});
var fs = require('fs');
var Watcher = require('hls-watcher');
var w1 = new Watcher('/tmp/streams/1_.m3u8');
w1.listenFile();
w1.on("change", function(data){
//do things with ts files stored on data.
fs.createReadStream('/tmp/streams/'+data[0]).pipe(res);
console.log(data);
});
}); -
Using chunks of MP4 file for thumbnails
11 mai 2024, par Moritz MahringerI want to extract single frames (as thumbs) from videos, without having to download the full video file. I would like to just read the mp4 header (the info should be in the moov atom) and then download the required byte ranges. Afaik thats what browsers (HTML5 video) do when you skip to an unbuffered part



I already looked at : How can HTML5 video’s byte-range requests (pseudo-streaming) work ? but i can't figure out how to use it with ffmpeg for example.



Thanks a lot !