Re: [vdr] Transfer mode vs TS playback: any difference in TS streams for vdr.1.7.19?

2011-07-11 Thread Udo Richter
Am 11.07.2011 18:12, schrieb Klaus Schmidinger:
> On 11.07.2011, at 03:21, Laz  wrote:
>> Before I dig into buffers, etc., is there any difference between
>> the streams sent to PlayTS in transfer mode and in playback? I see that
>> transfer mode generates a PAT/PMT on the fly and passes the stream
>> directly to PlayTs.
> 
> In Transfer Mode onlx one single PAT/PMT is generated at the very start of it,
> while a recording contains a PAT/PMT at the beginning of every GOP.

Correct me if I'm wrong, but doesn't transfer mode receive PCR clock
data, while playback is without PCR clock?

Cheers,

Udo

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Transfer mode vs TS playback: any difference in TS streams for vdr.1.7.19?

2011-07-11 Thread Laz
On Monday 11 Jul 2011, Klaus Schmidinger wrote:
> On 11.07.2011, at 03:21, Laz  wrote:
> > Hi,
> > 
> > I'm currently updating the softdevice plugin to work with the changes
> > to TS format that started with vdr-1.7.1 and also current versions
> > of ffmpeg (libavcodec does the actual decoding).
> > 
> > I've made some progress with vdr-1.7.19:
> > 
> > Old PES recordings play fine (as I'd hoped they would!)
> > 
> > New TS recordings play: the video looks fine. PlayTSVideo convertes
> > to PES and passes that to PlayVideo of the output device (I assume
> > it would be relatively straightforward to implement a proper PlayTs
> > using avcodec but that's for a later date!). The sound is totally
> > messed up: just lots of random buzzing noises (not looked into the
> > audio yet).
> > 
> > Tranfer mode does not work at all, all I get is a black screen and
> > silence.
> > 
> > Before I dig into buffers, etc., is there any difference between the
> > streams sent to PlayTS in transfer mode and in playback? I see that
> > transfer mode generates a PAT/PMT on the fly and passes the stream
> > directly to PlayTs.
> > 
> > Does a similar thing happen to a recording, i.e. the PAT/PMT is added
> > before writing to disk and then the stream sent during playback is
> > identical to that which would have been sent if it had been watched
> > in transfer mode? Does the output device ulitimately receive the
> > same set of PES packets?
> 
> In Transfer Mode onlx one single PAT/PMT is generated at the very start
> of it, while a recording contains a PAT/PMT at the beginning of every
> GOP.

Thanks for the quick response!

:-)

In that case, I suspect my problem lies somewhere in the buffering or 
timing.

I will delve further...

Cheers,

Laz
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Transfer mode vs TS playback: any difference in TS streams for vdr.1.7.19?

2011-07-11 Thread Klaus Schmidinger
On 11.07.2011, at 03:21, Laz  wrote:

> 
> Hi,
> 
> I'm currently updating the softdevice plugin to work with the changes to TS 
> format that started with vdr-1.7.1 and also current versions of ffmpeg 
> (libavcodec does the actual decoding).
> 
> I've made some progress with vdr-1.7.19:
> 
> Old PES recordings play fine (as I'd hoped they would!)
> 
> New TS recordings play: the video looks fine. PlayTSVideo convertes to PES 
> and passes that to PlayVideo of the output device (I assume it would be 
> relatively straightforward to implement a proper PlayTs using avcodec but 
> that's for a later date!). The sound is totally messed up: just lots of 
> random buzzing noises (not looked into the audio yet).
> 
> Tranfer mode does not work at all, all I get is a black screen and silence.
> 
> Before I dig into buffers, etc., is there any difference between the streams 
> sent to PlayTS in transfer mode and in playback? I see that transfer mode 
> generates a PAT/PMT on the fly and passes the stream directly to PlayTs.
> 
> Does a similar thing happen to a recording, i.e. the PAT/PMT is added before 
> writing to disk and then the stream sent during playback is identical to that 
> which would have been sent if it had been watched in transfer mode? Does the 
> output device ulitimately receive the same set of PES packets?

In Transfer Mode onlx one single PAT/PMT is generated at the very start of it,
while a recording contains a PAT/PMT at the beginning of every GOP.

Klaus


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] Transfer mode vs TS playback: any difference in TS streams for vdr.1.7.19?

2011-07-11 Thread Laz

Hi,

I'm currently updating the softdevice plugin to work with the changes to 
TS format that started with vdr-1.7.1 and also current versions of ffmpeg 
(libavcodec does the actual decoding).

I've made some progress with vdr-1.7.19:

Old PES recordings play fine (as I'd hoped they would!)

New TS recordings play: the video looks fine. PlayTSVideo convertes to PES 
and passes that to PlayVideo of the output device (I assume it would be 
relatively straightforward to implement a proper PlayTs using avcodec but 
that's for a later date!). The sound is totally messed up: just lots of 
random buzzing noises (not looked into the audio yet).

Tranfer mode does not work at all, all I get is a black screen and 
silence.

Before I dig into buffers, etc., is there any difference between the 
streams sent to PlayTS in transfer mode and in playback? I see that 
transfer mode generates a PAT/PMT on the fly and passes the stream 
directly to PlayTs.

Does a similar thing happen to a recording, i.e. the PAT/PMT is added 
before writing to disk and then the stream sent during playback is 
identical to that which would have been sent if it had been watched in 
transfer mode? Does the output device ulitimately receive the same set of 
PES packets?

Thanks,

Laz
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr