Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (50)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Soumettre bugs et patchs

    10 avril 2011

    Un logiciel n’est malheureusement jamais parfait...
    Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
    Si vous pensez avoir résolu vous même le bug (...)

Sur d’autres sites (8044)

  • Can't publish stream on Wowza Streaming engine. Server creates and immediately destroy stream

    1er novembre 2016, par user2365252

    I have set up the Wowza Streaming Engine on the AWS with application name "live". I have opened all necessary ports for the Wowza on the AWS to receive and re transmit the video stream.

    I am taking stream from NVR in the LAN and publishing the video stream from Ubuntu machine using FFMPEG with below command on to Wowza Server.

    ffmpeg -v debug -i "rtsp://888888:888888@192.168.1.5:554/cam/realmonitor?channel=1&subtype=1"  -acodec copy -vcodec copy -sn -f flv "rtmp://xx.xx.xx.xx:1935/live/channel1 live=true pubUser=un pubPasswd=pw"

    It gives me following error after around 60 secs on the terminal.

    Successfully parsed a group of options.
    Opening an output file: rtmp://xx.xx.xx.xx:1935/live/channel1 live=true pubUser=un pubPasswd=pw.
    Parsing...
    Parsed protocol: 0
    Parsed host    : xx.xx.xx.xx
    Parsed app     : live
    RTMP_Connect0, failed to connect socket. 110 (Connection timed out)
    rtmp://xx.xx.xx.xx:1935/live/channel1 live=true pubUser=un pubPasswd=pw: Unknown error occurred

    So, I checked the Wowza server log for any clue and I found this.

    2016-09-27  08:22:31  UTC   comment server  INFO    200 -   MediaCasterStreamValidator.init[live/_definst_]: Started
    2016-09-27  08:22:31  UTC   comment server  INFO    200 -   ModuleCoreSecurity.onAppStart[live/_definst_]: Publish: AllowedEncoders: securityPublishValidEncoders:Wirecast/|FME/|FMLE/|Wowza GoCoder*|Lavf/|UA Teradek/|KulaByte/|VidBlaster/|XSplit/|PESA  
    2016-09-27  08:22:31  UTC   comment server  INFO    200 -   ModuleCoreSecurity.onAppStart[live/_definst_]: Publish: block duplicate stream names : false
    2016-09-27  08:22:31  UTC   comment server  INFO    200 -   ModuleCoreSecurity.onAppStart[live/_definst_]: Publish: RTMP Authorization: password file:/usr/local/WowzaStreamingEngine/conf/publish.password
    2016-09-27  08:22:31  UTC   comment server  INFO    200 -   ModuleCoreSecurity.onAppStart[live/_definst_]: Play: SecureConnection: securityPlayRequireSecureConnection:false
    2016-09-27  08:22:31  UTC   comment server  INFO    200 -   ModuleCoreSecurity.onAppStart[live/_definst_]: Play: securitySecureTokenVersion property is missing, using SecureToken Version 1, play security enabled for RTMP only
    2016-09-27  08:22:31  UTC   app-start   application INFO    200 _definst_   live/_definst_
    2016-09-27  08:22:31  UTC   connect-pending session INFO    100 <incomming ip="ip">  -   _defaultVHost_  live    _definst_   2.975   [any]   1935    rtmp://xx.xx.xx.xx:1935/live    <incomming ip="ip">` rtmp    -   unknown 1873157588  3178    3073    -   -   -   -   -   -   -   -   -   -   -   -   -   rtmp://xx.xx.xx.xx:1935/live    -
    2016-09-27  08:22:31  UTC   connect session INFO    200 <incomming ip="ip">  -   _defaultVHost_  live    _definst_   2.975   [any]   1935    rtmp://xx.xx.xx.xx:1935/live    <incomming ip="ip">  rtmp    -   unknown 1873157588  3178    3073    -   -   -   -   -   -   -   -   -   -   -   -   -   rtmp://xx.xx.xx.xx:1935/live    -
    2016-09-27  08:22:32  UTC   create  stream  INFO    200 -   -   _defaultVHost_  live    _definst_   0.0 [any]   1935    rtmp://xx.xx.xx.xx:1935/live    <incomming ip="ip">  rtmp    -   unknown 1873157588  3297    3565    1   0   0   0   -   -   -   -   -   -   rtmp://xx.xx.xx.xx:1935/live    rtmp://xx.xx.xx.xx:1935/live    -   rtmp://xx.xx.xx.xx:1935/live    -
    2016-09-27  08:22:33  UTC   destroy stream  INFO    200 -   -   _defaultVHost_  live    _definst_   1.644   [any]   1935    rtmp://xx.xx.xx.xx:1935/live    <incomming ip="ip">  rtmp    -   unknown 1873157588  3347    3796    1   0   0   0   -   -   -   -   -   -   rtmp://xx.xx.xx.xx:1935/live    rtmp://xx.xx.xx.xx:1935/live    -   rtmp://xx.xx.xx.xx:1935/live    -
    2016-09-27  08:22:33  UTC   disconnect  session INFO    200 1873157588  -   _defaultVHost_  live    _definst_   5.198   [any]   1935    rtmp://xx.xx.xx.xx:1935/live    <incomming ip="ip">  rtmp    -   unknown 1873157588  3347    3796    -   -   -   -   -   -   -   -   -   -   -   -   -   rtmp://xx.xx.xx.xx:1935/live    -
    2016-09-27  08:23:34  UTC   app-stop    application INFO    200 _definst_   live/_definst_
    </incomming></incomming></incomming></incomming></incomming></incomming></incomming>

    So basically the server authentication is done correct but server starts the stream and stops immediately.

    Can anyone please give me some pointer to look for this error ?

  • Send ffmpeg input from python variable

    27 septembre 2016, par Roney rogerio

    I need send continuouns date to ffmpeg from python, I have tried but really dont know the best solution to make this, i have tried :

    import subprocess as sp
    import time

    command = ["/usr/bin/ffmpeg",
              '-f', 'hls',
              '-c', 'copy',
              '-hls_time', '10',
              '-hls_flags', 'delete_segments',
              '-i', '-', # The imput comes from a pipe
              'index.m3u8' ]

    proc = sp.Popen(command, stdin=sp.PIPE)

    proc.stdin.write(open("video.ts", 'r').read())

    proc.stdin.close()
    proc.wait()

    I get the error :

    ffmpeg version N-80901-gfebc862 Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
     configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab
     libavutil      55. 28.100 / 55. 28.100
     libavcodec     57. 48.101 / 57. 48.101
     libavformat    57. 41.100 / 57. 41.100
     libavdevice    57.  0.102 / 57.  0.102
     libavfilter     6. 47.100 /  6. 47.100
     libavresample   3.  0.  0 /  3.  0.  0
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  1.100 /  2.  1.100
     libpostproc    54.  0.100 / 54.  0.100
    pipe:: Invalid data found when processing input
    Traceback (most recent call last):
     File "teste.py", line 15, in <module>
       proc.stdin.write(open("video.ts", 'r').read())
    IOError: [Errno 32] Broken pipe
    </module>
  • How can I skip an image error when trimming an mp3 with ffmpeg

    29 septembre 2016, par John Pollard

    I am running the following command to get cut a 30 second section of the file

    ffmpeg -i 'river.mp3' -ss 30 -t 30 -acodec libmp3lame -b:a 128k 'audio_trimmed.mp3'

    but I am getting a "Invalid PNG signature" error. Is there a way to skip the image since I don’t need it and have the command run successfully ?

    ffmpeg version 2.8.5 Copyright (c) 2000-2016 the FFmpeg developers
     built with Apple LLVM version 7.3.0 (clang-703.0.31)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/2.8.5 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-libvorbis --enable-vda
     libavutil      54. 31.100 / 54. 31.100
     libavcodec     56. 60.100 / 56. 60.100
     libavformat    56. 40.101 / 56. 40.101
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 40.101 /  5. 40.101
     libavresample   2.  1.  0 /  2.  1.  0
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  2.101 /  1.  2.101
     libpostproc    53.  3.100 / 53.  3.100
    [mp3 @ 0x7f8419010600] Skipping 0 bytes of junk at 73436.
    [png @ 0x7f8419812600] Invalid PNG signature 0xFFD8FFE000104A46.
    [mp3 @ 0x7f8419010600] decoding for stream 1 failed
    [mp3 @ 0x7f8419010600] Could not find codec parameters for stream 1 (Video: png, none(pc)): unspecified size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    Input #0, mp3, from 'river.mp3':
     Metadata:
       genre           : Podcast
       album           : River City Church's Podcast
       artist          : Antley Fowler
       title           : Jubilee Brings Justice
       date            : 2016-08-15 10:23
     Duration: 00:28:28.07, start: 0.025056, bitrate: 64 kb/s
       Stream #0:0: Audio: mp3, 44100 Hz, mono, s16p, 64 kb/s
       Stream #0:1: Video: png, none(pc), 90k tbr, 90k tbn, 90k tbc
       Metadata:
         title           : Episode Artwork
         comment         : Cover (front)
    [buffer @ 0x7f8418c18de0] Unable to parse option value "0x0" as image size
    [buffer @ 0x7f8418c18de0] Unable to parse option value "-1" as pixel format
    [buffer @ 0x7f8418c18de0] Unable to parse option value "0x0" as image size
    [buffer @ 0x7f8418c18de0] Error setting option video_size to value 0x0.
    [graph 0 input from stream 0:1 @ 0x7f8418c18ee0] Error applying options to the filter.
    Error opening filters!