Forums

/

Unable to seek for Audio only flv with Red5

32 replies [Last post]

Please help!!!....
I bought JWPlayer ver 4.0. So far, the player has been good, and we used it to stream videos and audio (in flv), until flash was upgraded to the latest version 10.1.53.64.

Using the lastest version of JW player (5.2) and streaming flash file (audio only),
the file was able to play (autostart=false, ), but when the control bar cursor is used to seek, streaming hangs. Basically, the player was able to buffer when seeked, however, it does not resume playback.

We tried different players to no avail. However, when the streaming server was changed to wowzamediaserver-2, the problem disappeared, and we were able to seek in the audio file. However, wowza is not free and we want to continue using open source Red5 server.

Any ideas where we should look to resolve the issue?

System specifications:
-----------------------------
In use: JW Player: 4.5.230 / 5.2
Tried with Flowplayer: 3.3.2
Adobe flash version: WIN 10.1.53.64
Red5: 0.9.1 Final / oflaDemo (trunk svn on mar 24)
File: flv

File conversion using ffmpeg:
- Source file:
Input #0, asf, from 'crreplay.wmv':
Duration: 01:00:47.77, start: 3.065000, bitrate: 32 kb/s
Stream #0.0(eng): Audio: wmav2, 44100 Hz, 2 channels, s16, 31 kb/s

- Destination file
Input #0, flv, from 'crreplay.flv':
Duration: 01:00:49.46, start: 0.000000, bitrate: N/A
Stream #0.0: Audio: mp3, 44100 Hz, 2 channels, s16
-----------------------------

@Donald - do you have an example of your Red5 stream? Please keep in mind that Red5 is not officially supported by the JW Player, since its behavior doesn't always match Adobe's Flash Media Server, which is the reference implementation for RTMP.

PabloS, I have included the stream used in the JWPlayer from an instance of Red5.

s1.addParam('allowfullscreen','true');
s1.addVariable('file','audio.flv');
s1.addVariable('streamer','rtmp://203.92.89.138/oflaDemo/8Q0X73MW');
s1.addVariable('provider','rtmp');
s1.addVariable('icons','false');
s1.addVariable('autostart','true');
s1.addVariable('displayclick','fullscreen');
s1.addVariable('stretching','fill');
s1.write('Video');

again, the stream is ok with ver 10.0, but halts on 10.1 flash version.

Thanks in advance...

yeah, i am having the same problem with flash version 10.1.53.64 and no problem with 10.0.x

@xiao - Can you provide your code? There is a work-around for 10.1

I'm unfortunately facing the same problem. Seek and start at a special time seems to be broken when used together with red5 0.8 (it worked about 1 month ago [that is when i last checked it]). Is there any solution?

var flashvars = {
file: filename,
type:"rtmp",
streamer: "rtmp:/streamer",
start:1000
}

this.player.sendEvent('LOAD', flashvars);

sorry, there was some information missing. I'm steaming mp3 files.

after loading with

this.player.sendEvent('LOAD', {
file: filename,
type:"rtmp",
streamer: "rtmp:/streamer",
start:1000
});

I play the files with this.player.sendEvent('PLAY', true);

Greetings

@Donald -

I've investigated your stream, and I can't see anything the player is doing wrong - it simply calls "seek" on the stream at the appropriate time. It's then up to the RTMP server to seek to the correct position in the stream, but unfortunately that doesn't appear to be happening.

@Scorpion -

Your embed code is essentially the same problem as above; having a "start" time set will call seek on the stream. This appears to be a problem specific to Red5. I would direct your questions to their forum.

 
@PabloS,

My Red5 servers, v0.7, v0.9.0, and v0.9.1 are all broken when using the Adobe Flash Player v10.1 and trying to seek in an MP3 file.

All were working fine with Flash 10.0.

@Craterscore,
Same situation here. flash 10.0 seems to work.
ahh

Is there any solution to this problem? I am experiencing the same thing. Wowza and FMS is too expensive for me. Don't think Red5 has any update to fix this...

@Reve - Do you have a link?

same problem with red5 server and rtmp streaming on jw....
when i try to click on the progress bar, music just stop. :(
It was ok with older version of flash on vista, and is still ok with windows XP.
Here is an example:
http://www.meiteisho.net/

On my XP Machine, in Firefox 3.9, with Flash Player 10.1, it plays just fine :)

@ethan: yes, no problem on XP
But on vista and the last version of mac OS, you can't navigate into the progress bar... in any browser.
I have tried with the red5 and jw latest versions, same problem occurs.

I am not sure...I don't have Vista to test on.

but I have tested. On many computers...
I think it's a huge problem for all of us who are using the very good jw player with red5, and I don't find anything about this.
Do you think the problem will be fixed?

Red5 is not officially supported by us. Are you using the latest version of red5 and the latest Flash 10.1 player? Can you try player 5.3? - http://developer.longtailvideo.com/player/trunk/fl5/player.swf

hey..

Looks like the same problem i'm having.

your find you cant seek MP3's aswell..

Check out my thread in here for the thing i tried.

Its very not blessed. But cant get to the bottom of it.

tested with jw 5.3: same problem
And yes i'm using the latest red5 and flash version. I have also tried with older red5 and jw versions.
The seeking was working just fine a couple of months ago... And as I already said, it's working on XP. I just don't understand.

@james can you provide the link of your thread?

@gotsky - Can you provide a link?

@ethan Longtail
not with the last red5 version

but I have already provide a link with red5 older version and jw 4:
http://www.meiteisho.net/

here is another one with the jw last trunk you provide:
http://www.yozik.com/test/testplayerjw.html

thanks for help

@gotsky - Are you using the latest Red5 with the trunk player?

Nope it was an old version

But now, I have the latest Red5 version on a server and i have added somme test player on the test page:
http://www.yozik.com/test/testplayerjw.html

there is a player with a mp3 file and another with a flv file.
You can seek on the flv but not on the mp3.

(I have notice that if you seek on the beginning of the track, the music play, but that's the only way ...)

Hmm, we will take a look, thanks.

The issue seems to be related to this known bug on adobe flash player.
http://bugs.adobe.com/jira/browse/FP-4847
(Maybe it helps if as much people as possible register, follow and vote for the bug on Adobe JIRA)

Thanks

The bug seems to have been fixed!
It works now with the latest version of flashplayer!

Nice! :)

confirmed...

Red5 RTMP seeking in MP3 files is working with the following Adobe Flash Player versions:

Internet Explorer: WIN 10,1,102,64

Firefox: WIN 10,1,102,64

Google Chrome: WIN 10,1,103,19

Android: AND 10,1,105,6

THANK YOU ADOBE!!!