
Recherche avancée
Autres articles (75)
-
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 ;
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
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 (14855)
-
Church of JPEG
25 mai 2014, par Mans — Random ramblingsSome time has passed since I last wrote about the antics of the IJG, purveyor of the well-known JPEG image manipulation library. With the major Linux distributions as well as the Firefox and Chrome browsers having switched to the libjpeg-turbo fork, there has been little reason to pay attention to … Continue reading
-
FFMPEG stops converting
19 février 2014, par user3328745I've got Ubuntu 12.04 LTS, which runs Wowza Media Server, so I use FFmpeg as a transcoder for live streaming and JWplayer on my website. But ffmpeg always stops converting, and I have to input the command again and again. So here is the command :
nohup ffmpeg -i rtsp://log:pass@<cameraip>:554/live1.sdp -ar 44100 -ab 128k -f flv -b 5000k -s 480x270 -y rtmp://<serverip>:1935/live/camera.stream &
</serverip></cameraip>And that's what i get
ffmpeg version 0.8.10-4:0.8.10-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
built on Feb 6 2014 20:56:59 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
[rtsp @ 0x25317a0] Estimating duration from bitrate, this may be inaccurate
Seems stream 0 codec frame rate differs from container frame rate: 150.00 (150/1) -> 1000.00 (1000/1)
Input #0, rtsp, from 'rtsp://log:pass@<cameraip>:554/live1.sdp':
Metadata:
title : RTSP/RTP stream 1 from DCS-2132L
comment : live1.sdp with v2.0
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0.0: Video: h264 (High), yuvj420p, 640x360 [PAR 1:1 DAR 16:9], 75 fps, 1k tbr, 90k tbn, 150 tbc
Stream #0.1: Audio: pcm_mulaw, 8000 Hz, 1 channels, s16, 64 kb/s
Incompatible pixel format 'yuvj420p' for codec 'mpeg4', auto-selecting format 'yuv420p'
[buffer @ 0x2539f80] w:640 h:360 pixfmt:yuvj420p
[scale @ 0x253a940] w:640 h:360 fmt:yuvj420p -> w:480 h:270 fmt:yuv420p flags:0x4
Incompatible sample format 's16' for codec 'ac3', auto-selecting format 'flt'
[ac3 @ 0x2531120] channel_layout not specified
[ac3 @ 0x2531120] No channel layout specified. The encoder will guess the layout, but it might be incorrect.
[ac3 @ 0x2531120] invalid bit rate
Output #0, avi, to 'rtmp://<serverip>:1935/live/camera.stream':
Stream #0.0: Video: mpeg4, yuv420p, 480x270 [PAR 1:1 DAR 16:9], q=2-31, 1024 kb/s, 90k tbn, 1k tbc
Stream #0.1: Audio: ac3, 22050 Hz, mono, flt, 1024 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Error while opening encoder for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height
</serverip></cameraip>Plese, help me to correct the errors
-
Using ffmpeg to mix two rtmp streams gives av_interleaved_write_frame() : Operation not permitted
9 février 2014, par yazan jaberUsing ffmpg I'm trying to mix an rtmp stream containing only audio data and another rtmp stream containing only video data then publish again to rtmp server. It works for a few seconds then I get
av_interleaved_write_frame(): Operation not permitted
Any idea what is wrong and how can I fix it ?
Also I'm using RED5 for streaming.E:\Everything\ffmpeg\ffmpeg-20140207-git-9707b53-win64-static\bin>ffmpeg -i "rtm
p://localhost:1935/oflaDemo/s2 live=1" -i "rtmp://localhost:1935/oflaDemo/s3 liv
e=1" -codec:v copy -codec:a copy -f flv rtmp://localhost:1935/oflaDemo/s4
ffmpeg version N-60393-g9707b53 Copyright (c) 2000-2014 the FFmpeg developers
built on Feb 6 2014 22:07:13 with gcc 4.8.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aa
cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavp
ack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 52. 63.101 / 52. 63.101
libavcodec 55. 49.101 / 55. 49.101
libavformat 55. 30.100 / 55. 30.100
libavdevice 55. 7.100 / 55. 7.100
libavfilter 4. 1.102 / 4. 1.102
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
rtmp server sent error
rtmp server sent error
Input #0, flv, from 'rtmp://localhost:1935/oflaDemo/s2 live=1':
Duration: N/A, start: 2006.595000, bitrate: N/A
Stream #0:0: Audio: nellymoser, 22050 Hz, mono, flt
rtmp server sent error
rtmp server sent error
Input #1, flv, from 'rtmp://localhost:1935/oflaDemo/s3 live=1':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #1:0: Video: flv1, yuv420p, 320x240, 15 tbr, 1k tbn, 1k tbc
Output #0, flv, to 'rtmp://localhost:1935/oflaDemo/s4':
Metadata:
encoder : Lavf55.30.100
Stream #0:0: Video: flv1 ([2][0][0][0] / 0x0002), yuv420p, 320x240, q=2-31,
1k tbn, 1k tbc
Stream #0:1: Audio: nellymoser ([6][0][0][0] / 0x0006), 22050 Hz, mono
Stream mapping:
Stream #1:0 -> #0:0 (copy)
Stream #0:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 82 fps=0.0 q=-1.0 size= 78kB time=00:33:43.67 bitrate= 0.3kbits/
frame= 88 fps= 87 q=-1.0 size= 81kB time=00:33:44.14 bitrate= 0.3kbits/
frame= 96 fps= 63 q=-1.0 size= 84kB time=00:33:44.66 bitrate= 0.3kbits/
frame= 102 fps= 50 q=-1.0 size= 87kB time=00:33:45.14 bitrate= 0.4kbits/
frame= 110 fps= 43 q=-1.0 size= 90kB time=00:33:45.67 bitrate= 0.4kbits/
frame= 117 fps= 39 q=-1.0 size= 93kB time=00:33:46.14 bitrate= 0.4kbits/
frame= 124 fps= 35 q=-1.0 size= 96kB time=00:33:46.67 bitrate= 0.4kbits/
frame= 132 fps= 33 q=-1.0 size= 99kB time=00:33:47.21 bitrate= 0.4kbits/
frame= 138 fps= 30 q=-1.0 size= 102kB time=00:33:47.67 bitrate= 0.4kbits/
frame= 146 fps= 29 q=-1.0 size= 106kB time=00:33:48.20 bitrate= 0.4kbits/
WriteN, RTMP send error 10053 (140 bytes)
WriteN, RTMP send error 10053 (37 bytes)
WriteN, RTMP send error 10038 (42 bytes)
av_interleaved_write_frame(): Operation not permitted
frame= 149 fps= 28 q=-1.0 Lsize= 125kB time=00:33:48.41 bitrate= 0.5kbits
/s
video:541kB audio:84kB subtitle:0 data:0 global headers:0kB muxing overhead -79.
973789%