Recherche avancée

Médias (1)

Mot : - Tags -/portrait

Autres articles (67)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (8173)

  • FFmpeg MUXING OVERHEAD after 900 seconds h264 & ACC (from Axis Camera) to flv rtmp

    11 août 2013, par user2672844

    Audio and Video works for 900 seconds and then ,muxing Overhead !!!

    video:1889kB audio:1825kB global headers:0kB muxing overhead 2.162866%

    AXIS IP CAM -> ffmpeg -> nginx

    ffmpeg -v verbose -i rtsp://root:pass@192.168.0.106/axis-media/media.amp -itsoffset 00:00:05 -acodec copy -ac 1 -ab 64k -ar 16000 -f flv -r 5 -qscale 1 -b 128kB rtmp://192.168.0.107/myapp/test

    I test many Commands with this one , i have the best resoults !!

    Console Output after start the Command :

       ffmpeg -v verbose -i rtsp://root:pass@192.168.0.106/axis-media/media.amp -itsoffset 00:00:05 -acodec copy -ac 1 -ab 64k -ar 16000 -f flv -r 5 -qscale 1 -b 128kB rtmp://192.168.0.107/myapp/test
    ffmpeg version 0.8.6-6:0.8.6-1ubuntu2, Copyright (c) 2000-2013 the Libav developers
     built on Mar 30 2013 22:20:06 with gcc 4.7.2
     configuration: --arch=amd64 --enable-pthreads --enable-runtime-cpudetect --extra-version='6:0.8.6-1ubuntu2' --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-gnutls --enable-libgsm --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-postproc --enable-swscale --enable-libcdio --enable-x11grab --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static
     libavutil    51. 22. 1 / 51. 22. 1
     libavcodec   53. 35. 0 / 53. 35. 0
     libavformat  53. 21. 1 / 53. 21. 1
     libavdevice  53.  2. 0 / 53.  2. 0
     libavfilter   2. 15. 0 /  2. 15. 0
     libswscale    2.  1. 0 /  2.  1. 0
     libpostproc  52.  0. 0 / 52.  0. 0
    *** THIS PROGRAM IS DEPRECATED ***
    This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
    [rtsp @ 0x63fb20] SDP:
    v=0
    o=- 1376246125522976 1376246125522976 IN IP4 192.168.0.106
    s=Media Presentation
    e=NONE
    b=AS:50064
    t=0 0
    a=control:*
    a=range:npt=0.000000-
    m=video 0 RTP/AVP 96
    c=IN IP4 0.0.0.0
    b=AS:50000
    a=framerate:5.0
    a=transform:-1,0,0;0,-1,0;0,0,1
    a=control:trackID=1
    a=rtpmap:96 H264/90000
    a=fmtp:96 packetization-mode=1; profile-level-id=4D0029; sprop-parameter-sets=Z00AKeKQKD9gLcBAQGkHiRFQ,aO48gA==
    m=audio 0 RTP/AVP 97
    c=IN IP4 0.0.0.0
    b=AS:64
    a=control:trackID=2
    a=rtpmap:97 mpeg4-generic/16000/1
    a=fmtp:97 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1408; sizeLength=13; indexLength=3; indexDeltaLength=3; profile=1; bitrate=64000;

    [rtsp @ 0x63fb20] Estimating duration from bitrate, this may be inaccurate

    Seems stream 0 codec frame rate differs from container frame rate: 180000.00 (180000/1) -> 90000.00 (180000/2)
    Input #0, rtsp, from 'rtsp://root:pass@192.168.0.106/axis-media/media.amp':
     Metadata:
       title           : Media Presentation
     Duration: N/A, start: 0.062063, bitrate: N/A
       Stream #0.0: Video: h264 (Main), yuvj420p, 320x240 [PAR 1:1 DAR 4:3], 90k tbr, 90k tbn, 180k tbc
       Stream #0.1: Audio: aac, 16000 Hz, mono, s16
    Incompatible pixel format 'yuvj420p' for codec 'flv', auto-selecting format 'yuv420p'
    [buffer @ 0x641aa0] w:320 h:240 pixfmt:yuvj420p
    [avsink @ 0x6512a0] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
    [scale @ 0x645540] w:320 h:240 fmt:yuvj420p -> w:320 h:240 fmt:yuv420p flags:0x4
    Output #0, flv, to 'rtmp://192.168.0.107/myapp/test':
     Metadata:
       title           : Media Presentation
       encoder         : Lavf53.21.1
       Stream #0.0: Video: flv, yuv420p, 320x240 [PAR 1:1 DAR 4:3], q=2-31, 1024 kb/s, 1k tbn, 5 tbc
       Stream #0.1: Audio: aac, 16000 Hz, mono
    Stream mapping:
     Stream #0.0 -> #0.0
     Stream #0.1 -> #0.1
    Press ctrl-c to stop encoding
    frame= 1185 fps=  5 q=1.0 Lsize=    3794kB time=236.80 bitrate= 131.2kbits/s    
    video:1889kB audio:1825kB global headers:0kB muxing overhead 2.162866%
  • av_interleaved_write_frame() unknown error when streaming WebM

    16 avril 2015, par user1475135

    I’m following a guide to live WebM streaming through FFMpeg / FFServer and running into an interesting error. I have tried using a DirectShow webcam source, and also an existing WebM (finite length) video using -vcodec copy. Initially, both will manage to connect to the FFServer (I can see the POST 200 OKs to /feed1.ffm), and maybe even send a frame or two, but then FFMpeg crashes with av_interleaved_write_frame(): Unknown error. (Meanwhile, FFServer appears to be fine.)

    This appears to be an unusual variant of the error - normally it’s more common to get, say, av_interleaved_write_frame(): I/O error (which indicates file corruption). Has anyone seen this error, and better yet, can anyone tell me how to fix it ?


    FFMpeg commands

    • ffmpeg -re -i univac.webm -vcodec copy -acodec copy -f webm http://[my server]/feed1.ffm
    • ffmpeg -f dshow -i video="[my dshow source]" -f webm http://[my server]/feed1.ffm

    FFserver command

    ffserver -f ffserver.conf

    ffserver.conf

    This is only a slight variation in the one provided in the aforementioned guide.

    Port 8080  
    BindAddress 0.0.0.0
    MaxHTTPConnections 2000
    MaxClients 5
    # MaxBandwidth 10000
    CustomLog -
    NoDaemon  

    <feed>      
      File ./feed1.ffm  
      FileMaxSize 1G  
      ACL allow [IP of the machine with ffmpeg]  
    </feed>

    <stream>
      Feed feed1.ffm    
      Format webm

      # Audio settings
      AudioCodec vorbis
      AudioBitRate 64  

      # Video settings
      VideoCodec libvpx
      VideoSize 640x480
      VideoFrameRate 30
      AVOptionVideo flags +global_header
      AVOptionVideo cpu-used 0
      AVOptionVideo qmin 10
      AVOptionVideo qmax 42
      AVOptionVideo quality good
      AVOptionAudio flags +global_header
      VideoBitRate 400

      # Streaming settings
      PreRoll 15
      StartSendOnKey
    </stream>

    FFserver logs

    avserver version 0.8.6-6:0.8.6-1ubuntu2, Copyright (c) 2000-2013 the Libav developers

    built on Mar 30 2013 with gcc 4.7.2

    AVserver started

    [current time] - [GET] "/feed1.ffm HTTP/1.1" 200 4149

    [current time] - [POST] "/feed1.ffm HTTP/1.1" 200 4096

  • Linux : Webcam capture not fast enough. Ffmpeg dies half way

    19 août 2013, par user763410

    I am trying to capture webcam output in liux/ubuntu. I have a chico webcam (lenovo laptop). I am running inside a VMWARE virtual machine. The capture is not proceeding beyond 10 seconds. can you please help.

    The command I used is :

    $ ffmpeg -y -f video4linux2 -r 20 -s 160x120 -i /dev/video0 -acodec libfaac -ab 128k /tmp/web.avi

    The most important message I am getting is :

    [video4linux2,v4l2 @ 0x9e43fa0] The v4l2 frame is 46448 bytes, but 153600 bytes are expected

    Complete message from ffmpeg :

    ffmpeg version N-55159-gf118b41 Copyright (c) 2000-2013 the FFmpeg developers
     built on Aug 18 2013 09:09:13 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
     configuration: --enable-libass --prefix=/opt/ffmpeg --enable-debug --enable-libfreetype
     libavutil      52. 40.100 / 52. 40.100
     libavcodec     55. 19.100 / 55. 19.100
     libavformat    55. 12.102 / 55. 12.102
     libavdevice    55.  3.100 / 55.  3.100
     libavfilter     3. 82.100 /  3. 82.100
     libswscale      2.  4.100 /  2.  4.100
     libswresample   0. 17.103 /  0. 17.103
    [video4linux2,v4l2 @ 0x9e43fa0] The V4L2 driver changed the video from 160x120 to 320x240
    [video4linux2,v4l2 @ 0x9e43fa0] The driver changed the time per frame from 1/20 to 1/15
    Input #0, video4linux2,v4l2, from &#39;/dev/video0&#39;:
     Duration: N/A, start: 6424.338678, bitrate: 18432 kb/s
       Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 320x240, 18432 kb/s, 15 fps, 15 tbr, 1000k tbn, 1000k tbc
    Codec AVOption ab (set bitrate (in bits/s)) specified for output file #0 (/tmp/web.avi) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
    Output #0, avi, to &#39;/tmp/web.avi&#39;:
     Metadata:
       ISFT            : Lavf55.12.102
       Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 320x240, q=2-31, 200 kb/s, 20 tbn, 20 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (rawvideo -> mpeg4)
    Press [q] to stop, [?] for help
    [video4linux2,v4l2 @ 0x9e43fa0] The v4l2 frame is 46448 bytes, but 153600 bytes are expected
    /dev/video0: Invalid data found when processing input
    frame=   29 fps= 14 q=3.5 Lsize=      87kB time=00:00:01.45 bitrate= 490.0kbits/s    
    video:80kB audio:0kB subtitle:0 global headers:0kB muxing overhead 7.760075%
    [video4linux2,v4l2 @ 0x9e43fa0] Some buffers are still owned by the caller on close.