.... -f mpegts udp://
Point crtmpserver to that new address:port instead of 127.0.0.1 and at the same time point another tool to the same address:port to record it. I suggest netcat. There are many tools out there, I'm sure
On May 30, 2012, at 4:17 PM, Emil Georgiev wrote:
> Hey, Andrei, thanks for replying!
>
> Could you please be more specific about how to record the stream?
>
> Thank you.
> :)
>
> On Wednesday, May 30, 2012 2:14:46 PM UTC+3, Eugen-Andrei Gavriloaie wrote:
> Hi Emil,
>
> Can you please also record that stream in a TS file on disk? That should not be that big at you current bitrate (around 15GB). After that, we can "replay" that file through crtmpserver and identify the problem.
>
> Thank you
>
> On May 30, 2012, at 1:36 PM, Emil Georgiev wrote:
>
> > Hello,
> >
> > I have a working UDP ffmpeg transport stream, using it with crtmp and for most of the time it is working fine. However at some point either the sound stops and the video keeps runing fine, or the sound is running and the video freezes on a single frame(when the page is refreshed the frame changes to more current one but still frozen on a single frame). It happens randomly, usually after the stream has been working for more than 24 hours. There is no problem with the ffmpeg encoder, the crtmp server also thinks everything is ok - no errors, nothing at all - it looks like it's running perfectly. Except the stream is not - there is either no sound or no video. Restarting the crtmp server fixes the problem for another day or two, until it happens again.
> >
> > here's the ffmpeg syntax we're using:
> > ffmpeg -i udp://
127.0.0.1:20000 -pass 1 -vcodec libx264 -b 500000 -s 320x180 -g 50 -threads 0 -acodec libfaac -ab 96000 -ar 48000 -ac 2 -async 1 -f mpegts udp://
127.0.0.1:10000?pkt_size=1316 -v verbose
> >
> > You received this message because you are subscribed to "C++ RTMP Server" mailing list.
> > To post to this group, send email to
c-rtmp...@googlegroups.com
> > To unsubscribe from this group, send email to
> You received this message because you are subscribed to "C++ RTMP Server" mailing list.
> To post to this group, send email to
c-rtmp...@googlegroups.com
> To unsubscribe from this group, send email to