
Recherche avancée
Médias (1)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
Autres articles (67)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (9465)
-
avformat/mpegts : add support for ATSC E-AC-3 streams
14 novembre 2024, par Scott Theisen -
NODE.JS using audioconcat , configured ffmpeg but still have prob
11 mai 2018, par Adnan KhanWant to concatenate two audio files. i used an npm package known as audioconcat but when i installed and configured the below code i am confronted with the following error
Error: Error: Cannot find ffmpeg
at E:\VoiceMan\registercheck\node_modules\fluent-ffmpeg\lib\processor.js:136:22
at E:\VoiceMan\registercheck\node_modules\fluent-ffmpeg\lib\capabilities.js:123:9
at E:\VoiceMan\registercheck\node_modules\async\dist\async.js:356:16
at nextTask (E:\VoiceMan\registercheck\node_modules\async\dist\async.js:5057:29)
at E:\VoiceMan\registercheck\node_modules\async\dist\async.js:5064:13
at apply (E:\VoiceMan\registercheck\node_modules\async\dist\async.js:21:25)
at E:\VoiceMan\registercheck\node_modules\async\dist\async.js:56:12
at E:\VoiceMan\registercheck\node_modules\async\dist\async.js:840:16
at E:\VoiceMan\registercheck\node_modules\fluent-ffmpeg\lib\capabilities.js:116:11
at E:\VoiceMan\registercheck\node_modules\fluent-ffmpeg\lib\utils.js:223:16
ffmpeg stderr: undefinedThen I put my problem on stackoverflow. A kind developer suggest me to install ffmpeg also. which i successfully installed and set there path variables but now i am having another issue which tells me that no such file are directry found..i placed my audio files in the same folder of this module.
here is the errorworking11
working1123423423423
ffmpeg process started: ffmpeg -i concat:audio/a(1).m4a|audio/a(2).m4a|audio/a(3).m4a -y -acodec copy all.m4a
Error: Error: ffmpeg exited with code 1: concat:audio/a(1).m4a|audio/a(2).m4a|audio/a(3).m4a: No such file or directory
at ChildProcess.<anonymous> (C:\Projects\audio\node_modules\fluent-ffmpeg\lib\processor.js:182:22)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
ffmpeg stderr: ffmpeg version N-90173-gfa0c9d69d3 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 7.3.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libas
s --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --ena
ble-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack -
-enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidst
ab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libmfx --enable-amf --enable-cuda
--enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth
libavutil 56. 7.101 / 56. 7.101
libavcodec 58. 13.100 / 58. 13.100
libavformat 58. 10.100 / 58. 10.100
libavdevice 58. 2.100 / 58. 2.100
libavfilter 7. 12.100 / 7. 12.100
libswscale 5. 0.101 / 5. 0.101
libswresample 3. 0.101 / 3. 0.101
libpostproc 55. 0.100 / 55. 0.100
concat:audio/a(1).m4a|audio/a(2).m4a|audio/a(3).m4a: No such file or directory
</anonymous>here is my code :
var audioconcat = require('audioconcat')
var songs = [
'a(1).mp3',
'a(2).mp3',
'a(3).mp3'
]
console.log("working11")
audioconcat(songs)
.concat('all.mp3')
.on('start', function (command) {
console.log('ffmpeg process started:', command)
})
.on('error', function (err, stdout, stderr) {
console.error('Error:', err)
console.error('ffmpeg stderr:', stderr)
})
.on('end', function (output) {
console.error('Audio created in:', output)
})
console.log("working1123423423423") -
ffplay attempt to subscribe to rtmp server failing with : RTMP_ReadPacket, failed to read RTMP packet header
8 mars 2018, par johnnydonnaI have an nginx rtmp server loaded with this docker image : https://github.com/DvdGiessen/nginx-rtmp-docker.
In general I can stream to it fine with ffmpeg and most of the time connect to the stream fine as well with ffplay. However, for some people, they are unable to subscribe to the RTMP stream at all.
ffmpeg hosts with this command :
ffmpeg.exe -f,gdigrab,-framerate,20,-draw_mouse,1,-i,desktop,-c:v,h264_nvenc,-profile:v,main,-delay,0,-preset,default,-rc,vbr,-cq,36,-vf,scale=1024:-2,format=yuv420p,-r,20,-g,40,-y,-f,flv,rtmp://url
ffplay subscribes with this command :
ffplay.exe -fflags,nobuffer,-flags,low_delay,-an,-window_title,Screen of User,-framedrop,rtmp://url
The URL does match the url to which the host is streaming from. What happens is that for about 30 seconds, nothing happens with the following ffplay output :
nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0<br />
nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0<br />
nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0which repeats until after a while I get the following error :
RTMP_ReadPacket, failed to read RTMP packet header
2018/mm/dd 12:--:--:-- [web] rtmp://url: Invalid data found when processing input
I tried doing what this recommended in regards to the NGINX server setup here : https://github.com/arut/nginx-rtmp-module/issues/1039, setting my worker_processes to 1 which did not change anything.
It seems like it may just be ffplay timing out but I cannot tell why it occurs only for a few users and not widely. If it is ffplay timing out, what can be done to fix the problem ? It doesn’t seem like an internet speed issue, as these subscribers have pretty good internet. I cannot replicate across different machines, only those few who have continued to have this problem. Any and all help would be appreciated !