Recherche avancée

Médias (0)

Mot : - Tags -/organisation

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (34)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (6270)

  • ffserver config for HLS

    14 novembre 2017, par Arash Mousavi

    I’ve installed ffmpeg version 3.4-1 on Ubuntu 16.04, I set the configuration of ffserver for HLS to :

    #/etc/ffserver.conf:

    HTTPPort 8090
    HTTPBindAddress 0.0.0.0
    MaxHTTPConnections 2000
    MaxClients 1000
    MaxBandwidth 1000
    CustomLog -

    <feed>
    File /tmp/feed1.ffm
    FileMaxSize 50M
    </feed>

    <stream>
    NoDefaults
    VideoSize 720*576
    Feed feed1.ffm
    Format HLS
    AudioBitRate 32
    AudioChannels 1
    AudioSampleRate 44100
    VideoBitRate 64
    VideoBufferSize 40
    VideoFrameRate 25
    AudioCodec mp2
    VideoQMin 3
    VideoQMax 31
    Preroll 15
    VideoCodec libx264
    AVOptionVideo flags +global_header
    </stream>

    <stream>
    Format status
    ACL allow localhost
    ACL allow 192.168.0.0 192.168.255.255
    </stream>

    <redirect>
    URL http://www.ffmpeg.org/
    </redirect>

    I ran ffserver on server with this config, then the other machine I ran below ffmpeg config :

    ffmpeg  -i /dev/video0 -f alsa -ar 44100 -i hw:0  http://live.example.com:8090/feed1.ffm

    On the ffserver side I encounter this errors :

    Tue Nov 14 14:13:31 2017 [hls @ 0x55ed31333460]Opening '0.ts' for writing
    Tue Nov 14 14:13:39 2017 [hls @ 0x55ed31333460]Opening '1.ts' for writing
    Tue Nov 14 14:13:39 2017 [hls @ 0x55ed31333460]Opening '.tmp' for writing
    Tue Nov 14 14:13:39 2017 [hls @ 0x55ed31333460]failed to rename file .tmp to
    Tue Nov 14 14:13:49 2017 [hls @ 0x55ed31333460]Opening '2.ts' for writing
    Tue Nov 14 14:13:49 2017 [hls @ 0x55ed31333460]Opening '.tmp' for writing
    Tue Nov 14 14:13:49 2017 [hls @ 0x55ed31333460]failed to rename file .tmp to
    Tue Nov 14 14:13:59 2017 [hls @ 0x55ed31333460]Opening '3.ts' for writing
    Tue Nov 14 14:13:59 2017 [hls @ 0x55ed31333460]Opening '.tmp' for writing
    Tue Nov 14 14:13:59 2017 [hls @ 0x55ed31333460]failed to rename file .tmp to
    Tue Nov 14 14:14:09 2017 [hls @ 0x55ed31333460]Opening '4.ts' for writing
    Tue Nov 14 14:14:09 2017 [hls @ 0x55ed31333460]Opening '.tmp' for writing
    Tue Nov 14 14:14:09 2017 [hls @ 0x55ed31333460]failed to rename file .tmp to

    And the player doesn’t show anything.

    What should I do ?

  • Can't get ffmpeg to stream webcam [on hold]

    29 novembre 2017, par joey

    I have a rapsberry with ffmpeg installed and a microsoft hd3000 cam installed
    I run the following command :
    ffserver -f /etc/ffserver.conf & ffmpeg -framerate 21 -re -f video4linux2 -i /dev/video0 -f alsa -i sysdefault:CARD=HD3000 http://localhost:8090/feed1.ffm

    and i get the following :

    /etc/ffserver.conf:164: Setting default value for video bit rate tolerance = 16000. Use NoDefaults to disable it.
    /etc/ffserver.conf:164: Setting default value for video rate control equation = tex^qComp. Use NoDefaults to disable it.
    /etc/ffserver.conf:164: Setting default value for video max rate = 6229744. Use NoDefaults to disable it.
    /etc/ffserver.conf:219: Setting default value for audio sample rate = 22050. Use NoDefaults to disable it.
    /etc/ffserver.conf:219: Setting default value for audio channel count = 1. Use NoDefaults to disable it.
    /etc/ffserver.conf:219: Setting default value for video bit rate tolerance = 64000. Use NoDefaults to disable it.
    /etc/ffserver.conf:219: Setting default value for video rate control equation = tex^qComp. Use NoDefaults to disable it.
    /etc/ffserver.conf:219: Setting default value for video max rate = 6369328. Use NoDefaults to disable it.
    bind(port 8090): Address already in use
    Wed Nov 29 13:17:49 2017 Could not start server
    [video4linux2,v4l2 @ 0x1a35630] The driver changed the time per frame from 1/21 to 1/10
    Input #0, video4linux2,v4l2, from '/dev/video0':
     Duration: N/A, start: 12116.079136, bitrate: 147456 kb/s
       Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 1280x720, 147456 kb/s, 10 fps, 10 tbr, 1000k tbn, 1000k tbc
    Guessed Channel Layout for Input Stream #1.0 : stereo
    Input #1, alsa, from 'sysdefault:CARD=HD3000':
     Duration: N/A, start: 1511961469.424072, bitrate: 1536 kb/s
       Stream #1:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
    [tcp @ 0x1a44160] Connection to tcp://localhost:8090 failed (Connection refused), trying next address
    Wed Nov 29 13:17:49 2017 127.0.0.1 - - [GET] "/feed1.ffm HTTP/1.1" 200 4175
    [tcp @ 0x1a63ca0] Connection to tcp://localhost:8090 failed (Connection refused), trying next address
    [mpeg1video @ 0x1a6ecb0] bitrate tolerance 21333 too small for bitrate 64000, overriding
    [mpeg1video @ 0x1a6ecb0] MPEG-1/2 does not support 3/1 fps
    Stream mapping:
     Stream #1:0 -> #0:0 (pcm_s16le (native) -> mp2 (native))
     Stream #0:0 -> #0:1 (rawvideo (native) -> mpeg1video (native))
     Stream #1:0 -> #0:2 (pcm_s16le (native) -> wmav2 (native))
     Stream #0:0 -> #0:3 (rawvideo (native) -> msmpeg4v3 (msmpeg4))
    Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height
    Wed Nov 29 13:17:49 2017 127.0.0.1 - - [POST] "/feed1.ffm HTTP/1.1" 200 0
    [2]+  Exit 1                  ffserver -f /etc/ffserver.conf

    I use the default /etc/ffserver.conf.
    I can’t seem to figur out what is the problem.

  • ioctl(VIDIOC_STREAMON) : Input/output error

    15 janvier 2018, par Dido Fido
    ffmpeg -vcodec mjpeg -f video4linux2 -i /dev/video0 http://192.168.1.146:8090/feed1.ffm
    ffmpeg version 3.2.4-1build2 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 6.3.0 (Ubuntu 6.3.0-8ubuntu1) 20170221
     configuration: --prefix=/usr --extra-version=1build2 --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-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --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-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
     libavutil      55. 34.101 / 55. 34.101
     libavcodec     57. 64.101 / 57. 64.101
     libavformat    57. 56.101 / 57. 56.101
     libavdevice    57.  1.100 / 57.  1.100
     libavfilter     6. 65.100 /  6. 65.100
     libavresample   3.  1.  0 /  3.  1.  0
     libswscale      4.  2.100 /  4.  2.100
     libswresample   2.  3.100 /  2.  3.100
     libpostproc    54.  1.100 / 54.  1.100
    [video4linux2,v4l2 @ 0x55a26aaf5fc0] ioctl(VIDIOC_STREAMON): Input/output error
    /dev/video0: Input/output error