Hi,
Petri Helin wrote:
Please try the attached patch which adds VPID clipping to some locations.
I can gladly tell you that now there are several "00 00 01" blocks in the sample.ts file. So something has changed to better. But for some reason I am unable to play the sample.ts file. This is what mplayer tells me when I try to replay:
I can play the sample TS file you've sent me with
mplayer -vc ffh264 sample.ts
mplayer incorrectly chose mpeg12 in your case, as it doesn't expect H.264 in the TS's PES packets.
I am now also able to record h.264 encoded programs, just like mpeg2 encoded, and as a result xxx.vdr files are created. But still, i cannot replay them either.
Stock xine-lib-1.1.7 or higher can play those files. You may also want to use vdr-xine-0.7.11 with a patched xine-lib-1.1.8 or stock xine-lib-1.2.
mplayer doesn't expect H.264 in PES files and therefore looks for a MPEG1/2 sequence header.
BTW: Thank you very much for pointing me into the right direction regarding this issue!
NOTE: be aware that FFmpeg doesn't support interlaced streams properly at the moment. It typically crashes after a few frames. In my xine-lib.patch for xine-lib-1.1.8 I've therefore disabled decoding of interlaced frames (more or less properly).
Bye.