
Recherche avancée
Autres articles (103)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (15757)
-
ffmpeg cmd not running through nodejs getting error like error initializing filter \'select\' with args \'"not(mod(n\'\n']"
22 juillet 2019, par Nileshdeora1122hello everyone i need your help i’m working on ffmpeg as following by blog post https://contextneutral.com/snippet/how-to-run-ffmpeg-from-inside-of-nodejs
now i’m doing the same my ffmpeg command running successfully on the terminal but not working with nodejs.
basicaly i’m trying to run :"ffmpeg -loglevel panic -y -i "video.mp4" -frames 1 -q:v 1 -vf "select=not(mod(n\,40)),scale=-1:120,tile=100x1" video_preview.jpg "
my nodejs code looklike this :
let ffmpeg = spawn(
'ffmpeg', [
'-i', `${ Inputvideofile }`,
'-y',
'-frames',1,
'-q:v', '1',
'-vf', ' "select=not(mod(n\,120)),scale=-1:40,tile=10x1 " ',
`${ outpputImgstripe }`
]);
ffmpeg.on('exit', (statusCode) => {
console.log(statusCode)
if (statusCode === 0) {
console.log('conversion successful')
}
})
ffmpeg
.stderr
.on('data', (err) => {
console.log('err:', new String(err))
})
module.exports = router;The error im getting is :
Error initializing filter \'select\' with args \'"not(mod(n\'\n']
err: [String: 'Error reinitializing filters!\nFailed to inject frame into filter network: Invalid argument\nError while processing the decoded data for stream #0:0\n']
err: [String: 'Conversion failed!\n']
1i think the error is :
'-vf', ' "select=not(mod(n\,120)),scale=-1:40,tile=10x1 " ',
but don’t know how to solve pls help me
-
ffmpeg 4.1.4 wav to mp3 error of "deprecated pixel format used" [on hold]
26 août 2019, par yang jia[swscaler @ 0xc946d000] deprecated pixel format used, make sure you did set range correctly
[mp3 @ 0xc9621600] Frame rate very high for a muxer not efficiently supporting it.
Please consider specifying a lower framerate, a different muxer or -vsync 2
[auto_resampler_0 @ 0xd8e73be0] [SWR @ 0xc8058000] Output channel layout '6 channels (FLC+BC+SL+SR+TC+TFL)' is not supported
[auto_resampler_0 @ 0xd8e73be0] Failed to configure output pad on auto_resampler_0
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0
--------- beginning of crash
2019-02-26 16:04:58.368 27737-27737/com.blplayer.jbl.blplayer A/libc: Fatal signal 7 (SIGBUS), code 1, fault addr 0xc5ca in tid 27737 (er.jbl.blplayer)cmd
ffmpeg -i test.wav -acodec libmp3lame -ar 8000 -ac 2 -y wav2mp3.mp3
This is the log :
then on Mac it success egg
ffmpeg -i input.wav -vn -ar 44100 -ac 2 -b:a 192k output.mp3Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, wav, from ’input.wav’ :
Metadata :
encoder : Lavf58.20.100
Duration : 00:02:08.29, bitrate : 256 kb/s
Stream #0:0 : Audio : pcm_s16le (1[0][0][0] / 0x0001), 8000 Hz, stereo, s16, 256 kb/s
Stream mapping :
Stream #0:0 -> #0:0 (pcm_s16le (native) -> mp3 (libmp3lame))Output #0, mp3, to ’output.mp3’ :
Metadata :
TSSE : Lavf58.31.104
Stream #0:0 : Audio : mp3 (libmp3lame), 44100 Hz, stereo, s16p, 192 kb/s
Metadata :
encoder : Lavc58.55.101 libmp3lamebut on android it gets error
-
Connection timed out RTSP stream exited with error"
30 septembre 2019, par fw08I am building an web application on AWS Cloud that requires to stream a recorded/live video over the global network. I purchased an IP camera(GV-AVD4710) and NVR(GV-SNVR0811) for our application. In future I need to stream no. of cameras on my application.
While Camera in use With NVR, I have connected the NVR in our local network and the camera at channel_1 of NVR. Now the lets assume NVR is getting an IP of 192.168.1.203. So for rtsp streaming URL for channel_1 will be
"rtsp://id:password@192.168.1.203:554/ch1"
as per manufacturer’s specification. For camera streaming I am using "ffmpeg" multimedia framework (https://github.com/xpcrts/Steaming-IP-Camera-Nodejs ). So it is working fine. I tested it and working well in local network. Code that is running on the serverStream = require('node-rtsp-stream')
stream = new Stream({
name: 'name',
streamUrl: 'rtsp://ID:PASSWORD@abcxyz.com:554/ch1',
wsPort:3000,
ffmpegOptions: {
'-stats': '',
'-r': 30
}
})and Code running at client side which is independent of any plug-ins
<div>
<canvas width="auto" height="auto"></canvas>
<code class="echappe-js"><script type="text/javascript" src='http://stackoverflow.com/feeds/tag/jsmpeg.min.js'></script><script type="text/javascript"><br />
var canvas = document.getElementById('chanel1');<br />
var websocket = new WebSocket("ws://34.202.222.188:3000");<br />
var player= new jsmpeg(websocket, {canvas:canvas, autoplay:true, loop:true})<br />
</script>When I made this IP address available for public, and then the problem begins. It is not working and giving an error :
"[tcp @ 0x563911f0a340] Connection to tcp://192.168.1.205:554?timeout=0 failed: Connection timed out
rtsp://admin:admin@192.168.1.205: Connection timed out RTSP stream exited with error"In Camera Without NVR, I connected camera directly to our local network and so got an rtsp url like rtsp ://id:password@192.168.1.205/media/video1. Same happens again. Works well in local, but not working when I am making this available on public network.
How can stream video over global network ? Is it possible to implement these logic using ffmpeg multimedia framework ? Does VLC can help in these cases ?
I would like to reiterate that, In future there are no. of cameras needs to be stream.