
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 (77)
-
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users. -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras. -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (5515)
-
YouTube Live not working with FFMPEG
29 septembre 2020, par Benedikt NeumayrEDIT : It already works. My new router seems to block rtmp traffic. I edited the firewall config and now it works !

I'm trying to stream to YouTube with ffmpeg with the following command :


ffmpeg -f alsa -ac 2 -i hw:0,0 -f v4l2 -s 1280x720 -r 10 -i /dev/video0 -vcodec libx264 -pix_fmt yuv420p -preset ultrafast -strict experimental -r 25 -g 20 -b:v 2500k -codec:a libmp3lame -ar 44100 -b:a 11025 -bufsize 512k -f flv rtmp://a.rtmp.youtube.com/live2/45ee-qka9-0djm-796z 




My ffmpeg version 2.8.11 on Linux Mint 18.2 then says :



Input #0, alsa, from 'hw:0,0':
 Duration: N/A, start: 1511081240.166016, bitrate: 1536 kb/s
 Stream #0:0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s 
[video4linux2,v4l2 @ 0xacba60] The driver changed the time per frame from 1/10 to 2/15
Input #1, video4linux2,v4l2, from '/dev/video0':
 Duration: N/A, start: 5907.755626, bitrate: 110592 kb/s
 Stream #1:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 1280x720, 110592 kb/s, 7.50 fps, 7.50 tbr, 1000k tbn, 1000k tbc




After that it does nothing for about 3 minutes,then it finally returns the following error :



RTMP_Connect0, failed to connect socket. 110 (Connection timed out)
rtmp://a.rtmp.youtube.com/live2: Unknown error occurred




I used these instructions :





-
lavc/vaapi_encode : add support for maxframesize
5 mai 2022, par Linjie Fulavc/vaapi_encode : add support for maxframesize
Add support for max frame size :
- max_frame_size (bytes) to indicate the max allowed size for frame.Control each encoded frame size into target limitation size by adjusting
whole frame's average QP value. The driver will use multi passes to
adjust average QP setp by step to achieve the target, and the result
may not strictly guaranteed. Frame size may exceed target alone with
using the maximum average QP value. The failure always happens on the
intra(especially the first intra frame of a new GOP) frames or set
max_frame_size with a very small number.example cmdline :
ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -f rawvideo \
-v verbose -s:v 352x288 -i ./input.yuv -vf format=nv12,hwupload \
-c:v h264_vaapi -profile:v main -g 30 -rc_mode VBR -b:v 500k \
-bf 3 -max_frame_size 40000 -vframes 100 -y ./max_frame_size.h264Max frame size was enabled since VA-API version (0, 33, 0), but query
is available since (1, 5, 0). It will be passed as a parameter in picParam
and should be set for each frame.Signed-off-by : Linjie Fu <linjie.fu@intel.com>
Signed-off-by : Fei Wang <fei.w.wang@intel.com> -
modprobe snd-dummy on linux server, ffmpeg -f alsa is recording noise
20 mars 2021, par bookswordSome people say that the parameter fake_buffer can remove the noise, but I tried it and there is still noise




modprobe snd-dummy fake_buffer=0




#modprobe snd-dummy fake_buffer=0 
# lsmod |grep snd
snd_dummy 24576 0
snd_pcm_oss 61440 0
snd_mixer_oss 28672 1 snd_pcm_oss
snd_pcm 118784 2 snd_pcm_oss,snd_dummy
snd_timer 36864 1 snd_pcm
snd 94208 5 snd_timer,snd_pcm_oss,snd_pcm,snd_dummy,snd_mixer_oss
soundcore 16384 1 snd
# modinfo snd_dummy
filename: /lib/modules/4.14.129-bbrplus/kernel/sound/drivers/snd-dummy.ko
license: GPL
description: Dummy soundcard (/dev/null)
author: Jaroslav Kysela <perex@perex.cz>
depends: snd-pcm,snd
retpoline: Y
intree: Y
name: snd_dummy
vermagic: 4.14.129-bbrplus SMP mod_unload modversions 
parm: index:Index value for dummy soundcard. (array of int)
parm: id:ID string for dummy soundcard. (array of charp)
parm: enable:Enable this dummy soundcard. (array of bool)
parm: model:Soundcard model. (array of charp)
parm: pcm_devs:PCM devices # (0-4) for dummy driver. (array of int)
parm: pcm_substreams:PCM substreams # (1-128) for dummy driver. (array of int)
parm: fake_buffer:Fake buffer allocations. (bool)
parm: hrtimer:Use hrtimer as the timer source. (bool)

#aplay -L
null
 Discard all samples (playback) or generate zero samples (capture)
pulse
 PulseAudio Sound Server
dummy
default:CARD=Dummy
 Dummy, Dummy PCM
 Default Audio Device
sysdefault:CARD=Dummy
 Dummy, Dummy PCM
 Default Audio Device
dmix:CARD=Dummy,DEV=0
 Dummy, Dummy PCM
 Direct sample mixing device
dsnoop:CARD=Dummy,DEV=0
 Dummy, Dummy PCM
 Direct sample snooping device
hw:CARD=Dummy,DEV=0
 Dummy, Dummy PCM
 Direct hardware device without any conversions
plughw:CARD=Dummy,DEV=0
 Dummy, Dummy PCM
 Hardware device with all software conversions


# ffmpeg -f alsa -i hw:0 -t 5 /dev/shm/out.mp3 -y
ffmpeg version 3.4.8-0ubuntu0.2 Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
 configuration: --prefix=/usr --extra-version=0ubuntu0.2 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
 libavutil 55. 78.100 / 55. 78.100
 libavcodec 57.107.100 / 57.107.100
 libavformat 57. 83.100 / 57. 83.100
 libavdevice 57. 10.100 / 57. 10.100
 libavfilter 6.107.100 / 6.107.100
 libavresample 3. 7. 0 / 3. 7. 0
 libswscale 4. 8.100 / 4. 8.100
 libswresample 2. 9.100 / 2. 9.100
 libpostproc 54. 7.100 / 54. 7.100
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, alsa, from 'hw:0':
 Duration: N/A, start: 1616225206.353453, bitrate: 1536 kb/s
 Stream #0:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Stream mapping:
 Stream #0:0 -> #0:0 (pcm_s16le (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
Output #0, mp3, to '/dev/shm/out.mp3':
 Metadata:
 TSSE : Lavf57.83.100
 Stream #0:0: Audio: mp3 (libmp3lame), 48000 Hz, stereo, s16p
 Metadata:
 encoder : Lavc57.107.100 libmp3lame
size= 79kB time=00:00:05.01 bitrate= 129.0kbits/s speed= 1x 
video:0kB audio:79kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.293899%





i use alsamixer to set all Volume to 0 ,and there is still noise
I searched in google for a long time and did not find other people have this problem , where am I doing it wrong