
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 (66)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
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
Sur d’autres sites (7482)
-
error converting .caf to .mp3 in mvc 4
17 avril 2014, par JenniferI used to convert caf to mp3 using Wscript.shell and ffmpeg.exe when i was using asp.net
but now i'm using a web api restful method in mvc 4, so i don't have a .aspx page
i'm getting the following error :Description:System.Web.HttpException (0x80004005): The component 'Wscript.Shell' cannot be created. Apartment threaded components can only be created on pages with an <%@ Page aspcompat=true %> page directive.
but i don't have an aspx page to add this tag...
the code i was using in aspx is :
Dim wshShell As Object
wshShell = Server.CreateObject("Wscript.Shell")
cmd = "cmd.exe /k """"" & szCAF_PATH & """ -i """ & szPhysicalPath & """ " & Arguments & " """ & szEncodedPath & """"""
wshShell.Run(cmd)
Dim strCommand As String = "taskkill /F /IM cmd.exe"
wshShell.Run(strCommand, 0, True)
szDownloadLink = szDownloadLink.Replace(".caf", ".mp3")and the code in mvc4 is :
wshShell = HttpContext.Current.Server.CreateObject("Wscript.Shell")
cmd = "cmd.exe /k """"" & File.CAF_PATH & """ -i """ & File.PhysicalPath & """ " & File.Arguments & " """ & File.EncodedPath & """"""
wshShell.Run(File.cmd)
strCommand = "taskkill /F /IM cmd.exe"
wshShell.Run(strCommand, 0, True)
File.DownloadLink = File.DownloadLink.Replace(".caf", ".mp3")does anyone know how can i fix this ?
-
How to determine linux version on server [migrated]
15 novembre 2011, par chetanI purchased a web server recently and have got access to shell on it.Want to install ffmpeg extension on it but I dont know the linux version on the server. I am not used to running linux commands, so can anybody help me in determining the linux version using the shell commands.
-
Node merge multiple .m3u8 playlist as single stream
28 juin 2022, par jr3000I have two .m3u8 files example : file.m3u8 and file2.com. The streams are not live, I am using npm m3u8 package to possible create a dynamic playlist.




var m3u8 = require('m3u8');
var fs = require('fs');
const express = require("express")
const app = express()
const port = 8080
const cors = require("cors")
const M3U8 = require("m3u8");
app.use(cors())
const async = require("async")

app.get('/', (req, res) => {
 var playlist = M3U8.M3U.create();
 playlist.set('targetDuration', '10');
 playlist.set('playlistType', 'VOD');
 playlist.set('version', '3');
 playlist.set('mediaSequence', '0');

 var parser = m3u8.createStream();
 const arr = ['/file.m3u8', '/file2.m3u8']
 async.each(arr, (itm, next) => {
 var file = fs.createReadStream(itm);
 file.pipe(parser);
 parser.on('item', function(item) {
 playlist.addPlaylistItem(item);
 });
 next()
 }, () => {
 res.type('application/vnd.apple.mpegurl').send(playlist.toString());
 })
})
app.listen(port, () => console.log(`App started`));







Has anyone ever accomplish merging two .m3u8 urls to be sent out as a single stream. Thanks