Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (38)

  • Les statuts des instances de mutualisation

    13 mars 2010, par

    Pour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
    Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...)

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

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

Sur d’autres sites (7059)

  • ffmpeg and ffserver, rc buffer underflow ?

    25 février 2018, par Dove Devic

    I am attempting to write a simple streaming server for a project. I have an AWS Linux machine that will be running ffserver. Curently, as it stands, my config file looks like the following :

    #Server Configs
    HTTPPort 8090
    HTTPBindAddress 0.0.0.0
    MaxHTTPConnections 2000
    MaxClients 1000
    MaxBandwidth 1000
    CustomLog -

    #Create a Status Page
    <stream>
    Format status
    ACL allow localhost
    ACL allow 255.255.255.255 #Allow everyone to view status, for now
    </stream>

    #Creates feed, only allow from self
    <feed>
    File /tmp/feed1.ffm
    FileMaxSize 50M
    ACL allow 127.0.0.1
    ACL allow
    </feed>

    #Creates stream, allow everyone
    <stream>
    Format mpeg
    Feed feed1.ffm
    VideoFrameRate 30
    VideoSize 640x480
    AudioSampleRate 44100
    </stream>

    I then am capturing my Webcam and sending it up to the server using the following command :

    ffmpeg -f dshow
          -i video="Webcam C170":audio="Microphone (Webcam C170)"
          -b:v 1400k  
          -maxrate 2400k  
          -bufsize 1200k  
          -ab 64k  
          -s 640x480  
          -ac 1  
          -ar 44100  
          -y http://:8090/feed1.ffm

    When I run this however, I get the following output from my console :

    Guessed Channel Layout for  Input Stream #0.1 : stereo
    Input #0, dshow, from 'video=Webcam C170:audio=Microphone (Webcam C170)':
     Duration: N/A, start: 12547.408000, bitrate: N/A
       Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480, 30 tbr, 10000k tbn, 30 tbc
       Stream #0:1: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
    Output #0, ffm, to ':8090/feed1.ffm':
     Metadata:
       creation_time   : 2017-04-26 14:55:27
       encoder         : Lavf57.25.100
       Stream #0:0: Audio: mp2, 44100 Hz, mono, s16, 64 kb/s
       Metadata:
         encoder         : Lavc57.24.102 mp2
       Stream #0:1: Video: mpeg1video, yuv420p, 640x480, q=2-31, 64 kb/s, 30 fps, 1000k tbn, 30 tbc
       Metadata:
         encoder         : Lavc57.24.102 mpeg1video
       Side data:
         unknown side data type 10 (24 bytes)
    Stream mapping:
     Stream #0:1 -> #0:0 (pcm_s16le (native) -> mp2 (native))
     Stream #0:0 -> #0:1 (rawvideo (native) -> mpeg1video (native))
    Press [q] to stop, [?] for help
    [mpeg1video @ 02e95180] rc buffer underflow
    [mpeg1video @ 02e95180] max bitrate possibly too small or try trellis with large lmax or increase qmax
    [mpeg1video @ 02e95180] rc buffer underflow
    [mpeg1video @ 02e95180] max bitrate possibly too small or try trellis with large lmax or increase qmax
    [mpeg1video @ 02e95180] rc buffer underflow
    [mpeg1video @ 02e95180] max bitrate possibly too small or try trellis with large lmax or increase qmax
    [mpeg1video @ 02e95180] rc buffer underflow
    [mpeg1video @ 02e95180] max bitrate possibly too small or try trellis with large lmax or increase qmax
    [mpeg1video @ 02e95180] rc buffer underflow
    [mpeg1video @ 02e95180] max bitrate possibly too small or try trellis with large lmax or increase qmax
    [mpeg1video @ 02e95180] rc buffer underflow
    [mpeg1video @ 02e95180] max bitrate possibly too small or try trellis with large lmax or increase qmax
    [mpeg1video @ 02e95180] rc buffer underflow
    [mpeg1video @ 02e95180] max bitrate possibly too small or try trellis with large lmax or increase qmax
    [mpeg1video @ 02e95180] rc buffer underflow
    [mpeg1video @ 02e95180] max bitrate possibly too small or try trellis with large lmax or increase qmax
    [mpeg1video @ 02e95180] rc buffer underflowtime=00:00:01.13 bitrate= 404.8kbits/s dup=13 drop=0 speed=2.22x
    [mpeg1video @ 02e95180] max bitrate possibly too small or try trellis with large lmax or increase qmax
    [mpeg1video @ 02e95180] rc buffer underflow
    [mpeg1video @ 02e95180] max bitrate possibly too small or try trellis with large lmax or increase qmax
    [mpeg1video @ 02e95180] rc buffer underflowtime=00:00:01.63 bitrate= 361.1kbits/s dup=13 drop=0 speed=1.61x
    [mpeg1video @ 02e95180] max bitrate possibly too small or try trellis with large lmax or increase qmax
    [mpeg1video @ 02e95180] rc buffer underflowtime=00:00:02.13 bitrate= 368.6kbits/s dup=13 drop=0 speed= 1.4x
    [mpeg1video @ 02e95180] max bitrate possibly too small or try trellis with large lmax or increase qmax
    [mpeg1video @ 02e95180] rc buffer underflowtime=00:00:02.66 bitrate= 344.1kbits/s dup=13 drop=0 speed=1.32x
    [mpeg1video @ 02e95180] max bitrate possibly too small or try trellis with large lmax or increase qmax
    [mpeg1video @ 02e95180] rc buffer underflowtime=00:00:03.16 bitrate= 331.1kbits/s dup=13 drop=0 speed=1.25x
    [mpeg1video @ 02e95180] max bitrate possibly too small or try trellis with large lmax or increase qmax
    [mpeg1video @ 02e95180] rc buffer underflow
    [mpeg1video @ 02e95180] max bitrate possibly too small or try trellis with large lmax or increase qmax
    frame=  117 fps= 36 q=31.0 Lsize=     156kB time=00:00:03.86 bitrate= 330.5kbits/s dup=13 drop=0 speed= 1.2x
    video:118kB audio:27kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 7.659440%
    Exiting normally, received signal 2.

    And on my viewer, I just get a black screen.

    Is there something I’m missing ? Searching lead to nothing on "increasing qmax" or anything similar to what ffmpeg complained about. There have been questions asked here, but nothing has been done/answered.

    Thanks in advance

  • ffmpeg and ffserver, rc buffer underflow ?

    26 avril 2017, par Dove Devic

    I am attempting to write a simple streaming server for a project. I have an AWS Linux machine that will be running ffserver. Curently, as it stands, my config file looks like the following :

    #Server Configs
    HTTPPort 8090
    HTTPBindAddress 0.0.0.0
    MaxHTTPConnections 2000
    MaxClients 1000
    MaxBandwidth 1000
    CustomLog -

    #Create a Status Page
    <stream>
    Format status
    ACL allow localhost
    ACL allow 255.255.255.255 #Allow everyone to view status, for now
    </stream>

    #Creates feed, only allow from self
    <feed>
    File /tmp/feed1.ffm
    FileMaxSize 50M
    ACL allow 127.0.0.1
    ACL allow
    </feed>

    #Creates stream, allow everyone
    <stream>
    Format mpeg
    Feed feed1.ffm
    VideoFrameRate 30
    VideoSize 640x480
    AudioSampleRate 44100
    </stream>

    I then am capturing my Webcam and sending it up to the server using the following command :

    ffmpeg -f dshow
          -i video="Webcam C170":audio="Microphone (Webcam C170)"
          -b:v 1400k  
          -maxrate 2400k  
          -bufsize 1200k  
          -ab 64k  
          -s 640x480  
          -ac 1  
          -ar 44100  
          -y http://:8090/feed1.ffm

    When I run this however, I get the following output from my console :

    Guessed Channel Layout for  Input Stream #0.1 : stereo
    Input #0, dshow, from 'video=Webcam C170:audio=Microphone (Webcam C170)':
     Duration: N/A, start: 12547.408000, bitrate: N/A
       Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480, 30 tbr, 10000k tbn, 30 tbc
       Stream #0:1: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
    Output #0, ffm, to ':8090/feed1.ffm':
     Metadata:
       creation_time   : 2017-04-26 14:55:27
       encoder         : Lavf57.25.100
       Stream #0:0: Audio: mp2, 44100 Hz, mono, s16, 64 kb/s
       Metadata:
         encoder         : Lavc57.24.102 mp2
       Stream #0:1: Video: mpeg1video, yuv420p, 640x480, q=2-31, 64 kb/s, 30 fps, 1000k tbn, 30 tbc
       Metadata:
         encoder         : Lavc57.24.102 mpeg1video
       Side data:
         unknown side data type 10 (24 bytes)
    Stream mapping:
     Stream #0:1 -> #0:0 (pcm_s16le (native) -> mp2 (native))
     Stream #0:0 -> #0:1 (rawvideo (native) -> mpeg1video (native))
    Press [q] to stop, [?] for help
    [mpeg1video @ 02e95180] rc buffer underflow
    [mpeg1video @ 02e95180] max bitrate possibly too small or try trellis with large lmax or increase qmax
    [mpeg1video @ 02e95180] rc buffer underflow
    [mpeg1video @ 02e95180] max bitrate possibly too small or try trellis with large lmax or increase qmax
    [mpeg1video @ 02e95180] rc buffer underflow
    [mpeg1video @ 02e95180] max bitrate possibly too small or try trellis with large lmax or increase qmax
    [mpeg1video @ 02e95180] rc buffer underflow
    [mpeg1video @ 02e95180] max bitrate possibly too small or try trellis with large lmax or increase qmax
    [mpeg1video @ 02e95180] rc buffer underflow
    [mpeg1video @ 02e95180] max bitrate possibly too small or try trellis with large lmax or increase qmax
    [mpeg1video @ 02e95180] rc buffer underflow
    [mpeg1video @ 02e95180] max bitrate possibly too small or try trellis with large lmax or increase qmax
    [mpeg1video @ 02e95180] rc buffer underflow
    [mpeg1video @ 02e95180] max bitrate possibly too small or try trellis with large lmax or increase qmax
    [mpeg1video @ 02e95180] rc buffer underflow
    [mpeg1video @ 02e95180] max bitrate possibly too small or try trellis with large lmax or increase qmax
    [mpeg1video @ 02e95180] rc buffer underflowtime=00:00:01.13 bitrate= 404.8kbits/s dup=13 drop=0 speed=2.22x
    [mpeg1video @ 02e95180] max bitrate possibly too small or try trellis with large lmax or increase qmax
    [mpeg1video @ 02e95180] rc buffer underflow
    [mpeg1video @ 02e95180] max bitrate possibly too small or try trellis with large lmax or increase qmax
    [mpeg1video @ 02e95180] rc buffer underflowtime=00:00:01.63 bitrate= 361.1kbits/s dup=13 drop=0 speed=1.61x
    [mpeg1video @ 02e95180] max bitrate possibly too small or try trellis with large lmax or increase qmax
    [mpeg1video @ 02e95180] rc buffer underflowtime=00:00:02.13 bitrate= 368.6kbits/s dup=13 drop=0 speed= 1.4x
    [mpeg1video @ 02e95180] max bitrate possibly too small or try trellis with large lmax or increase qmax
    [mpeg1video @ 02e95180] rc buffer underflowtime=00:00:02.66 bitrate= 344.1kbits/s dup=13 drop=0 speed=1.32x
    [mpeg1video @ 02e95180] max bitrate possibly too small or try trellis with large lmax or increase qmax
    [mpeg1video @ 02e95180] rc buffer underflowtime=00:00:03.16 bitrate= 331.1kbits/s dup=13 drop=0 speed=1.25x
    [mpeg1video @ 02e95180] max bitrate possibly too small or try trellis with large lmax or increase qmax
    [mpeg1video @ 02e95180] rc buffer underflow
    [mpeg1video @ 02e95180] max bitrate possibly too small or try trellis with large lmax or increase qmax
    frame=  117 fps= 36 q=31.0 Lsize=     156kB time=00:00:03.86 bitrate= 330.5kbits/s dup=13 drop=0 speed= 1.2x
    video:118kB audio:27kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 7.659440%
    Exiting normally, received signal 2.

    And on my viewer, I just get a black screen.

    Is there something I’m missing ? Searching lead to nothing on "increasing qmax" or anything similar to what ffmpeg complained about. There have been questions asked here, but nothing has been done/answered.

    Thanks in advance

  • Error while decoding camera stream video frame using FFMpeg iOS

    30 novembre 2015, par Irfan Gul

    I have an app, In which I am decoding video frames coming from ip camera, but the method avcodec_decode_video2(m_pCodecCtx, m_pFrame, &amp;consumed_bytes, &amp;avpkt); present in avcodec.h generating bad_access, I can’t figure out what is wrong.

    This app was working fine with old libraries FFMpeg, but by apple policy, in order to publish app it support arm64, so I updated my libraries to support arm64 and after that this issue occurred.

    Here is the screenshot

    enter image description here

    While bad_access app is generating the following log :

    [h264 @ 0x1071400] sps_id 12 out of range
    [h264 @ 0x1071400] pps_id 417 out of range
    [h264 @ 0x1071400] sps_id 3 out of range
    [h264 @ 0x1071400] sps_id 32 out of range
    [h264 @ 0x1071400] sps_id 6 out of range
    [h264 @ 0x1071400] sps_id 0 out of range
    [h264 @ 0x1071400] sps_id 32 out of range
    [h264 @ 0x1071400] sps_id 1 out of range
    [h264 @ 0x1071400] sps_id 3 out of range
    [h264 @ 0x1071400] sps_id 0 out of range
    [h264 @ 0x1071400] sps_id 32 out of range
    [h264 @ 0x1071400] sps_id 0 out of range
    [h264 @ 0x1071400] sps_id 1 out of range
    [h264 @ 0x1071400] sps_id 1 out of range
    [h264 @ 0x1071400] sps_id 1 out of range
    [h264 @ 0x1071400] sps_id 1 out of range
    [h264 @ 0x1071400] sps_id 1 out of range
    [h264 @ 0x1071400] sps_id 1 out of range
    [h264 @ 0x1071400] sps_id 1 out of range
    [h264 @ 0x1071400] sps_id 2 out of range
    [h264 @ 0x1071400] sps_id 2 out of range
    [h264 @ 0x1071400] sps_id 2 out of range
    [h264 @ 0x1071400] sps_id 2 out of range
    [h264 @ 0x1071400] sps_id 2 out of range
    [h264 @ 0x1071400] sps_id 0 out of range
    [h264 @ 0x1071400] sps_id 32 out of range
    [h264 @ 0x1071400] sps_id 3 out of range
    [h264 @ 0x1071400] sps_id 0 out of range
    [h264 @ 0x1071400] sps_id 1 out of range
    [h264 @ 0x1071400] sps_id 1 out of range
    [h264 @ 0x1071400] sps_id 1 out of range
    [h264 @ 0x1071400] sps_id 1 out of range
    [h264 @ 0x1071400] sps_id 1 out of range
    [h264 @ 0x1071400] sps_id 1 out of range
    [h264 @ 0x1071400] sps_id 1 out of range
    [h264 @ 0x1071400] sps_id 2 out of range
    [h264 @ 0x1071400] sps_id 2 out of range
    [h264 @ 0x1071400] sps_id 2 out of range
    [h264 @ 0x1071400] sps_id 2 out of range
    [h264 @ 0x1071400] sps_id 2 out of range
    [h264 @ 0x1071400] pps_id 418 out of range
    [h264 @ 0x1071400] Partitioned H.264 support is incomplete
    [h264 @ 0x1071400] sps_id 6 out of range
    [h264 @ 0x1071400] sps_id 0 out of range
    [h264 @ 0x1071400] sps_id 0 out of range
    [h264 @ 0x1071400] sps_id 0 out of range
    [h264 @ 0x1071400] sps_id 0 out of range
    [h264 @ 0x1071400] sps_id 0 out of range
    [h264 @ 0x1071400] sps_id 0 out of range
    [h264 @ 0x1071400] sps_id 0 out of range
    [h264 @ 0x1071400] sps_id 1 out of range
    [h264 @ 0x1071400] non-existing PPS 3 referenced
    [h264 @ 0x1071400] decode_slice_header error
    [h264 @ 0x1071400] sps_id 0 out of range
    [h264 @ 0x1071400] slice type 10 too large at 0 0
    [h264 @ 0x1071400] decode_slice_header error
    [h264 @ 0x1071400] sps_id 0 out of range
    [h264 @ 0x1071400] sps_id 0 out of range
    [h264 @ 0x1071400] sps_id 0 out of range
    [h264 @ 0x1071400] sps_id 0 out of range
    [h264 @ 0x1071400] non-existing PPS 2 referenced
    [h264 @ 0x1071400] decode_slice_header error
    [h264 @ 0x1071400] sps_id 0 out of range
    [h264 @ 0x1071400] sps_id 0 out of range
    [h264 @ 0x1071400] sps_id 0 out of range
    [h264 @ 0x1071400] sps_id 0 out of range
    [h264 @ 0x1071400] slice type 29 too large at 0 0
    [h264 @ 0x1071400] decode_slice_header error
    [h264 @ 0x1071400] sps_id 2 out of range
    [h264 @ 0x1071400] sps_id 0 out of range
    [h264 @ 0x1071400] sps_id 0 out of range
    [h264 @ 0x1071400] sps_id 0 out of range
    [h264 @ 0x1071400] sps_id 0 out of range
    [h264 @ 0x1071400] sps_id 0 out of range
    [h264 @ 0x1071400] slice type 32 too large at 0 0
    [h264 @ 0x1071400] decode_slice_header error
    [h264 @ 0x1071400] slice type 32 too large at 0 0
    [h264 @ 0x1071400] decode_slice_header error
    [h264 @ 0x1071400] slice type 32 too large at 0 0
    [h264 @ 0x1071400] decode_slice_header error
    [h264 @ 0x1071400] slice type 32 too large at 0 0

    Complete error log : https://drive.google.com/file/d/0B-Nh7ci6wLX0OVlxaXV4aGpJems/view?usp=sharing

    Crash Log : http://crashes.to/s/6765d63b540

    Note : If you need any thing else, please comment.