Recherche avancée

Médias (0)

Mot : - Tags -/albums

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

Autres articles (38)

  • L’espace de configuration de MediaSPIP

    29 novembre 2010, par

    L’espace de configuration de MediaSPIP est réservé aux administrateurs. Un lien de menu "administrer" est généralement affiché en haut de la page [1].
    Il permet de configurer finement votre site.
    La navigation de cet espace de configuration est divisé en trois parties : la configuration générale du site qui permet notamment de modifier : les informations principales concernant le site (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (3697)

  • How to make ffserver which can make a snapshots ?

    4 mai 2016, par Serge Roussak

    I need some solution to take a "good" (not corrupted) snapshots from a camera device.

    Now I try to do this using the ffserver. Here is my config :

    HTTPPort 8090
    HTTPBindAddress 0.0.0.0
    MaxHTTPConnections 20
    MaxClients 10
    MaxBandwidth 10000

    <feed>
     File /tmp/feed.ffm
     FileMaxSize 200k

     ACL allow 127.0.0.1
    </feed>

    <stream>
     Feed feed.ffm
     Format jpeg

     VideoSize 800x600
     VideoFrameRate 30
     Preroll 5
     Strict -1

     NoAudio
     NoDefaults
    </stream>

    I run ffmpeg as follows :

    ffmpeg -f video4linux2 -i /dev/video0 -qmax 2 http://localhost:8090/feed.ffm

    and it works (almost) as expected except that sometimes getting a jpeg hangs. I.e. a browser sends the GET request and... alles (de). If I in this case stop the ffmpeg then the browser reports an error, but if don’t touch anything the browser may wait a response very long time. In any case this behaviour is not acceptable for me : it could be better if the ffserver answers with any kind of error or something about this.

  • debian ffmpeg webcam streaming to remote server error

    13 mars 2016, par James

    I have a beaglebone black that I am trying to stream live video from, to an OSX computer. The streaming client potion seems to work if I point it to a local ffserver.

    root@beaglebone:~# ffmpeg -f v4l2 -s 320x240 -r 30 -i /dev/video0 http://127.0.0.1:8090/feed1.ffm
    ffmpeg version N-78848-gf114839 Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 4.9.2 (Debian 4.9.2-10)
     configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags='-O3 -I/root/ffmpeg_build/include -mfpu=neon -mtune=cortex-a8' --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl --enable-libass --enable-libfreetype --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree
     libavutil      55. 19.100 / 55. 19.100
     libavcodec     57. 27.101 / 57. 27.101
     libavformat    57. 27.100 / 57. 27.100
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 38.100 /  6. 38.100
     libswscale      4.  0.100 /  4.  0.100
     libswresample   2.  0.101 /  2.  0.101
     libpostproc    54.  0.100 / 54.  0.100
    Input #0, video4linux2,v4l2, from '/dev/video0':
     Duration: N/A, start: 101977.117890, bitrate: 36864 kb/s
       Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 320x240, 36864 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc
    Output #0, ffm, to 'http://127.0.0.1:8090/feed1.ffm':
     Metadata:
       creation_time   : 2016-03-03 05:32:52
       encoder         : Lavf57.27.100
       Stream #0:0: Video: mjpeg, yuv422p, 320x240, q=2-31, 100 kb/s, 30 fps, 1000k tbn, 20 tbc
       Metadata:
         encoder         : Lavc57.27.101 mjpeg
       Side data:
         cpb: bitrate max/min/avg: 200000/0/100000 buffer size: 200000 vbv_delay: -1
    Stream mapping:
     Stream #0:0 -> #0:0 (rawvideo (native) -> mjpeg (native))
    Press [q] to stop, [?] for help

    However, if I point it at a remote (my computer’s) ffserver it throws an error

    root@beaglebone:~# ffmpeg -f v4l2 -s 320x240 -r 30 -i /dev/video0 http://192.168.200.40:8090/feed1.ffm
    ffmpeg version N-78848-gf114839 Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 4.9.2 (Debian 4.9.2-10)
     configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags='-O3 -I/root/ffmpeg_build/include -mfpu=neon -mtune=cortex-a8' --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl --enable-libass --enable-libfreetype --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree
     libavutil      55. 19.100 / 55. 19.100
     libavcodec     57. 27.101 / 57. 27.101
     libavformat    57. 27.100 / 57. 27.100
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 38.100 /  6. 38.100
     libswscale      4.  0.100 /  4.  0.100
     libswresample   2.  0.101 /  2.  0.101
     libpostproc    54.  0.100 / 54.  0.100
    Input #0, video4linux2,v4l2, from '/dev/video0':
     Duration: N/A, start: 102012.942038, bitrate: 36864 kb/s
       Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 320x240, 36864 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc
    [ffm @ 0x1427df0] no encoder found for codec id 141
    http://192.168.200.40:8090/feed1.ffm: Invalid argument

    It appears the 141nd codec in this AVCodecID enum is AV_CODEC_ID_VP8 /AV_CODEC_ID_PICTOR depending on whether or not AV_CODEC_ID_MPEG2VIDEO_XVMC is defined ? https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/avcodec.h

    Also including my ffserver configuration.

    HTTPPort 8090
    HTTPBindAddress 0.0.0.0
    MaxHTTPConnections 2000
    MaxClients 1000
    MaxBandwidth 10000          

    CustomLog -
    NoDaemon                    

    <feed>            
      File ./feed1.ffm          
      Truncate
      ACL allow localhost        
      ACL allow 192.168.200.0 192.168.200.255      
    </feed>

    <stream>
      Feed feed1.ffm
      Format mpjpeg
      NoAudio
      VideoSize 320x240          
      VideoFrameRate 30        
      StartSendOnKey
      VideoBitRate 400          
      VideoIntraOnly            
      Strict -1                  
      PreRoll 0                  
    </stream>

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

    Anyways I have no idea how to approach this problem. Any pointers would be appreciated.

  • Howto speed up Video Streaming with ffserver and ffmpeg + x265

    30 mars 2016, par binaryCode

    Below my ffserver.conf :

    Port 8090                      # Port to bind the server to
    BindAddress 0.0.0.0
    MaxHTTPConnections 2000
    MaxClients 1000
    MaxBandwidth 10000             # Maximum bandwidth per client
                              # set this high enough to exceed stream bitrate
    CustomLog -
    #NoDaemon                       # Remove this if you want FFserver to    daemonize after start

    <feed>               # This is the input feed where FFmpeg will send
    File /tmp/feed1.ffm            # video stream.
    FileMaxSize 1G              # Maximum file size for buffering video            # Allowed IPs
    ACL allow 127.0.0.1
    </feed>

    <stream>                       # Output stream URL definition
     Feed feed1.ffm              # Feed from which to receive video
     Format matroska

     # Audio settings
     AudioCodec vorbis
     AudioBitRate 64             # Audio bitrate

     # Video settings
     VideoCodec libx265
     VideoSize 720x576           # Video resolution
     VideoFrameRate 25           # Video FPS
     AVOptionVideo flags +global_header  # Parameters passed to encoder
                                      # (same as ffmpeg command-line  parameters)
     #AVOptionVideo cpu-used 0
     AVOptionVideo qmin 10
     AVOptionVideo qmax 42
     #AVOptionVideo quality good
     AVOptionAudio flags +global_header
     PreRoll 15
     StartSendOnKey
     VideoBitRate 400            # Video bitrate
    </stream>

    <stream>                    # Server status URL
      Format status
      # Only allow local people to get the status
      ACL allow localhost
     ACL allow 0.0.0.0
    </stream>

    <redirect>    # Just an URL redirect for index
       # Redirect index.html to the appropriate site
       URL http://www.ffmpeg.org/
    </redirect>

    and below is ffmpeg command to send my usb camera :

    c:\ffmpeg\bin\ffmpeg -f dshow -i video="A4TECH USB2.0 PC Camera"  -r 25 -s 320x240 -vcodec libx265 -preset ultrafast -tune zerolatency  http://119.81.216.43:8090/feed1.ffm

    ffmpeg running from my notebook with processor corei7 from Indonesia, and ffserver using ubuntu 14.x on ibm soflayer singapore,

    with above configuration i can play video streaming with 4s delay

    myquestion : howto improve speed so i can play video less than or equal 1 second, any idea ?