vrakeshreddy / mb-unit

Automatically exported from code.google.com/p/mb-unit
0 stars 0 forks source link

FLV Video recorded looks "jumpy" #522

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Write a little screen recording app at 2fps, 1280x1024x32bit using 
Gallio that saves the video to a local file.
2. Run it
3. Watch the result

What is the expected output? What do you see instead?
A nice looking video

What version of the product are you using? On what operating system?
3.1.313.0, Windows XP SP3

Please provide any additional information below.
Here's the code that I used:

private ScreenRecorder m_recorder;
private void Start_Click(object sender, RoutedEventArgs e)
{
    if (m_recorder != null) return;
    m_recorder = Capture.StartRecording(new CaptureParameters(), 2);
}

private void Stop_Click(object sender, RoutedEventArgs e)
{
    if (m_recorder == null) return;
    m_recorder.Stop();
    m_recorder.Video.Save(new FileStream(@"f:\video.flv", 
FileMode.Create));
    m_recorder.Dispose();
    m_recorder = null;
}

Original issue reported on code.google.com by omer....@gmail.com on 11 Sep 2009 at 10:44

Attachments:

GoogleCodeExporter commented 9 years ago
Could you describe what you mean by "jumpy"?  The video looks about like I would
expect it to look at 2 frames per second: not very smooth.

I tend to record my videos at 25% zoom and 5 frames per second.  This produces 
good
results without overtaxing the CPU.  Works best on a dual core machine where the
video encoding can happen in parallel with the test run.

Original comment by jeff.br...@gmail.com on 11 Sep 2009 at 11:36

GoogleCodeExporter commented 9 years ago
Sorry - my bad. I was using VLC Player to watch the flv file and the picture is 
"flashing" with patches of black background every other frame.
I downloaded another free flv player from the web and it looks great in it.
What player do you use to watch flv files?

Original comment by omer....@gmail.com on 12 Sep 2009 at 7:42

GoogleCodeExporter commented 9 years ago
I usually just view them in the browser as part of the test report.
Yesterday I tried out the JW Desktop Player which seemed to work fine but it's 
got a
bunch of advertising and media sponsorship crap going on.

If you find a great player let me know so we can mention it in the Gallio Book.

Anyways, glad it works.  :-)

Original comment by jeff.br...@gmail.com on 12 Sep 2009 at 4:25

GoogleCodeExporter commented 9 years ago
I settled on the open-source SMPlayer (http://smplayer.sourceforge.net/).
Thanks for all our hard-work. I love using mbunit/gallio.

Original comment by omer....@gmail.com on 13 Sep 2009 at 6:05