Using FFMPEG to pull a stream from media server

Problems with Unreal Media Server

Using FFMPEG to pull a stream from media server

Postby les » Sun May 27, 2018 11:52 am

Hi, I have been trying to pull one of my streams from media server using FFMPEG but I think that I am not using the correct command or maybe I should be using more commands regarding the stream data? Its almost working but comes up with messages saying missing picture in access unit with size 29730kbits and no frame and also Invalid data when processing input, so I am almost there but probably just missing something.

The command for connecting to media server I am using is ffmpeg -i followed by the rtmp url of the appropriate stream. If you could tell me what I am missing out that would be great.

Cheers for now

LES...
les
 
Posts: 0
Joined: Sun Nov 02, 2014 10:25 am

Re: Using FFMPEG to pull a stream from media server

Postby admin » Tue May 29, 2018 10:01 am

Hello,

Not sure what the problem is; I have a broadcast with alias "webcam" that points to AVC1/AAC stream; the following command records it to a mp4 file just fine:
ffmpeg -i rtmp://127.0.0.1:5119/live/webcam c:\temp\fff.mp4
admin
Site Admin
 
Posts: 1030
Joined: Fri Aug 21, 2009 10:13 am


Return to Experience and troubleshooting

Who is online

Users browsing this forum: No registered users and 1 guest

cron