Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (77)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk 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, par

    La 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, par

    Mediaspip 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 Neumayr

    EDIT : 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 Fu
    lavc/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.h264

    Max 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>

    • [DH] libavcodec/vaapi_encode.c
    • [DH] libavcodec/vaapi_encode.h
  • modprobe snd-dummy on linux server, ffmpeg -f alsa is recording noise

    20 mars 2021, par booksword

    Some people say that the parameter fake_buffer can remove the noise, but I tried it and there is still noise

    &#xA;

    &#xA;

    modprobe snd-dummy fake_buffer=0

    &#xA;

    &#xA;

    #modprobe snd-dummy fake_buffer=0 &#xA;# lsmod |grep snd&#xA;snd_dummy              24576  0&#xA;snd_pcm_oss            61440  0&#xA;snd_mixer_oss          28672  1 snd_pcm_oss&#xA;snd_pcm               118784  2 snd_pcm_oss,snd_dummy&#xA;snd_timer              36864  1 snd_pcm&#xA;snd                    94208  5 snd_timer,snd_pcm_oss,snd_pcm,snd_dummy,snd_mixer_oss&#xA;soundcore              16384  1 snd&#xA;# modinfo snd_dummy&#xA;filename:       /lib/modules/4.14.129-bbrplus/kernel/sound/drivers/snd-dummy.ko&#xA;license:        GPL&#xA;description:    Dummy soundcard (/dev/null)&#xA;author:         Jaroslav Kysela &lt;perex@perex.cz&gt;&#xA;depends:        snd-pcm,snd&#xA;retpoline:      Y&#xA;intree:         Y&#xA;name:           snd_dummy&#xA;vermagic:       4.14.129-bbrplus SMP mod_unload modversions &#xA;parm:           index:Index value for dummy soundcard. (array of int)&#xA;parm:           id:ID string for dummy soundcard. (array of charp)&#xA;parm:           enable:Enable this dummy soundcard. (array of bool)&#xA;parm:           model:Soundcard model. (array of charp)&#xA;parm:           pcm_devs:PCM devices # (0-4) for dummy driver. (array of int)&#xA;parm:           pcm_substreams:PCM substreams # (1-128) for dummy driver. (array of int)&#xA;parm:           fake_buffer:Fake buffer allocations. (bool)&#xA;parm:           hrtimer:Use hrtimer as the timer source. (bool)&#xA;&#xA;#aplay -L&#xA;null&#xA;    Discard all samples (playback) or generate zero samples (capture)&#xA;pulse&#xA;    PulseAudio Sound Server&#xA;dummy&#xA;default:CARD=Dummy&#xA;    Dummy, Dummy PCM&#xA;    Default Audio Device&#xA;sysdefault:CARD=Dummy&#xA;    Dummy, Dummy PCM&#xA;    Default Audio Device&#xA;dmix:CARD=Dummy,DEV=0&#xA;    Dummy, Dummy PCM&#xA;    Direct sample mixing device&#xA;dsnoop:CARD=Dummy,DEV=0&#xA;    Dummy, Dummy PCM&#xA;    Direct sample snooping device&#xA;hw:CARD=Dummy,DEV=0&#xA;    Dummy, Dummy PCM&#xA;    Direct hardware device without any conversions&#xA;plughw:CARD=Dummy,DEV=0&#xA;    Dummy, Dummy PCM&#xA;    Hardware device with all software conversions&#xA;&#xA;&#xA;# ffmpeg -f alsa  -i hw:0 -t 5  /dev/shm/out.mp3 -y&#xA;ffmpeg version 3.4.8-0ubuntu0.2 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)&#xA;  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&#xA;  libavutil      55. 78.100 / 55. 78.100&#xA;  libavcodec     57.107.100 / 57.107.100&#xA;  libavformat    57. 83.100 / 57. 83.100&#xA;  libavdevice    57. 10.100 / 57. 10.100&#xA;  libavfilter     6.107.100 /  6.107.100&#xA;  libavresample   3.  7.  0 /  3.  7.  0&#xA;  libswscale      4.  8.100 /  4.  8.100&#xA;  libswresample   2.  9.100 /  2.  9.100&#xA;  libpostproc    54.  7.100 / 54.  7.100&#xA;Guessed Channel Layout for Input Stream #0.0 : stereo&#xA;Input #0, alsa, from &#x27;hw:0&#x27;:&#xA;  Duration: N/A, start: 1616225206.353453, bitrate: 1536 kb/s&#xA;    Stream #0:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (pcm_s16le (native) -> mp3 (libmp3lame))&#xA;Press [q] to stop, [?] for help&#xA;Output #0, mp3, to &#x27;/dev/shm/out.mp3&#x27;:&#xA;  Metadata:&#xA;    TSSE            : Lavf57.83.100&#xA;    Stream #0:0: Audio: mp3 (libmp3lame), 48000 Hz, stereo, s16p&#xA;    Metadata:&#xA;      encoder         : Lavc57.107.100 libmp3lame&#xA;size=      79kB time=00:00:05.01 bitrate= 129.0kbits/s speed=   1x     &#xA;video:0kB audio:79kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.293899%&#xA;&#xA;&#xA;

    &#xA;

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

    &#xA;