google-code-export / flowplayer-core

Automatically exported from code.google.com/p/flowplayer-core
2 stars 0 forks source link

Netstream data generation mode #539

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

i wrote a streaming plugin to stream a file from netgroup using data 
replication. 
I use 64kb chunks for object replication and i add data to the netstream using 
appendbytes.

I based my code on the rtmp streaming plugin and 
http://www.flashrealtime.com/video-on-demand-over-p2p-in-flash-player-101-with-o
bject-replication/. For my test i use the flv file provided in the previous 
link.

The video file is downloaded well and onmetadata fire up.
Moreover, the file is playing BUT video isn't displayed. Audio works fine, so i 
believe there aren't problem with the download...

I use flowplayer 3.2.8 on firefox 12 (flash 11.2.202.233) and W7.

Any Idea?

Original issue reported on code.google.com by digital....@gmail.com on 7 May 2012 at 1:02

GoogleCodeExporter commented 9 years ago
Hi you are trying to use the appendbytes feature for video data correct ? This 
needs to be an flv container and you may need to send a flv header tag still. I 
would first make sure this works in a prototype application first. Was this a 
question or a bug report ? 

Original comment by electrot...@gmail.com on 7 May 2012 at 3:04

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
It was kind of a question yes as i don't know if it's a bug from flowplayer or 
an error on my side.

the flv file used for testing : 
http://flashrealtime.com/demos/p2pvod/sample.flv, so i think flv header is set 
no ?
Yes i am using the appendbytes feature for video data.

and i have the confirmation that there is nothing wrong with the download : i 
dumped to a file the data received (that i passed to the netstream with 
appendbytes) and i have the exact same flv file as output.

The prototype application is the one showed in the above link. it is using the 
exact same file and it is working :s. With my plugin i only can hear the audio 
of the video file playing ...

Original comment by digital....@gmail.com on 7 May 2012 at 4:28

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/flowplayer-plugins/source/browse/flash/pseudostreaming/
trunk/src/actionscript/org/flowplayer/pseudostreaming/net/ByteRangeNetStream.as 
please have a look here, try to making sure it works outside of flowplayer 
first. This is outside the scope of support im afraid, it's talking about file 
chunking also. I'm going to close for now as it's not a bug and none of the 
plugins are built to work with this and you have to modify to suit your needs. 
If you need specialised support I can help you directly. 

Original comment by electrot...@gmail.com on 7 May 2012 at 5:40

GoogleCodeExporter commented 9 years ago

Original comment by electrot...@gmail.com on 7 May 2012 at 5:40

GoogleCodeExporter commented 9 years ago
Thank you, i based my plugin on pseudostreaming and it worked

Original comment by digital....@gmail.com on 7 May 2012 at 8:42