
Recherche avancée
Médias (1)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (41)
-
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 -
Initialisation de MediaSPIP (préconfiguration)
20 février 2010, parLors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
Dans un premier temps il active ou désactive des options de SPIP qui ne le (...) -
Taille des images et des logos définissables
9 février 2011, parDans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)
Sur d’autres sites (4933)
-
Trying to convert an RTSP stream to a HSL file, but get a "Failed to Open Segment" error
1er juin 2021, par Alvydas JuodikisThese are the linux commands I ran on ubuntu 20.04 to convert an rtsp stream to a HLS file. I was trying to then display it onto my html webserver to run a live video but I'm stuck at an error.


ffmpeg -fflags nobuffer \
 -rtsp_transport tcp \
 -i <my rtsp="rtsp" url="url"> \
 -vsync 0 \
 -copyts \
 -vcodec copy \
 -movflags frag_keyframe+empty_moov \
 -an \
 -hls_flags delete_segments+append_list \
 -f segment \
 -segment_list_flags live \
 -segment_time 0.5 \
 -segment_list_size 1 \
 -segment_format mpegts \
 -segment_list Home/Desktop/fmpegsolution/index.m3u8 \
 -segment_list_type m3u8 \
 -segment_list_entry_prefix Home/Desktop/fmpegsolution/ \
 Home/Desktop/fmpegsolution/%3d.ts
</my>


I'm using an example from this link :
https://girishjoshi.io/post/ffmpeg-rtsp-to-hls/


I try to generate my file into a directory located in my desktop called fmpegsolution (hence the output path Home/Desktop/fmpegsolution)


The error :


When running this on terminal, the error comes out to :

[segment @ 0x558c82e11ec0] Opening 'Home/Desktop/fmpegsolution/000.ts' for writing [segment @ 0x558c82e11ec0] Failed to open segment 'Home/Desktop/fmpegsolution/000.ts' Could not write header for output file #0 (incorrect codec parameters ?): No such file or directory


My issue is related to the folder or directory but it definitely exists. I even tried creating a "%3d.ts" blank file (000.ts) but that had no effect. Could use some help. Thanks for your time.


-
FFMPEG 4.2.4, Python 3.9 : "ffmpeg : error while loading shared libraries : libopenh264.so.5 : cannot open shared object file : No such file or directory"
7 mars 2021, par WilanI'm using ffmpeg 4.2.4 and Python 3.9


Currently getting error :

ffmpeg: error while loading shared libraries: libopenh264.so.5: cannot open shared object file: No such file or directory


Tried the solutions from these links but they didn't work :

ffmpeg : error while loading shared libraries : libopenh264.so.5

Ffmpeg error in linux

If anyone has any idea how to fix it, or needs any more information, please let me know.


-
Getting this error using ffmpeg concat in ReactNative "concat imposible to open"
2 février 2021, par Josip BogdanHy, I am trying to concat multyple video using ffmpeg concat, testing on samsung j76, android version 8.1.0


const textFile = await (await writeTextFileWithAllVideoFiles(filePaths)) 
const outputPath = Platform.OS === 'ios' ? `${RNFS.DocumentDirectoryPath}/video-1.mp4` : `${RNFS.DocumentDirectoryPath}/video-1.mp4`
console.log(`-f concat -safe 0 -i ${textFile} -c copy ${outputPath}`)
const result = await RNFFmpeg.execute(`-f concat -safe 0 -i ${textFile} -c copy ${outputPath}`)



And here is how I create the txt file


const writeTextFileWithAllVideoFiles = async (filePaths) => {
var RNFS = require('react-native-fs');
var path = RNFS.DocumentDirectoryPath + '/videoList.txt';

var fileContent = ''
console.log("fileplay1");
filePaths.forEach(path => {
 fileContent += 'file ' + '\'' + path.substring(8) + '\'' + '\r\n'
});
console.log(fileContent);
return RNFS.writeFile(path, fileContent, 'utf8')
.then((success) => {
 console.log(path)
 if (RNFS.exists(path))
 console.log('FILE WRITTEN!')
 return path
})
.catch((err) => {
 console.log(err.message)
 return err.message
}); 
}



This is my console log output


file 'data/user/0/com.videoeditorapp/cache/Camera/f27579d2-1488-4a59-8a9d-7a4e7b6fe716.mp4'
file 'data/user/0/com.videoeditorapp/cache/Camera/58130175-bd20-4002-9629-070d0cdd18ac.mp4'

[Tue Feb 02 2021 16:30:45.375] LOG /data/user/0/com.videoeditorapp/files/videoList.txt
[Tue Feb 02 2021 16:30:45.376] LOG FILE WRITTEN!
[Tue Feb 02 2021 16:30:45.376] LOG -f concat -safe 0 -i /data/user/0/com.videoeditorapp/files/videoList.txt -c copy /data/user/0/com.videoeditorapp/files/video-1.mp4
[Tue Feb 02 2021 16:30:45.376] LOG [concat @ 0xe2b22000] Impossible to open '/data/user/0/com.videoeditorapp/files/data/user/0/com.videoeditorapp/cache/Camera/f27579d2-1488-4a59-8a9d-7a4e7b6fe716.mp4'
[Tue Feb 02 2021 16:30:45.377] LOG /data/user/0/com.videoeditorapp/files/videoList.txt: No such file or directory



And the txt file is not on my android device
My manifest is like this



 
 

<application></application>