Hi,
using vdr-1.7.1 patched for S2API with vdr-1.7.1-s2api-07102008-vanilla.patch and DVB drivers from yesterday (via: hg clone http://linuxtv.org/hg/v4l-dvb).
I've the following issues (tuned to ZDF): - playing with softdevice there is no video, but audio and subtile work. - dumping the data I got via PlayVideo() to a file neither ffplay nor mplayer can identify stream info from dumped data.
- additional implemented methods PlayTs*() won't get called.
class cSoftDevice : public cDevice { private: cMpeg2Decoder *decoder; cVideoOut *videoOut; cAudioOut *audioOut;
[snip]
public: cSoftDevice(int method, int audioMethod, char *pluginPath); ~cSoftDevice();
[snip]
virtual int PlayVideo(const uchar *Data, int Length); #if VDRVERSNUM >= 10701 virtual int PlayTSVideo(const uchar *Data, int Length); virtual int PlayTSAudio(const uchar *Data, int Length); virtual int PlayTS(const uchar *Data, int Length, bool VideoOnly = false); #endif
On Mon, 24 Nov 2008 14:41:44 +0100, Stefan Lucke wrote
- dumping the data I got via PlayVideo() to a file neither ffplay nor mplayer can identify stream info from dumped data.
Unless I've overlooked some section repacker somewhere, there's a bug in cPatPmtGenerator. I've already sent the attached patch to Klaus, but he didn't have time to look at it yet.
Frank
On Monday 24 November 2008, Frank Schmirler wrote:
On Mon, 24 Nov 2008 14:41:44 +0100, Stefan Lucke wrote
- dumping the data I got via PlayVideo() to a file neither ffplay nor mplayer can identify stream info from dumped data.
Unless I've overlooked some section repacker somewhere, there's a bug in cPatPmtGenerator. I've already sent the attached patch to Klaus, but he didn't have time to look at it yet.
Thanks,
but things went worse with that on my system: audio disappeared and nothing more to dump in PlayVideo() :-( .
On Mon, 24 Nov 2008 17:42:28 +0100, Stefan Lucke wrote
On Monday 24 November 2008, Frank Schmirler wrote:
Unless I've overlooked some section repacker somewhere, there's a bug in cPatPmtGenerator. I've already sent the attached patch to Klaus, but he didn't have time to look at it yet.
Thanks,
but things went worse with that on my system: audio disappeared and nothing more to dump in PlayVideo() :-( .
Problem seems to be that my patch fixes the generator, but the same mistake is made while parsing the TS packet. I attached an extended patch which fixes parsing, too.
According to the dumps you sent me (thanks!), vdr-1.7.1 cPatPmtGenerator *is* broken.
Frank
On Tuesday 25 November 2008, Frank Schmirler wrote:
On Mon, 24 Nov 2008 17:42:28 +0100, Stefan Lucke wrote
On Monday 24 November 2008, Frank Schmirler wrote:
Unless I've overlooked some section repacker somewhere, there's a bug in cPatPmtGenerator. I've already sent the attached patch to Klaus, but he didn't have time to look at it yet.
Thanks,
but things went worse with that on my system: audio disappeared and nothing more to dump in PlayVideo() :-( .
Problem seems to be that my patch fixes the generator, but the same mistake is made while parsing the TS packet. I attached an extended patch which fixes parsing, too.
According to the dumps you sent me (thanks!), vdr-1.7.1 cPatPmtGenerator *is* broken.
Sorry, but this version does not help much.
Without patch ffplay & mplayer can play dumped TS packets. With patch mplayer plays fine whereas ffplay only plays audio (no video), and softdevice only has some audible clicks.
My main concern is that softdevice PlayTs*() never gets called and while writing these lines, I found the typo PlayTS vs PlayTs.
On Monday 24 November 2008, Stefan Lucke wrote:
Hi,
using vdr-1.7.1 patched for S2API with vdr-1.7.1-s2api-07102008-vanilla.patch and DVB drivers from yesterday (via: hg clone http://linuxtv.org/hg/v4l-dvb).
I've the following issues (tuned to ZDF):
- playing with softdevice there is no video, but audio and subtile work.
- dumping the data I got via PlayVideo() to a file neither ffplay nor mplayer can identify stream info from dumped data.
But Xine can play PES dumped via PlayVideo(). There are a few visible decoding errors. whereas Xine has no problems decoding the TS stream dumped at the same time. If some with TS/PES stream knowledge wants to look at:
http://www.lucke.in-berlin.de/test_streams/
vdr-171.zz.PES vdr-171.zzz.TS
On Friday 28 November 2008, Stefan Lucke wrote:
On Monday 24 November 2008, Stefan Lucke wrote:
Hi,
using vdr-1.7.1 patched for S2API with vdr-1.7.1-s2api-07102008-vanilla.patch and DVB drivers from yesterday (via: hg clone http://linuxtv.org/hg/v4l-dvb).
I've the following issues (tuned to ZDF):
- playing with softdevice there is no video, but audio and subtile work.
- dumping the data I got via PlayVideo() to a file neither ffplay nor mplayer can identify stream info from dumped data.
But Xine can play PES dumped via PlayVideo(). There are a few visible decoding errors. whereas Xine has no problems decoding the TS stream dumped at the same time.
Next test with vdr extensions patch64 (+ ext_h264 + s2api_v2): Enabling and activating livebuffer via OSD brings video stream back ;-) .
If some with TS/PES stream knowledge wants to look at:
http://www.lucke.in-berlin.de/test_streams/
vdr-171.zz.PES vdr-171.zzz.TS