[FFmpeg-trac] #3127(undetermined:new): Video stream publishing via RTMPT

FFmpeg trac at avcodec.org
Tue Nov 12 16:47:46 CET 2013


#3127: Video stream publishing via RTMPT
-------------------------------------+-------------------------------------
             Reporter:  goodvinj     |                     Type:  defect
               Status:  new          |                 Priority:  important
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 I have the latest FFMPEG built with librtmp support.
 I'm trying to publish video stream to RED5 media server via RTMPT, but I
 see only few seconds of video (after that FFMPEG stops sending video).
 When I use RTMP (not RTMPT) there is no such trouble.

 On the other hand Flash Player publishes stream over RTMPT to RED5 without
 issues.

 Also I've tried to build FFMPEG without librtmp support, but FFMPEG hangs
 on avio_open in this case.

 Here is a log after avio_open call:

 2013-11-12 20:05:50.031 [2824 ] DEBUG [http @ 01076140] request: POST
 /open/1 HTTP/1.1

 Accept: */*
 Connection: keep-alive
 Host: localhost:5080
 Content-Length: 1
 Cache-Control: no-cache
 Content-type: application/x-fcs
 User-Agent: Shockwave Flash


 2013-11-12 20:05:50.037 [2824 ] DEBUG [http @ 01076140] header='HTTP/1.1
 200 OK'
 2013-11-12 20:05:50.037 [2824 ] DEBUG [http @ 01076140] http_code=200
 2013-11-12 20:05:50.037 [2824 ] DEBUG [http @ 01076140] header='Server:
 Apache-Coyote/1.1'
 2013-11-12 20:05:50.038 [2824 ] DEBUG [http @ 01076140]
 header='Connection: Keep-Alive'
 2013-11-12 20:05:50.038 [2824 ] DEBUG [http @ 01076140] header='Cache-
 Control: no-cache'
 2013-11-12 20:05:50.038 [2824 ] DEBUG [http @ 01076140] header='Content-
 Type: application/x-fcs'
 2013-11-12 20:05:50.039 [2824 ] DEBUG [http @ 01076140] header='Content-
 Length: 14'
 2013-11-12 20:05:50.039 [2824 ] DEBUG [http @ 01076140] header='Date: Tue,
 12 Nov 2013 13:05:50 GMT'
 2013-11-12 20:05:50.040 [2824 ] DEBUG [http @ 01076140] header=''

 That's all - avio_open never returns.

 I use the following command line for the test:

 ffmpeg -re -i file.flv -acodec copy -vcodec h264 -f flv
 rtmpt://localhost:5080/oflaDemo/stream1384247072828

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/3127>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list