Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get live RTMP stream to play #6

Closed
ghost opened this issue May 31, 2012 · 7 comments
Closed

Can't get live RTMP stream to play #6

ghost opened this issue May 31, 2012 · 7 comments

Comments

@ghost
Copy link

ghost commented May 31, 2012

I'm using Flash Media Live Encoder to stream live from a webcam to your module. The stats page shows incoming data and connections, but everything that I try to play the stream with will succesfully connect but report some variation of "[h264 @ 0x7f8ed0c2af40] no frame!" I've tried at least mplayer,vlc, rtmpdump, ffplay, and jwplayer. They all give a similar error. I've tweaked various settings in FMLE to no avail. One thing to note however is that if I use rtmpdump to dump it to a file, rather than try to play it in real time, I can succesfully play the resulting file in any media player.

@ghost
Copy link
Author

ghost commented May 31, 2012

The stream seems to play in mplayer after 3-4 minutes of sitting there. Right before it plays it spits out "Error while decoding frame!" Then the stream continues to play, on several minutes lag...and eventually stops in another few minutes.

@ghost ghost closed this as completed May 31, 2012
@ghost ghost reopened this May 31, 2012
@ghost
Copy link
Author

ghost commented May 31, 2012

I got it to play in JWPlayer by setting the filename to the strangeness that FMLE sets it to : "room?videoKeyframeFrequency=5&totalDatarate=248" in my case. The problems with the other players still persist however.

@arut
Copy link
Owner

arut commented Jun 1, 2012

Thanks for the report. I known the module has this problem. It's about h264, no problem with standard flv/sorenson-h263 streaming. I'm working on this. However any related information is highly appreciated.

@semihalev
Copy link

Also i'm using H.264 + HE-AAC on FMLE publish to Wowza and pull from your module, first play very good no problem, another players cant play. I dumped via rtmpdump check the data headers , i see differences in data headers. for first player data header started 07 00 , for second started 06 00, also i checked with ffmpeg, first player video and audio data is ok, second data is bad. like this;

[aac @ 0x195d9200] channel element 0.0 is not allocated
[h264 @ 0x195d74a0] no frame!
[aac @ 0x195d9200] channel element 0.0 is not allocated
[h264 @ 0x195d74a0] no frame!
[aac @ 0x195d9200] channel element 0.0 is not allocated
[h264 @ 0x195d74a0] no frame!
[aac @ 0x195d9200] channel element 0.0 is not allocated
[h264 @ 0x195d74a0] no frame!
[aac @ 0x195d9200] channel element 0.0 is not allocated

I am looking solution about this problem, if i found, i will share.

@arut
Copy link
Owner

arut commented Jun 7, 2012

It seems I have the fix implemented. It's about AVC sequence header. I'll commit it later.

@arut
Copy link
Owner

arut commented Jun 7, 2012

I've committed (&tagged v0.1.7) updated module version with the fix. Please report issues.

@arut arut closed this as completed Jun 7, 2012
@semihalev
Copy link

I tested, video is ok for late clients but audio cant play.

ffmpeg log:
[aac @ 0x1030d200] channel element 0.0 is not allocated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants