Skip to contentSkip to conversation

Where I can get the open sofware to play TS file?

linux-dvb Andrea Venturi 2 participants 2 messages Jul 29, 2008 – Jul 30, 2008 1 message not in the archive Media (V4L/DVB)

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

[sorry if i break the thread but i read this list in a digest form..]

Quoted 10 lines

Subject:
[linux-dvb] Where I can get the open sofware to play TS file? From:
loody <[email protected]>
Date:
Tue, 29 Jul 2008 20:38:33 +0800
To:
[email protected]

Quoted 8 lines

To:
[email protected]

Dear all:
I study 13818-1 recently, but I cannot understand the whole flow of PCR, PTS and DTS.

as nico already told you, this PCR is the "tick" information that sync remote decoders to the clock inside the source (the TS player).

then, DTS and PTS are timestamps on every frames with which the decoder decide when decode or present each single frame.
the tough problem is that in a "real decoder" (aka cheap, crappy or whatever..) you have though constraints on the buffer so you need to act quickly otherwise you'll occur in underrun and overrun of these buffers, i.e. artifacts (blocking freeze) on the screen.. (it depends on the concealment techniques implemented..)

if you play a Ts in a "fatty" PC, with huge buffers, you don't mind to be so picky in the PCR recovery so VLC and MPLAYER don't need to cope so much to give a reasonable quality (albeit latency increases).

if you want, you can get some interesting tools to study PCR creation and test something, multiplexing remultiplexing, on real TS (if you can get them from the air..).

i work in Avalpa, a company developing a free (GPL) software toolbox for digital television management, OpenCaster (formerly JustDvb-It), you can get it here:

http://www.avalpa.com/component/content/article/12-newsflash/35-opencaster-ver10-release-today-2062008

this toolbox is composed of something like 10 different basic utitilities.
putting them together, you cold achieve a great number of services for (interactive) digital television..

you should focus on "tsstamp" and "tspcmeasure", these are related to PCR.

hope that helps. let me know if you have more questions.

bye

andrea venturi

Quoted 8 lines

Would someone please tell me where I can get any open TS-player or part of source code which can help me to figure this part out? ps:I have check ffmpeg and vcl, and both of them seem cannot play TS directly.

appreciate your help,
miloody

begin:vcard
fn:Andrea Venturi
n:;Andrea Venturi
org:Avalpa Digital Engineering SRL adr;dom:;;Via dell'Arcoveggio 49/5;Bologna;BO;40129 email;internet:[email protected] title:CEO
tel;work:+39 0514187531
tel;cell:+39 3477142994
url:www.avalpa.com
version:2.1
end:vcard

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#2 lore raw

2008/7/30 Andrea Venturi <[email protected]>:

Quoted 16 lines

[sorry if i break the thread but i read this list in a digest form..]

Quoted 14 lines

Subject:
[linux-dvb] Where I can get the open sofware to play TS file? From:
loody <[email protected]>
Date:
Tue, 29 Jul 2008 20:38:33 +0800
To:
[email protected]

To:
[email protected]

Quoted 7 lines
Quoted 4 lines

Dear all:
I study 13818-1 recently, but I cannot understand the whole flow of PCR, PTS and DTS.

as nico already told you, this PCR is the "tick" information that sync remote decoders to the clock inside the source (the TS player).

if I interpret the spec wrong, please let me know.
1. From spec 2.4.2.2. It seems we have to calculate our own pcr value.
2. if above is true, equ 2-1 ~ equ 2-5 seems used to explain how decoder get his own pcr.
3. if 2 is true, what will be our next step,when we finish get our own pcr(i), where i is the offset respect to previous incoming pcr TS package, PCR(i'')
I roughly draw the picture below:

PCR TS(i'') ------- video ------ audio ------ video ------ PCR TS(i')

              ^--------------------^ pass by i bytes and PCR(i) is

obtained from spec.

4. how does encoder generate pcr packages?
Does it just put the 24Mhz clock value on the TS pcr package? if it so, why he needs to divide 300?

appreciate your kind help,
miloody

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb