
Recherche avancée
Médias (3)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (27)
-
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 -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
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 (6397)
-
Video encoding and decoding by the player during online playback [closed]
10 janvier 2024, par rahkarenovinI made a player to stream the video.


I want to do 32-bit encoding on the video with the help of ffmpeg.
so that the video will only play in my player.


The problems I have :


- 

-
I want to put my 32-bit password in the player, the player will check this password while playing the video, if the password is the same, the video will be played.


-
I don't know how to decode the video with the below player.








What code is needed ? What command can I use to decode the video ?


My player code :


<div class="grid">
 <main>
 <div>
 
 
 </div>
 </main>
</div>

<code class="echappe-js"><script&#xA; type="text/javascript"&#xA; src="https://cdn.polyfill.io/v2/polyfill.min.js?features=es6,Array.prototype.includes,CustomEvent,Object.entries,Object.values,Math.trunc"&#xA; crossorigin="anonymous"&#xA;></script>


<script type="text/javascript" src="https://cdn.plyr.io/3.5.2/plyr.js"></script>


<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/hls.js@latest"></script>


<script>&#xA; const source = &#x27;https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8&#x27;;&#xA; const player = new Plyr(&#x27;#player&#x27;);&#xA; var video = document.getElementById(&#x27;player&#x27;);&#xA; if(Hls.isSupported()) {&#xA; var hls = new Hls();&#xA; hls.loadSource(source);&#xA; hls.attachMedia(video);&#xA; hls.on(Hls.Events.MANIFEST_PARSED,function() {&#xA; video.play();&#xA; });&#xA; }else if (video.canPlayType(&#x27;application/vnd.apple.mpegurl&#x27;)) {&#xA; video.src = source;&#xA; video.addEventListener(&#x27;loadedmetadata&#x27;,function() {&#xA; video.play();&#xA; });&#xA; }&#xA;</script>



-
-
Node Media Server not stream when i try to pass the argument "transpose=1" to ffmpeg
28 mai 2020, par joao.jlf4I'm using node-media-server to stream to instagram, and i need to rotate the original vídeo, to be portrait. I know that there is a flag on ffmpeg called transpose (there is rotate too), but when i pass it on node_relay_session.js on 24 line at the argv array, it returns me a "[Relay end]" on console, and it does'nt stream. When I remove the transpose flag from argv array it backs to stream normaly. Here is my config to nms :



import NodeMediaServer from 'node-media-server';
import removeBarOfRtmpUrl from './utils/removeBarRtmpUrl';
import path from 'path';
import { remote } from 'electron';

export default function(data) {

const streams = data.map(stream => ({
endpoint: removeBarOfRtmpUrl(stream.endpoint),
key: stream.key,
}))

const config = {
rtmp: {
port: 1935,
chunk_size: 60000,
gop_cache: true,
ping: 30,
ping_timeout: 60
},
http: {
port: 8000,
allow_origin: '*'
},
relay: {
// C:\Users\Usuario\Desktop\multistream\node_modules.bin\ffmpeg.exe
ffmpeg: path.join(remote.app.getPath('appData'), '..', 'Local', 'Programs', 'multistream', 'app', 'ffmpeg', 'bin', 'ffmpeg.exe'),
tasks: streams.map(stream => ({
app: 'live',
mode: 'push',
edge: ${stream.endpoint}/${stream.key},

 }))
},
};

const nms = new NodeMediaServer(config);
return nms;
}

// {
// app: 'live',
// mode: 'push',
// edge: 'rtmp://a.rtmp.youtube.com/live2/keyyoutube',
// },```



-
Android native runtime fails to load symbols even though they are actually found in the loaded .so files
25 octobre 2017, par GopinathI have compiled ffmpeg v3.4 using NDK v15.2 and I’m creating a wrapper lib called ffmpeg-jni.
static {
try {
System.loadLibrary("avutil");
System.loadLibrary("avcodec");
System.loadLibrary("avformat");
System.loadLibrary("swscale");
System.loadLibrary("avfilter");
System.loadLibrary("ffmpeg-jni"); // Exception here line#101
loadedLibraries = true;
} catch (Throwable e) {
e.printStackTrace();
}
}Below is the exception thrown when loading my wrapper library.
10-24 11:12:13.819 21499-21499/com.myeglu.android.canary.staging W/System.err: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "av_register_all" referenced by "/data/app/com.myeglu.android.canary.staging-2/lib/arm/libffmpeg-jni.so"...
But, to my surprise, this function is defined in libavformat.so, which loaded successfully ; This is clear from the nm tool outputthat the av_register_all() function is defined (T) in libavformat.so
Here is a link of all the pre-built libraries that are troubling to make peace at runtime. (There are a few other libraries as well apart from the ffmpeg libs)
https://drive.google.com/drive/folders/0B20ExoMyOP_UeDhNdmwzc2tjR3M?usp=sharing
Somebody help me understand what I could be missing in this case. Thanks for your time.