#7639: Unable to do 'rtsp stream' when 'rtsp_flags listen'
-------------------------------------+-------------------------------------
             Reporter:               |                    Owner:
  dinesh.gupta01                     |
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:  rtsp         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by Jun):

 try this,
 terminal one:  ./ffplay -rtsp_flags listen rtsp://localhost:15450
 terminal two:  ./ffmpeg -f gdigrab -i desktop -f rtsp
 rtsp://localhost:15450

 rtsp client(ffmpeg here)  send Announce->Setup->Record request to
 listener(ffplay here), and then send packets through RTP.

 So you can use ffplay as a server to listen, and ffmpeg as client to push
 from your local camera to server.  I tried on my mac and works find.  here
 is my cmd :
 terminal one :  sudo ./ffplay -rtsp_flags listen rtsp://localhost:554
 terminal two: ffmpeg -f avfoundation -video_size 320x240 -framerate 30
 -pixel_format bgr0 -i "FaceTime HD Camera" -f rtsp rtsp://localhost:554

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7639#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to