Movie Player Buffer problem?

Wünsche, Anträge, Fehlermeldungen
ozbodd
Interessierter
Interessierter
Beiträge: 94
Registriert: Donnerstag 24. März 2005, 18:25

Re: Movie Player Buffer problem?

Beitrag von ozbodd »

k one of the modders is making up an image as we speak so I'll put it through its paces this next week.
bellum
bbs-Maintainer
Beiträge: 282
Registriert: Montag 23. Oktober 2006, 22:13

Re: Movie Player Buffer problem?

Beitrag von bellum »

seife hat geschrieben:I think i found a fix, but i'm not sure about side effects.
Works quite well for me, though:
Hi Seife,
I just gave your fix a quick test and it works well. No remakable side effects at the moment.
Unfortunately it fixes the complete plyback for transport streams only.
MPEGs played via movieplayer and vlc are showing a buffering message 10sec before the clip is ending though the clip is completely played in the background.

Any ideas for fixing this as well?

bellum
ozbodd
Interessierter
Interessierter
Beiträge: 94
Registriert: Donnerstag 24. März 2005, 18:25

Re: Movie Player Buffer problem?

Beitrag von ozbodd »

I have put this into Bin for testing on my image - On the second clip I played I had a lock up again at the end of the clip with the "Buffering..." message, same as before.

Playing TS from a CIFs share on /mnt

When my wife has finished watching tele next I'll check to see if it is a random crash or on specific clips.
Zuletzt geändert von ozbodd am Sonntag 20. Januar 2008, 22:25, insgesamt 1-mal geändert.
Tommy
Tuxboxer
Tuxboxer
Beiträge: 4332
Registriert: Dienstag 7. Mai 2002, 17:04

Re: Movie Player Buffer problem?

Beitrag von Tommy »

it would be very nice if you could note on each test which play method you have used! Play TS via netshare or play over http via vlc. For you it may made no different but within the source are different areas are responsible. Furtherly it is NOT interesting how many times you have transcoded the stream from format to format. The playback via VLC is dirty as long as I can think back. It was never possible to really jump back and forwards within the stream.

BTW: To use CIFS as netshare for MP is the worst case
ozbodd
Interessierter
Interessierter
Beiträge: 94
Registriert: Donnerstag 24. März 2005, 18:25

Re: Movie Player Buffer problem?

Beitrag von ozbodd »

Is there a realist option from a Windows box other than cifs? I have no plans to change it to Linux. I know there is an nfs option for Windows but does it perform better?

The share has not really given me any trouble in the past, as a matter of fact it has been very stable.
PT-1
Moderator english
Beiträge: 2458
Registriert: Donnerstag 20. Dezember 2001, 00:00

Re: Movie Player Buffer problem?

Beitrag von PT-1 »

NFS for Windows (or linux) is the best you can use
Tommy
Tuxboxer
Tuxboxer
Beiträge: 4332
Registriert: Dienstag 7. Mai 2002, 17:04

Re: Movie Player Buffer problem?

Beitrag von Tommy »

exactly - nfs and there udp for write and tcp for read - but this everybody have to check himself. There are several testscripts for LAN read/write speed in this board and/or wiki
seife
Developer
Beiträge: 4189
Registriert: Sonntag 2. November 2003, 12:36

Re: Movie Player Buffer problem?

Beitrag von seife »

The lockup with "buffering..." is a side effect.
Should be better with this one:

Code: Alles auswählen

Index: movieplayer.cpp
===================================================================
RCS file: /cvs/tuxbox/apps/tuxbox/neutrino/src/gui/movieplayer.cpp,v
retrieving revision 1.158
diff -u -p -r1.158 movieplayer.cpp
--- movieplayer.cpp     9 Dec 2007 23:30:53 -0000       1.158
+++ movieplayer.cpp     20 Jan 2008 22:45:30 -0000
@@ -1661,11 +1661,11 @@ uint8_t *TPtrQueue::lockWriteSeg(void)
   //-----------------------------------
   for(;;)
   {
-       if (isTerminated) return NULL;  // abort
-
        //-- check low level ... --
        if ( level < 2 )
        {
+               if (isTerminated) return NULL;  // abort
+
                //-- ... and freeze playback --
                if (!freezed)
                {
@@ -1681,6 +1681,8 @@ uint8_t *TPtrQueue::lockWriteSeg(void)
        //-- in freezed state --
        else if (freezed)
        {
+               if (isTerminated) return NULL;  // abort
+
                //-- wait for buffer filled or ... --
                if ( level < nSegsOpt )
                {
(i knew i had overlooked something ;) )
Tommy
Tuxboxer
Tuxboxer
Beiträge: 4332
Registriert: Dienstag 7. Mai 2002, 17:04

Re: Movie Player Buffer problem?

Beitrag von Tommy »

I have deleted the old binary in ULC and add the new one. Again, untested and unstripped (1586kB) with seife patch No2

neutrino

..have fun
bellum
bbs-Maintainer
Beiträge: 282
Registriert: Montag 23. Oktober 2006, 22:13

Re: Movie Player Buffer problem?

Beitrag von bellum »

seife hat geschrieben:The lockup with "buffering..." is a side effect.
Should be better with this one:
Your new diff works good, no side effects...
But theres still the buffering message at the end of the clip when playing files with vnc

bellum
ozbodd
Interessierter
Interessierter
Beiträge: 94
Registriert: Donnerstag 24. März 2005, 18:25

Re: Movie Player Buffer problem?

Beitrag von ozbodd »

@Tommy I cannot select an entire folder in Movieplayer Play TS? If I do it just opens to show those files then I have to select individually?? There is no Play Folder option that I can see.

@Seife The new code does appear to have fixed that bug, great ;)