patchGnash - The GNU Flash player - Patches: patch #6524, NetStreamFfmpeg redesign

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #6524: NetStreamFfmpeg redesign

Submitter:  Sandro Santilli <strk>
Submitted:  Sat 24 May 2008 10:15:59 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  strk Open/Closed:  Closed

Tue 27 May 2008 12:11:29 PM UTC, comment #4: 

Committed to head.

Sandro Santilli <strk>
Group Member
Tue 27 May 2008 10:07:50 AM UTC, comment #3: 

Next patch:

- Have FLVParser own the input
- Adds compile-time support for loading/parsing in a separate thread

(file #15740)

Sandro Santilli <strk>
Group Member
Mon 26 May 2008 08:39:36 PM UTC, comment #2: 

This new patch:

- re-introduces audio.
- Keeps the threaded design for it to avoid refactoring the   MovieAdvancement thing (audio needs an appropriate rate clock, can't rely on SWF FPS).
- Still only downloads,parse and decodes in the main thread
(so to not require locking on playhead and input)
- Uses a queue of decoded audio frames to reduce chances of leaving the audio-clock loop starving.

Tests welcome.

(file #15738)

Sandro Santilli <strk>
Group Member
Mon 26 May 2008 04:40:24 PM UTC, comment #1: 

The new patch moves input out from NetConnection into NetStreamFfmpeg and survives to FLV containing only video
(there's one in swfdec testsuite).

Also, cleans up output (error to debug)

(file #15736)

Sandro Santilli <strk>
Group Member
Sat 24 May 2008 10:15:59 PM UTC, original submission:  

I'll use this tracker to keep patches
not committed in head.
Each patch will have a timestamp in name, representing
the CVS snapshot time (trunk) against which they
have been produced.

This first one is for today, what it does is:

- drop any threading
- drop sound support
- drop non-flv support
- properly implement buffer empty/full events sending
- don't advance playhead while buffering, but don't change the pause/playing state)
- implement bufferTime/bufferLenght in terms of file-based cache of encoded frames.

With this patch applied, NetStream-SquareTest.swf runs
pretty much compatibly with pp, even when changed to pause
before seek (on second bufferStop event).

Sandro Santilli <strk>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #15740:  NetStreamFfmpeg-20080527-1.patch added by strk (58KiB - application/octet-stream)
file #15738:  NetStreamFfmpeg-20080526-2.patch added by strk (43KiB - application/octet-stream)
file #15736:  NetStreamFfmpeg-20080526.patch added by strk (37KiB - application/octet-stream)
file #15727:  NetStreamFfmpeg-20080525.patch added by strk (32KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by strk (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-06-09 strk Open/ClosedOpen Closed
    2008-05-27 strk StatusNone Done
        Assigned toNone strk
    2008-05-27 strk Attached File- Added NetStreamFfmpeg-20080527-1.patch, #15740
    2008-05-26 strk Attached File- Added NetStreamFfmpeg-20080526-2.patch, #15738
    2008-05-26 strk Attached File- Added NetStreamFfmpeg-20080526.patch, #15736
    2008-05-24 strk Attached File- Added NetStreamFfmpeg-20080525.patch, #15727

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code