
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (68)
-
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 -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (9735)
-
Anomalie #4276 : fonctions non définies dans porte_plume_pipelines.php
24 janvier 2019, par François PalangiéBonjour,
Vous avez raison c’est la version 1.18.3 que j’ai maintenant, 1.18.1
devait être le numéro de version avant que je réinstalle la dernière
version de SPIP.Le problème était le même avec la 18.1.1 et la 18.1.3 . Le problème est
intervenu un matin sans que j’ai rien changé, je suppose que c’est mon
hébergeur qui a changé l’environnement et que c’est la cause du
problème... mais c’est curieux que cela produise ce type d’erreur !Cordialement,
François
Le 24/01/2019 à 12:59, redmine@spip.org a écrit :
La demande #4276 <https://core.spip.net/issues/4276#change-14694> a
été mise à jour par Franck D .- Statut changé de /Nouveau/ à /Fermé/
Hello :-)
Spip 3.2.3 est dispo avec la version 1.18.3 de porte plume
https://zone.spip.net/trac/spip-zone/browser/spip-zone/_core_/tags/spip-3.2.3/plugins/porte_plume/paquet.xml#L4
J’ai vérifier le zip et c’est bien le cas
https://files.spip.net/spip/archives/SPIP-v3.2.3.zip !
Vous êtes sûr de la version que vous avez ?
Franck
Anomalie #4276 : fonctions non définies dans
porte_plume_pipelines.php
<https://core.spip.net/issues/4276#change-14694>- Auteur : François Palangié
- Statut : Fermé
- Priorité : Normal
- Assigné à :
- Catégorie :
- Version cible :
- Resolution :
- Navigateur :
Environnement :
- SPIP 3.2.3 [24211]
- Porte plume 1.18.1 - stable
- Site : https://voyart.org
- PHPinfo : https://voyart.org/phpinfo.php
Problème :
Le site fonctionne, mais quand on tente d’accéder à la partie
privée on a ce message d’erreur, qui persiste même après une
réinstallation de SPIP :
Fatal error : Uncaught Error : Call to undefined function barre_outils_css_icones() in /var/www/vhosts/voyart.org/httpdocs/plugins-dist/porte_plume/porte_plume_pipelines.php:152
Stack trace :
#0 /var/www/vhosts/voyart.org/httpdocs/plugins-dist/porte_plume/porte_plume_pipelines.php(129) : porte_plume_insert_head_css(’<script type="t...', true)<br /><a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Anomalie: Document distant .zip uploadés et non gardés distants (Fermé)" href="https://core.spip.net/issues/1">#1</a> /var/www/vhosts/voyart.org/httpdocs/ecrire/inc/utils.php(199): porte_plume_insert_head_prive_css('<script type="t...')<br /><a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Anomalie: Filtres sur chaines de langues de nouveau cassés (Fermé)" href="https://core.spip.net/issues/2">#2</a> /var/www/vhosts/voyart.org/httpdocs/tmp/cache/charger_pipelines.php(596): minipipe('porte_plume_ins...', '<script type="t...')<br /><a class="issue tracker-1 status-5 priority-3 priority-lowest closed" title="Anomalie: problème de gestion de cache lors de l'installation de SPIP (Fermé)" href="https://core.spip.net/issues/3">#3</a> /var/www/vhosts/voyart.org/httpdocs/ecrire/inc/utils.php(265): execute_pipeline_header_prive_css('<script type="t...')<br /><a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Evolution: forum privé->public (Fermé)" href="https://core.spip.net/issues/4">#4</a> /var/www/vhosts/voyart.org/httpdocs/tmp/cache/skel/html_c44cf6e196e37af7575f04c7aba04247.php(72): pipeline('header_prive_cs...', '<script type="t...')<br /><a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Evolution: traduction francophone de la zone utilisant Trac (Fermé)" href="https://core.spip.net/issues/5">#5</a> /var/www/vhosts/voyart.org/httpdocs/ecrire/public/parametrer.php(128): html_c44cf6e196e37af7575f04c7aba04247(Array, Array)<br /><a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Anomalie: Renseigner les champs "component", "version", .. (Fermé)" href="https://core.spip.net/issues/6">#6</a> /var/www/vhosts/voyart.org/httpdocs/ecr in /var/www/vhosts/voyart.org/httpdocs/plugins-dist/porte_plume/porte_plume_pipelines.php on line 152</p><br />
<br />
<br />
<p>Le problème est contourné en renommant le répertoire <br />plugin-dist/porteplume<br />Le problème ne dépend pas du navigateur firefox, edge, chrome<br />Aucun problème sur le SPIP de développement installé avec <br />EasyPHP-devserver sur mon ordinateur perso</p><br />
<br />
<br />
<hr /><br />
<br />
<br />
<p>Vous recevez ce mail car vous êtes impliqués sur ce projet.<br />Pour changer les préférences d'envoi de mail, allez sur <br /><a class="external" href="http://core.spip.net/my/account">http://core.spip.net/my/account</a></p><br />
<br />
<br />
</blockquote><br />
<br />
<p>---<br />Cet email a fait l'objet d'une analyse antivirus par AVG.<br /><a class="external" href='http://www.avg.com/'>http://www.avg.com</a></p> -
How to stream a screen sharing through a server
27 mai 2020, par MoazI'm trying to write an application that captures the screen of the client device and streams it (using
ffmpeg
) to anode-media-server
which publishes it as an HLS stream. The stream is then viewed with an HLS player on a web browser (in my approach I used video.js)


What I did so far :



- 

- I created a node media server using the default configurations to Remux to HLS live stream in a file called
app.js
:







const NodeMediaServer = require('node-media-server');

const config = {
 rtmp: {
 port: 1935,
 chunk_size: 60000,
 gop_cache: true,
 ping: 30,
 ping_timeout: 60
 },
 http: {
 port: 8000,
 mediaroot: './media',
 allow_origin: '*'
 },
 trans: {
 ffmpeg: '/usr/local/bin/ffmpeg',
 tasks: [
 {
 app: 'live',
 hls: true,
 hlsFlags: '[hls_time=2:hls_list_size=3:hls_flags=delete_segments]',
 dash: true,
 dashFlags: '[f=dash:window_size=3:extra_window_size=5]'
 }
 ]
 }
};

var nms = new NodeMediaServer(config)
nms.run();








- 

- I ran it with the command
node app.js
- After installing
ffmpeg
and figuring out which video and audio source I wanted to stream from, I started streaming by running the command :







ffmpeg -f avfoundation -framerate 30 -i "1:1" -c:v libx264 -preset superfast -tune zerolatency -c:a aac -ar 44100 -f flv rtmp://localhost/live/STREAM_NAME



- 

- I prepared a simple html page which uses the video.js player to play the HLS stream :








 



 <h1>Video.js Example Embed</h1>

 
 <p class="vjs-no-js">
 To view this video please enable JavaScript, and consider upgrading to a
 web browser that
 <a href="https://videojs.com/html5-video-support/" target="_blank">supports HTML5 video
 </a></p>
 
 
 <code class="echappe-js"><script src="https://vjs.zencdn.net/7.8.2/video.js"></script>

<script src="https://unpkg.com/@videojs/http-streaming/dist/videojs-http-streaming.js"></script>

 
<script>&#xD;&#xA; var player = videojs(&#x27;my_video_1&#x27;);&#xD;&#xA; player.src([{&#xD;&#xA; "type":"application/x-mpegURL",&#xD;&#xA; "src":"http://localhost:8000/live/STREAM_NAME/index.m3u8"&#xD;&#xA; }]);&#xD;&#xA; player.play();&#xD;&#xA; </script>









- 

- then I ran an http server and served this html page to prevent and origin access errors.
- when opening this html page the stream works well in Chrome (v83.0.4103.61)







BUT :



- 

-
In Firefox Developer Edition (v76.0b8 (64-bit)) the player hangs on loading and nothing is shown. It keeps loading the HLS manifest file and the .ts files but the video is not showing :

-
In Safari (v13.1) on MacOS the player never loads correctly and the following errors are printed :








I tried another video player (flv.js) which workes with http-flv streams using the following basic html page :









 <video controls="controls" autoplay="autoplay" muted="muted" width="640" height="268"></video>

 <code class="echappe-js"><script src="https://cdn.bootcss.com/flv.js/1.5.0/flv.min.js"></script>

<script>&#xD;&#xA; if (flvjs.isSupported()) {&#xD;&#xA; var videoElement = document.getElementById(&#x27;flvPlayer&#x27;);&#xD;&#xA; var flvPlayer = flvjs.createPlayer({&#xD;&#xA; type: &#x27;flv&#x27;,&#xD;&#xA; "isLive": true,&#xD;&#xA; url: &#x27;http://localhost:8000/live/STREAM_NAME.flv&#x27;&#xD;&#xA; });&#xD;&#xA; flvPlayer.attachMediaElement(videoElement);&#xD;&#xA; flvPlayer.load();&#xD;&#xA; flvPlayer.play();&#xD;&#xA; }&#xD;&#xA; </script>










- 

- It worked as expected in Chrome





BUT :



- 

-
On Firefox it plays an empty video with some noise showing the following warnings :

-
And on Safari it doesn't play at all and shows the following error : 








I also tried the same steps on IE11 and on Edge and it also didn't work (Unfortunately, I don't have any screenshots)



So my questions are : what am I doing wrong ? why didn't each approach work ? and are there other/better approaches that I can also try which helps achiving the same goal (preferably something free/open source with as least latency as possible)


- I created a node media server using the default configurations to Remux to HLS live stream in a file called
-
Some H264-mp4 videos can't be loaded by any non-Chromium based web browser
3 mai 2020, par LaizrodI regularly use ffmpeg to encode some videos, blu-ray etc in mp4 files (encoded in H264 and AAC) in order to be played on web browsers.
Chromium based browsers such as Google Chrome or the new Microsoft Edge can play all of my files flawlessly.
But today I noticed that some video files couldn't be loaded by some web browsers. It looks like they can't be loaded by any non-Chromium based web browser. (Safari, Firefox etc..)



So I decided to check out and compare the specs of files that work with any web browser, and files that doesn't work with non-Chromium based browsers.



There's what I got :



- 

- Playable by any web browser :





General
Complete name : /storage/100.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (isom/iso2/avc1/mp41)
File size : 624 MiB
Duration : 23 min 54 s
Overall bit rate : 3 648 kb/s
Encoded date : UTC 2019-10-02 22:15:27
Tagged date : UTC 2019-10-02 22:15:27
Writing application : HandBrake 1.2.2 2019022300

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings : CABAC / 1 Ref Frames
Format settings, CABAC : Yes
Format settings, ReFrames : 1 frame
Format settings, GOP : M=3, N=24
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 23 min 54 s
Bit rate : 3 481 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 23.976 (24000/1001) FPS
Minimum frame rate : 23.974 FPS
Maximum frame rate : 23.981 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.070
Stream size : 595 MiB (95%)
Encoded date : UTC 2019-10-02 22:15:27
Tagged date : UTC 2019-10-02 22:15:27
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Codec configuration box : avcC

Audio
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 23 min 54 s
Bit rate mode : Constant
Bit rate : 160 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 27.4 MiB (4%)
Title : Stereo
Language : Japanese
Default : Yes
Alternate group : 1
Encoded date : UTC 2019-10-02 22:15:27
Tagged date : UTC 2019-10-02 22:15:27




- 

- Unplayable by non-chromium based web browsers :





General
Complete name : /storage/DL/test.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 329 MiB
Duration : 23 min 52 s
Overall bit rate : 1 926 kb/s
Writing application : Lavf58.20.100

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 23 min 52 s
Bit rate : 1 792 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.036
Stream size : 306 MiB (93%)
Writing library : x264 core 155 r2917 0a84d98
Encoding settings : cabac=1 / ref=1 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=2 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=34 / lookahead_threads=8 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=10 / rc=crf / mbtree=1 / crf=21.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language : Japanese
Codec configuration box : avcC

Audio
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 23 min 52 s
Bit rate mode : Constant
Bit rate : 128 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 21.9 MiB (7%)
Language : Japanese
Default : Yes
Alternate group : 1




My knowledge is limited and I'm unable to understand why and which differences are causing my issue.
Can someone identify the problem and help me fix it with ffmpeg ?



Thank you