Page 1 of 1

Local RTMP stream bug

PostPosted: Tue Jul 23, 2013 10:31 pm
by Rykzon
Hi guys,

so im hosting my own rtmp live stream with fme and fms.

The stream is running(can watch with webplayer), but when added to serviio it only plays like every other time ("data corrupted" ps3 error when not working)

The addded URL is: rtmp://192.168.0.12/live/livestream app=live live=1
my webplayers uses rtmp://192.168.0.12/live/livestream

When checking the url with serviio while adding it gives me a green check.

ffmpeg -i throws:" Closing connection: NeStream.Play.StreamNotFound
rtmp://192.168.0.12/live/livestream: Unknown error occurred"

Log here: Opening on PS3 worked the first time, but not the second time.https://docs.google.com/file/d/0B8-LTqSeAKzLWHhYNzNMbndqcTg/edit?usp=sharing


Im new to this and doing this mainly to learn about streaming and such, so any help would be much appreciated.

Re: Local RTMP stream bug

PostPosted: Tue Jul 23, 2013 10:58 pm
by zip
Looks like the PS3 closes the connection, possibly not liking the stream, maybe missing key frames. You could try to setup transcoding of rtmp/h264 online content to mpeg2video.

Re: Local RTMP stream bug

PostPosted: Tue Jul 23, 2013 11:27 pm
by Rykzon
Gonna try that, another thing I noticed: When the stream runs on the ps3 its lagging crazy at 5mbit/s so definitely something wrong with the codec i guess.

Isnt the transcoding you talked about already done here?
  Code:
<!-- all other unplayable files just transcode to mpeg2 -->
         <Video targetContainer="mpegts" targetACodec="ac3" targetVCodec="mpeg2video" aBitrate="384">
            <Matches container="flv" />


rtmp should be flv if im not mistaken.

Re: Local RTMP stream bug

PostPosted: Wed Jul 24, 2013 10:19 am
by zip
possibly, easiest to find out by enabling detailed logging and trying to play the file, then look at the ffmpeg command