Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (111)

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

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

Sur d’autres sites (5880)

  • 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%
  • RED5 1.0.2 recorded FLV convert to Mobile/HTML5 format with FFMPEG av out of sync

    14 août 2014, par Daew dawe

    I have problem with recorded video in Red5 v1.0.2 (i had issues with previous v1, it does not recorded any video, with 1.0.2 it works). When I record flv I want to convert it to some mp4. But I have problem with settings, because every time there is some issue with quality/audio sync. Can u please help me how to convert with ffmpeg (in future automatic process on server).

    Second problem is that in flash client buffer length is always 0, but in v0.8 it was filled and on end I waited until empty, here I’m not sure how long should I wait. I founded this url http://code.google.com/p/red5/issues/detail?id=312 where they said to wait until i get UnPublish.Success, but that event I got only after ns.close()

    My flash client record settings is (FP10) :

    video :

    • resolution = 640x360
    • fps = 30
    • keyframeinterval = 15
    • video quality = 90
    • bandwidth = 0

    audio :

    • microphone codec = SPEEX
    • encodeQuality = 9
    • silencelevel = 0

    • bufferTime = 15

    recorded video parameters in VLC (translated from czech to english) :

    video

    • Codec : Flash Video (FLV1)
    • Resolution : 640x360
    • format : Planar 4:2:0 YUV

    audio

    • codec : Speex Audio (spx )
    • frequency : 16000Hz
    • bits per sample : 16
    • data flow : 16 kb/s

    FFMEPG info about video :

    Metadata:
      server          : Red5 Server 1.0.2 Rev: 4616
      creationdate    : Mon Sep 02 23:17:08 CEST 2013
      canSeekToEnd    : true
    Duration: 00:00:33.24, start: 0.000000, bitrate: 645 kb/s
      Stream #0:0: Video: flv1, yuv420p, 640x360, 625 kb/s, 1k tbr, 1k tbn, 1k tbc

      Stream #0:1: Audio: speex, 16000 Hz, mono, s16, 16 kb/s

    bsplayer showing 25fps - but I recorded 30fps, I dont understand this so much.

    what I tried with ffmpeg (I’m ffmpeg newbie).

    First I recorded 33sec long video

    when I convert audio with command : ffmpeg -i test.flv -ar 44100 -ab 160k -ac 1 output.mp3 , then the audio have only 30sec

    I tried this commands, but no one with good solution

    ffmpeg -i test.flv -vcodec mpeg4 -acodec libvo_aacenc output.mp4

    ffmpeg -i test.flv -acodec libvo_aacenc -aq 200 outputsss.mp4

    ffmpeg -i test.flv -c:v libvpx -c:a libvorbis output.webm // here is sound synced good - but sound have repeating silence lags (every 1-2s)

    really thank you for your help, I’m fighting with conversion many days :(

  • Getting troubles when I generate rtsp stream as an output with ffmpeg from static images as an input

    10 août 2013, par Ilya Yevlampiev

    I'm trying to start the rtsp stream via feeding ffmpeg with static images and feeding ffserver with ffmpeg output.

    The first problem appears from the ffserver.config :

    Port 12345
    RTSPPort 8544
    BindAddress 0.0.0.0
    MaxHTTPConnections 2000
    MaxClients 1000
    MaxBandwidth 1000
    CustomLog /var/log/ffserver-access.log
     <feed>
    File /tmp/videofeed.ffm
    FileMaxSize 3M
    #Launch ffmpeg -s 640x480 -f video4linux2 -i /dev/video0
    #Launch ffmpeg http://localhost:8090/videofeed.ffm
    Launch ffmpeg -loop 1 -f image2 -r 20 -b 9600 -i Janalif.jpg -t 30 http://127.0.0.1:8090/videofeed.ffm -report
    ACL allow 127.0.0.1
     </feed>
     <stream>
    Format rtsp
    #rtsp://localhost:5454/test1-rtsp.mpg
    Feed videofeed.ffm
    #webcam.ffm
    Format flv
    VideoCodec flv
    VideoFrameRate 30
    VideoBufferSize 80000
    VideoBitRate 200
    VideoQMin 1
    VideoQMax 5
    VideoSize 640x480
    PreRoll 1
    NoAudio
     </stream>
     <stream>
    Format status
     </stream>

    Please ignore codecs etc in stream part. The problem appears for RTSPPort, after starting the server nmap shows no binding to 8544, only 12345 port is used.

    8090/tcp  open  unknown
    12345/tcp open  netbus

    I can download mpeg stream through http from http://localhost:12345/test1-rtsp.mpg. How can I setup 8544 port working ?

    and another question is about Launch part of the stream. Am I right, that ffserver executes the content of Launch line ? If so, how can i configure ffserver to wait the stream in some particular port, but start streaming at the moment I desire ?

    P.S. The solution looks like Säkkijärven polkka, hoowever the idea behind this construct is to provide the controlled rtsp stream to emulate the camera output. In future I plan to substitute the command line for ffmpeg with some java bindings for it to produce the program-controlled images to the camera input to test the computer vision, that's why I need a way to launch ffmpeg independently on ffserver.