tuno
06-16-2007, 06:21 AM
Hi guys,
I am having a problem using a seek function on flv.
The flv I'm using doesn't contain video info but has only audio data.
I've encoded mp3 file to flv for the streaming purpose. (pure streaming..no progress download)
Since audio data doesn't have keyframes at all whenever I move the playback head to the middle it jump back to the begining not playing at the position I clicked.
(O : playback head)
A ------------------>B
||---O-------------------------------|| (custom flash video player timeline)
A<-------------------B
||-----------------------O-----------||
When it start to play I want to move the playback head in order to listen
from B position(middle of the music) but it goes back to A.
I use netStream to read flv metadata for seeking.
have no problem with flv has both video and audio.
Will it be possible to use netStream for seeking audio only flv?
Help~~~~
---
I am having a problem using a seek function on flv.
The flv I'm using doesn't contain video info but has only audio data.
I've encoded mp3 file to flv for the streaming purpose. (pure streaming..no progress download)
Since audio data doesn't have keyframes at all whenever I move the playback head to the middle it jump back to the begining not playing at the position I clicked.
(O : playback head)
A ------------------>B
||---O-------------------------------|| (custom flash video player timeline)
A<-------------------B
||-----------------------O-----------||
When it start to play I want to move the playback head in order to listen
from B position(middle of the music) but it goes back to A.
I use netStream to read flv metadata for seeking.
have no problem with flv has both video and audio.
Will it be possible to use netStream for seeking audio only flv?
Help~~~~
---