
Recherche avancée
Autres articles (75)
-
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 (...) -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (6816)
-
How can I stream then play YUV format with/without VLC/FFMPEG ?
13 janvier 2023, par orfruitI'm able to play a local YUV file through VLC (as expected)


.\vlc.exe --demux rawvideo --rawvid-fps 25 --rawvid-width 480 --rawvid-height 360 --rawvid-chroma I420 out.yuv



Also FFPLAY is playing well


.\ffplay.exe -f rawvideo -pixel_format yuv420p -video_size 480x360 out.yuv



Conversion to YUV was done with FFMPEG


.\ffmpeg.exe -i "video.mp4" -c:v rawvideo -pixel_format yuv420p out.yuv



However, I'm not able o stream it and play'it over local network.
I know, it sounds crazy :) but I plan to use VLC as a monitor/debugger for some YUV data.


The original MP4 file is streamed/played fine with VLC (test on the same computer)


.\vlc.exe "video.mp4" --sout="#std{access=http, mux=ts, dst=:55555/}"
.\vlc.exe http://192.168.0.174:55555/



So the big question !
How can I stream the YUV format and VLC recognise an play it as well ?


All that I tried with VLC is not playable.


Thanks for any hints !


-
How to play sequentially received video clips
21 novembre 2017, par Ye LiI’m working on a prototype project in which some small video clips are sequentially sent over a network. These clips are chunked (using ffmpeg) from a complete video file. Each of the clips is separately playable (containing exactly one GOP). At the destination, I need to smoothly play the sequentially received files as if I were streaming the video, i.e., play the files at the receiver side one by one in one process. May I know whether this is doable ? And if yes, what is the best practice to do this task ?
The network transmission/receiving parts are written in Python, but I’m open to use any other languages/tools for doing the task.
-
want to play m3u8 with hls.js and vue.js
21 octobre 2020, par tomo1127I'm trying to play m3u8 with hls.js and vue.js on codesandbox.


I made m3u8 useing ffmpeg like this.


ffmpeg -i movie1.mp4 -vcodec libx264 -s 1280x720 -strict experimental -acodec aac -b:a 96k -flags +loop-global_header -vbsf h264_mp4toannexb -f segment -segment_format mpegts -segment_time 10 -segment_list mav.m3u8 mav_%04d.ts



The Error from codesandbox say
** The error you provided does not contain a stack trace. **


Aslo I could play mp4 or youtube but not m3u8.


Here is my code


<template>
 <div>
 

 <p>window height: {{ height }}</p>
 </div>
</template>

<code class="echappe-js"><script>&#xA;import Hls from "hls.js";&#xA;&#xA;export default {&#xA; data() {&#xA; return {&#xA; hls: new Hls(),&#xA; height: window.innerHeight,&#xA; };&#xA; },&#xA; methods: {&#xA; playVide() {&#xA; this.height = window.innerHeight;&#xA; const video = document.getElementById("video");&#xA;&#xA; if (Hls.isSupported()) {&#xA; this.hls = new Hls();&#xA; this.hls.loadSource(&#xA; "SAMPLE.m3u8"&#xA; );&#xA; this.hls.attachMedia(video);&#xA; setTimeout(() => {&#xA; video.play();&#xA; }, 1000);&#xA; }&#xA; },&#xA; },&#xA; mounted() {&#xA; window.addEventListener("scroll", this.playVide);&#xA; },&#xA;};&#xA;</script>



I'm not sure this is happen because how I use ffmpg or how I code hls.js