robertdoo / red5

Automatically exported from code.google.com/p/red5
0 stars 0 forks source link

Buffered .flv.ser filled very slow, final .flv takes forever to complete. #434

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Record a movie from webcam
2. Look at the movie.flv.ser
3. Look at the movie.flv

What is the expected output? What do you see instead?

When recording a movie with buffering in my script using a timer the .flv.ser 
is really very slow filled, a couple of K per second or less. It takes a really 
long time to get the final movie.flv which really is great in quality.

When I reload my recording application the movie.flv is filled right away and 
the .flv.ser is removed also at the same time.

What version of the product are you using? On what operating system?

- Red5 1.0.2 "Snapshot" (18 April 2013)
- CentOS 6.4

Please provide any additional information below.

Direct recording fills the .flv much better after stopping the recording, the 
quality is less good so I use buffering using a timer like here:

http://fmsguru.com/forum/messages.cfm?threadid=908734CE-B1DF-304C-14C481DA2E1F1B
47

Original issue reported on code.google.com by yamakasi...@gmail.com on 3 Sep 2013 at 2:23

GoogleCodeExporter commented 9 years ago
The filling is based on the data and queue size; a larger queue allows better 
handling of streams that originate on a lower bandwidth connection. This is due 
to the needed reordering of the a/v packets. As you have seen, turning off the 
queue results in lower quality recordings in some cases; again that depends on 
more than just the server and has a lot to do with the publishing source and 
their connection. I'm marking this done, since there really is nothing for me 
to do with this.

Original comment by mondain on 27 Mar 2014 at 5:56