public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Frederic CAND <frederic.cand@anevia.com>
To: Nico Sabbi <Nicola.Sabbi@poste.it>
Cc: linux-dvb@linuxtv.org
Subject: Re: [linux-dvb] Where I can get the open sofware to play TS file?
Date: Tue, 29 Jul 2008 18:11:33 +0200	[thread overview]
Message-ID: <488F4135.1070505@anevia.com> (raw)
In-Reply-To: <200807291516.38452.Nicola.Sabbi@poste.it>

Nico Sabbi a écrit :
> On Tuesday 29 July 2008 15:01:39 Markus Rechberger wrote:
>> On Tue, Jul 29, 2008 at 2:38 PM, loody <miloody@gmail.com> wrote:
>>> Dear all:
>>> I study 13818-1 recently, but I cannot understand the whole flow
>>> of PCR, PTS and DTS.
>>> 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.
>> you could use mplayer.
> 
> it's the most messy player around and also the least academical ;)
> ffmpeg is much cleaner, but it doesn't expose how to use
> PCR wrt to DTS and PTS. 
> To make it short: you can consider the PCR your "wallclock",
> the DTS and the PTS are then timestamps when you should
> begin to decode and display, respectively.
> In a stream the DTS and PTS are always > PCR, thus you
> have to buffer packets (PES payloads) and dispatch each packet whose
> [PD]TS is <= last PCR seen to the respective decoder/player
> 

Btw if vlc can't play a TS file then there's a problem in your computer 
since I've been using it for a very long time and it works perfectly 
fine to me (able to read a full TS from DVB-S, Demux it, presents the 
list of the services within the stream on the top menu, a.s.o.)

-- 
CAND Frederic
Product Manager
ANEVIA

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

  reply	other threads:[~2008-07-29 16:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-29 12:38 [linux-dvb] Where I can get the open sofware to play TS file? loody
2008-07-29 13:01 ` Markus Rechberger
2008-07-29 13:16   ` Nico Sabbi
2008-07-29 16:11     ` Frederic CAND [this message]
2008-07-30  2:14     ` hermann pitton
     [not found] <mailman.5.1217347135.25488.linux-dvb@linuxtv.org>
2008-07-29 21:10 ` Andrea Venturi
2008-07-30  3:51   ` loody

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=488F4135.1070505@anevia.com \
    --to=frederic.cand@anevia.com \
    --cc=Nicola.Sabbi@poste.it \
    --cc=linux-dvb@linuxtv.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox