Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (97)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (8449)

  • 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

  • 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=&#39;6:0.8.6-1ubuntu2&#39; --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 &#39;rtsp://root:pass@192.168.0.106/axis-media/media.amp&#39;:
     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 &#39;yuvj420p&#39; for codec &#39;flv&#39;, auto-selecting format &#39;yuv420p&#39;
    [buffer @ 0x641aa0] w:320 h:240 pixfmt:yuvj420p
    [avsink @ 0x6512a0] auto-inserting filter &#39;auto-inserted scaler 0&#39; between the filter &#39;src&#39; and the filter &#39;out&#39;
    [scale @ 0x645540] w:320 h:240 fmt:yuvj420p -> w:320 h:240 fmt:yuv420p flags:0x4
    Output #0, flv, to &#39;rtmp://192.168.0.107/myapp/test&#39;:
     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%
  • convert yuv to mp4 by ffmpeg on android

    10 août 2013, par worldask

    i have to convert yuv to mp4 by ffmpeg on android. When I convert wav to mp4 it works well. but when i convert yuv or yuv + wav to mp4, i got errer message said

    Error decoding AAC frame header

    anybody knows what happened ?

    following is the full debug log

    transferYUV2MP4() enter
    __transfer_yuv_to_mp4() enter
    __transfer_yuv_to_mp4() argv[00/17] = ffmpeg
    __transfer_yuv_to_mp4() argv[01/17] = -loglevel
    __transfer_yuv_to_mp4() argv[02/17] = debug
    __transfer_yuv_to_mp4() argv[03/17] = -y
    __transfer_yuv_to_mp4() argv[04/17] = -i
    __transfer_yuv_to_mp4() argv[05/17] = /sdcard/111.yuv
    __transfer_yuv_to_mp4() argv[06/17] = -i
    __transfer_yuv_to_mp4() argv[07/17] = /sdcard/3.wav
    __transfer_yuv_to_mp4() argv[08/17] = -c:a
    __transfer_yuv_to_mp4() argv[09/17] = aac
    __transfer_yuv_to_mp4() argv[10/17] = -strict
    __transfer_yuv_to_mp4() argv[11/17] = experimental
    __transfer_yuv_to_mp4() argv[12/17] = -b:a
    __transfer_yuv_to_mp4() argv[13/17] = 56k
    __transfer_yuv_to_mp4() argv[14/17] = -preset
    __transfer_yuv_to_mp4() argv[15/17] = ultrafast
    __transfer_yuv_to_mp4() argv[16/17] = /sdcard/111.mp4
    __run_ffmpeg_main() enter
    __run_ffmpeg_main() handle=0xb000f7f8
    __run_ffmpeg_main() dlfunc=0x4b5a2728
    ffmpeg version 1.2.2
    Copyright (c) 2000-2013 the FFmpeg developers
     built on Aug 10 2013 16:34:45 with gcc 4.6 (GCC) 20120106 (prerelease)
     configuration: --target-os=linux --prefix=./android/armv7-a --sysroot=/Users/pht/android/ndks/android-ndk-r9/platforms/android-8/arch-arm/ --enable-gpl --enable-version3 --disable-shared --enable-static --disable-ffprobe --disable-ffplay --disable-ffserver --disable-network --enable-avformat --enable-avcodec --enable-cross-compile --arch=arm --cc=/Users/pht/android-standalone-toolchain/bin/arm-linux-androideabi-gcc --nm=/Users/pht/android-standalone-toolchain/bin/arm-linux-androideabi-nm --cross-prefix=/Users/pht/android-standalone-toolchain/bin/arm-linux-androideabi- --extra-cflags=&#39; -I../fdk-aac/include -I../x264 -O3 -fpic -DANDROID -DHAVE_SYS_UIO_H=1 -Dipv6mr_interface=ipv6mr_ifindex -fasm -Wno-psabi -fno-short-enums -fno-strict-aliasing -finline-limit=300 -mfloat-abi=softfp -mfpu=vfpv3-d16 -marm -march=armv7-a &#39; --extra-ldflags=&#39; -L../fdk-aac/lib -L../x264 -Wl,-rpath-link=/Users/pht/android/ndks/android-ndk-r9/platforms/android-8/arch-arm//usr/lib -L/Users/pht/android/ndks/android-ndk-r9/platforms/andr
     libavutil      52. 18.100 / 52. 18.100
     libavcodec     54. 92.100 / 54. 92.100
     libavformat    54. 63.104 / 54. 63.104
     libavdevice    54.  3.103 / 54.  3.103
     libavfilter     3. 42.103 /  3. 42.103
     libswscale      2.  2.100 /  2.  2.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  2.100 / 52.  2.100
    Splitting the commandline.
    Reading option &#39;-loglevel&#39; ...
    matched as option &#39;loglevel&#39; (set libav* logging level) with argument &#39;debug&#39;.
    Reading option &#39;-y&#39; ...
    matched as option &#39;y&#39; (overwrite output files) with argument &#39;1&#39;.
    Reading option &#39;-i&#39; ...
    matched as input file with argument &#39;/sdcard/111.yuv&#39;.
    Reading option &#39;-i&#39; ...
    matched as input file with argument &#39;/sdcard/3.wav&#39;.
    Reading option &#39;-c:a&#39; ...
    matched as option &#39;c&#39; (codec name) with argument &#39;aac&#39;.
    Reading option &#39;-strict&#39; ...
    matched as AVOption &#39;strict&#39; with argument &#39;experimental&#39;.
    Reading option &#39;-b:a&#39; ...
    matched as option &#39;b&#39; (video bitrate (please use -b:v)) with argument &#39;56k&#39;.
    Reading option &#39;-preset&#39; ...
    matched as AVOption &#39;preset&#39; with argument &#39;ultrafast&#39;.
    Reading option &#39;/sdcard/111.mp4&#39; ...
    matched as output file.
    Finished splitting the commandline.
    Parsing a group of options: global .
    Applying option loglevel (set libav* logging level) with argument debug.
    Applying option y (overwrite output files) with argument 1.
    Successfully parsed a group of options.
    Parsing a group of options: input file /sdcard/111.yuv.
    Successfully parsed a group of options.
    Opening an input file: /sdcard/111.yuv.
    Format aac detected only with low score of 1, misdetection possible!
    File position before avformat_find_stream_info() is 0
    get_buffer() failed
    Error decoding AAC frame header.
    channel element 2.12 is not allocated
    More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
    channel element 3.4 is not allocated
    channel element 2.2 is not allocated
    Number of scalefactor bands in group (44) exceeds limit (40).
    channel element 2.10 is not allocated
    channel element 1.15 is not allocated
    channel element 3.6 is not allocated
    channel element 2.0 is not allocated
    channel element 3.3 is not allocated
    Sample rate index in program config element does not match the sample rate index configured by the container.
    channel element 2.8 is not allocated
    Sample rate index in program config element does not match the sample rate index configured by the container.
    channel element 3.2 is not allocated
    Reserved bit set.
    channel element 2.6 is not allocated
    channel element 2.1 is not allocated
    Dependent coupling is not supported together with LTP
    Dependent coupling is not supported together with LTP
    Dependent coupling is not supported together with LTP
    Dependent coupling is not supported together with LTP
    Dependent coupling is not supported together with LTP

    and the "Dependent coupling..." line loops thousands of times