Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Lag/Skipping frames when running 3 Netstream flv videos.

Guest
Jul 15, 2014 Jul 15, 2014

Why do I have Lagie skipping frames videos when using Flash CS5 ,and 3 Netstream flv videos. If i just play 2 videos they work ok. It is not a CPU or Memory max reached. Videos are being download locally(cached anyway).

Conditions:

Windows 7

Flashplayer 10

With or without hardware aceleration - same experience

More than 2 netstream videos

CPU i7

8GB RAM

Geforce GTX 650

Windows Flash application (no Browser) / Windows Projector (tryed that too)

Result:

Videos all laggie and skipping frames

What I want:

- Magic way to fix the lag
- Alternative to load video (with cue point control and seek)

CODE:

3 x MovieClips containing :

var vid:Video=new Video(640,1080);

  this.addChild(vid);

  var nc:NetConnection = new NetConnection();

  nc.connect(null);

  var ns:NetStream=new NetStream(nc);

  vid.attachNetStream(ns);

ns.client = this;

ns.play("someVideo.flv");     // 10 MB video

TOPICS
ActionScript
535
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Deleted User
Jul 16, 2014 Jul 16, 2014

Problem/Bug Solved in Adobe Flash CS6 windows player!

Thanks for all your help.

Translate
Community Expert ,
Jul 15, 2014 Jul 15, 2014

your flvs are stuttering when played locally?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 15, 2014 Jul 15, 2014

Yes, until one of the vídeos stop all of them are stuttering. I think it may be with a performance issue

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 15, 2014 Jul 15, 2014

perform a quick test.

start (play) them all and immiately pause them all.  wait 5 seconds (using a timer for example) and then play them all. 

any problem?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 16, 2014 Jul 16, 2014

That's exactly the use case. I am working with a simulation of a slot machine that after a quick entrance stops until the user turn it on. That's when video stutter.

Iam calling resume on the 3 movieclips that contain the netstream:

mc_left.ns.resume();

mc_center.ns.resume();

mc_right.ns.resume();

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 16, 2014 Jul 16, 2014
LATEST

Problem/Bug Solved in Adobe Flash CS6 windows player!

Thanks for all your help.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines