Recherche avancée

Médias (0)

Mot : - Tags -/signalement

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

Autres articles (9)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (4749)

  • ffserver / ffmpeg error rasperberry pi

    21 octobre 2017, par Skysurf

    on rasperberry pi 2 (jessie) with web cam i run on terminal :
    ffserver start & avconv -f video4linux2 -r 25 -i /dev/video0 -f alsa -ac 1 -i hw:1,0 http://localhost:8090/feed1.ffm

    i get this error:

    The driver changed the time per frame from 1/25 to 1/30
    Input #0, video4linux2,v4l2, from '/dev/video0':
    Duration: N/A, start: 91550.051357, bitrate: 147456 kb/s
    Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480, 147456 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc
    Guessed Channel Layout for Input Stream #1.0 : mono
    Input #1, alsa, from 'hw:1,0':
    Duration: N/A, start: 1508451910.083274, bitrate: 768 kb/s
    Stream #1:0: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s`enter code here`
    [tcp @ 0x15ca6c0] Connection to tcp://localhost:8090 failed (Connection refused), trying next address
    Thu Oct 19 23:25:10 2017 127.0.0.1 - - [GET] "/feed1.ffm HTTP/1.1" 200 4175
    [tcp @ 0x15dba80] Connection to tcp://localhost:8090 failed (Connection refused), trying next address
    [mpeg1video @ 0x15df560] 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
    Thu Oct 19 23:25:10 2017 127.0.0.1 - - [POST] "/feed1.ffm HTTP/1.1" 200 0
    anyone can help me to solve ? i want to heard audio too and image on stream??

    enter link description here

  • 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.

  • Streaming by ffserver and ffmpeg on RaspberryPi

    15 septembre 2018, par saitoib

    I want to ditribute the video of the UVC Camera on Rpsberry Pi
    I edited /etc/ffserver.conf as follows.

    HTTPPort 8090
    HTTPBindAddress 0.0.0.0
    MaxHTTPConnections 20
    MaxClients 10
    MaxBandwidth 500000
    CustomLog -

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

    <stream>
    Format status
    ACL allow 192.168.12.0 192.168.12.255
    </stream>

    <stream>
    Feed feed1.ffm
    Format mpeg
    VideoSize hd720
    VideoFrameRate 15
    VideoBitRate 4096
    VideoBufferSize 4096
    VideoQMin 5
    VideoQMax 51
    Strict -1
    </stream>

    Then, I started ffserver
    Next, I executed the following command

    ffmpeg -f v4l2 -s 1280x720 -i /dev/video0 -ac 1 -f alsa -i hw:1,0 http://localhost:8090/feed1.ffm

    I requested 192.168.12.101 : 8090 / test.mpeg from FireFox on the same network,
    but no video is displayed and a program to open or a file save dialog opens.

    What should I do ?

    Execution result of Raspberry Pi

    Input #0, video4linux2,v4l2, from '/dev/video0':
     Duration: N/A, start: 519134.790720, 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 : mono
    Input #1, alsa, from 'hw:1,0':
     Duration: N/A, start: 1536994777.250578, bitrate: 768 kb/s
       Stream #1:0: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s
    [tcp @ 0x23ec7f0] Connection to tcp://localhost:8090 failed (Connection refused), trying next address
    Sat Sep 15 15:59:37 2018 [ffm @ 0xf10e40]Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
    Sat Sep 15 15:59:37 2018 [ffm @ 0xf10e40]Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
    Sat Sep 15 15:59:37 2018 127.0.0.1 - - [GET] "/feed1.ffm HTTP/1.1" 200 4175
    [tcp @ 0x2401d50] Connection to tcp://localhost:8090 failed (Connection refused), trying next address
    Output #0, ffm, to 'http://localhost:8090/feed1.ffm':
     Metadata:
       creation_time   : now
       encoder         : Lavf57.56.101
       Stream #0:0: Audio: mp2, 22050 Hz, mono, s16, 64 kb/s
       Metadata:
         encoder         : Lavc57.64.101 mp2
       Stream #0:1: Video: mpeg1video, yuv420p, 1280x720, q=5-51, 4096 kb/s, 10 fps, 1000k tbn, 15 tbc
       Metadata:
         encoder         : Lavc57.64.101 mpeg1video
       Side data:
         cpb: bitrate max/min/avg: 8192000/0/4096000 buffer size: 33554432 vbv_delay: -1
    Stream mapping:
     Stream #1:0 -> #0:0 (pcm_s16le (native) -> mp2 (native))
     Stream #0:0 -> #0:1 (rawvideo (native) -> mpeg1video (native))
    Press [q] to stop, [?] for help
    [alsa @ 0x23ebee0] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
    [alsa @ 0x23ebee0] ALSA buffer xrun. 48kB time=00:00:00.13 bitrate=2949.1kbits/s dup=3 drop=0 speed=0.251x
    [video4linux2,v4l2 @ 0x23ea230] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
    [alsa @ 0x23ebee0] ALSA buffer xrun.276kB time=00:00:02.40 bitrate= 942.1kbits/s dup=30 drop=0 speed=0.201x
    Sat Sep 15 15:59:55 2018 [mpeg @ 0xf136d0]VBV buffer size not set, using default size of 130KB speed=0.844x
    If you want the mpeg file to be compliant to some specification
    Like DVD, VCD or others, make sure you set the correct buffer size
    frame=  107 fps=3.1 q=2.0 Lsize=     856kB time=00:00:14.06 bitrate= 498.6kbits/s dup=80 drop=0 speed=0.413x
    video:844kB audio:2kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.120285%
    Sat Sep 15 16:00:11 2018 127.0.0.1 - - [POST] "/feed1.ffm HTTP/1.1" 200 876544
    Sat Sep 15 16:00:11 2018 [mpeg @ 0xf136d0]buffer underflow st=0 bufi=0 size=418
    Sat Sep 15 16:00:11 2018 192.168.12.150 - - [GET] "/test.mpeg HTTP/1.1" 200 29263
    Exiting normally, received signal 2.

    Result of 192.168.12.101:8090

    ffserver Status
    Available Streams
    Path    Served
    Conns  
    bytes   Format  Bit rate
    kbit/s  Video
    kbit/s  
    Codec   Audio
    kbit/s  
    Codec   Feed
    index.html  1   0   -   -   -       -  
    test.mpeg   0   0   mpeg    4160    4096    mpeg1video  64  mp2     feed1.ffm
    Feed feed1.ffm
    Stream  type    kbit/s  codec   Parameters
    0   audio   64  mp2 1 channel(s), 22050 Hz
    1   video   4096    mpeg1video  1280x720, q=5-51, fps=15
    Connection Status
    Number of connections: 1 / 10
    Bandwidth in use: 0k / 10000k
    #   File    IP  Proto   State   Target bit/s    Actual bit/s    Bytes transferred
    1   index.html  192.168.12.150  HTTP/1.1    HTTP_WAIT_REQUEST   0   0   0