[Bug 381] New: Xine doesn't handle large A-V PTS differences (as in some broadcasts) correctly

View: New views
5 Messages — Rating Filter:   Alert me  

[Bug 381] New: Xine doesn't handle large A-V PTS differences (as in some broadcasts) correctly

by Bugzilla from bugzilla-daemon@xine-project.org :: Rate this Message:

| View Threaded | Show Only this Message

http://bugs.xine-project.org/show_bug.cgi?id=381

           Summary: Xine doesn't handle large A-V PTS differences (as in
                    some broadcasts) correctly
           Product: xine-lib
           Version: 1.1.19
          Platform: AMD64/x86-64
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: Core / Backend
        AssignedTo: xine-bugs@...
        ReportedBy: mhej@...


Created an attachment (id=235)
 --> (http://bugs.xine-project.org/attachment.cgi?id=235)
PCR, PTS/DTS of video stream, and PTS of audio stream (where prefixed with
"AUDIO")

Some of DVB-T broadcasts with H.264 video (like these in Poland) have a large
difference between audio and video timestamps. In this case they are about 3
seconds.
When provided with stream (or file) of packets with that kind of difference
Xine plays it like a slideshow (with cutting audio or no audio at all).
Mplayer also has problems with default demuxer, however when used with -demuxer
lavf and -mc 4 (for max 4 second A-V difference) it plays the stream correctly.

When I applied a rather crude patch to substract about 3 seconds from video PTS
and DTS the stream play smoothly (of course with a 3 second difference between
what is on screen and what is on audio track).
This practically means that using xine here to view DVB-T channels or
vdr-xineliboutput is impossible.

Setting video and audio buffers to insanely high values (like 5000) and
video_num_frames to 200 also doesn't help.

--
Configure bugmail: http://bugs.xine-project.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.


------------------------------------------------------------------------------
This SF.net email is sponsored by

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
xine-bugs mailing list
xine-bugs@...
https://lists.sourceforge.net/lists/listinfo/xine-bugs

[Bug 381] Xine doesn't handle large A-V PTS differences (as in some broadcasts) correctly

by Bugzilla from bugzilla-daemon@xine-project.org :: Rate this Message:

| View Threaded | Show Only this Message

http://bugs.xine-project.org/show_bug.cgi?id=381





--- Comment #1 from Maciej Szmigiero <mhej@...>  2010-08-09 22:06:34 UTC ---
Sample file (used to generate the previous attachement with PCR, DTS and PTS
values): http://www.sendspace.com/file/9hswhx

--
Configure bugmail: http://bugs.xine-project.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.


------------------------------------------------------------------------------
This SF.net email is sponsored by

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
xine-bugs mailing list
xine-bugs@...
https://lists.sourceforge.net/lists/listinfo/xine-bugs

[Bug 381] Xine doesn't handle large A-V PTS differences (as in some broadcasts) correctly

by Bugzilla from bugzilla-daemon@xine-project.org :: Rate this Message:

| View Threaded | Show Only this Message

https://bugs.xine-project.org/show_bug.cgi?id=381

Petri Hintukainen <phi@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |phi@...

--- Comment #2 from Petri Hintukainen <phi@...> 2012-06-06 08:50:57 CEST ---
I think this could be fixed by increasing WRAP_THRESHOLD in demuxer. Currently
it is 270000 (3 seconds).

Unfortunately the sample file is not available anymore ...

--
Configure bugmail: https://bugs.xine-project.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
xine-bugs mailing list
xine-bugs@...
https://lists.sourceforge.net/lists/listinfo/xine-bugs

[Bug 381] Xine doesn't handle large A-V PTS differences (as in some broadcasts) correctly

by Bugzilla from bugzilla-daemon@xine-project.org :: Rate this Message:

| View Threaded | Show Only this Message

https://bugs.xine-project.org/show_bug.cgi?id=381

--- Comment #3 from Maciej Szmigiero <mhej@...> 2012-06-07 13:29:30 CEST ---
I've reuploaded the sample file at http://www.sendspace.com/file/pc8960 .

I will check in the coming weeks (as soon as I have some spare time) how the
current xine version play this and whether the current broadcasts still
contains such large A-V PTS difference.

--
Configure bugmail: https://bugs.xine-project.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
xine-bugs mailing list
xine-bugs@...
https://lists.sourceforge.net/lists/listinfo/xine-bugs

[Bug 381] Xine doesn't handle large A-V PTS differences (as in some broadcasts) correctly

by Bugzilla from bugzilla-daemon@xine-project.org :: Rate this Message:

| View Threaded | Show Only this Message

https://bugs.xine-project.org/show_bug.cgi?id=381

Petri Hintukainen <phi@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Petri Hintukainen <phi@...> 2012-06-08 08:59:50 CEST ---
Sample plays fine here (1.2.1-hg), but there are lot of discontinuities.
Increasing WRAP_THRESHOLD to 360000 (4 seconds) fixes those.
Maybe specs limit the difference to 3 seconds but assume comparing to SCR etc.

I've increased the value in xine-lib mpeg-ts demuxer and xineliboutput.
mpeg-pes demuxer might also need this fix if someone uses H.264-patched vdr
1.6.0 to record this kind of H.264 streams ...

--
Configure bugmail: https://bugs.xine-project.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
xine-bugs mailing list
xine-bugs@...
https://lists.sourceforge.net/lists/listinfo/xine-bugs