2008-09-04, 01:38 PM
Hello!
Our DVB-T service provider here broadcasts MPEG2-TS streams consisting of h264 video and mpa audio. GBPVR is able to record it OK and muxing only one channel into .ts file. Fine for recordings, but a little bit not so fine when playing it on PC client(s). Some why when playing back this .ts using PVRX2 UI on Pentium-M 1.4GHz laptop, it consumes about 98% CPU and A/V is going out of sync. But when for example remuxing this .ts into .mkv the CPU load on laptop client is about 50..70% and A/V is in sync.
So, question is, how to remux AVC transport stream into avi/mp4/mkv in real time when gbpvr is still recording the show. I guess that this could be done using parallelprocessing.bat and ffmpeg.exe or mencoder.exe, but there are two issues:
a) how to tell gbpvr that right after it has finished .ts recording from DVB-T (or from IPTV), point to remuxed container in gbpvr db?
b) what would be the right syntax for ffmpeg to remux .ts into another supported container (I haven't figured out this yet, as every try I've made I had some errors concerning some mysterious .ts timing errors)
So, any ideas, any help?
Our DVB-T service provider here broadcasts MPEG2-TS streams consisting of h264 video and mpa audio. GBPVR is able to record it OK and muxing only one channel into .ts file. Fine for recordings, but a little bit not so fine when playing it on PC client(s). Some why when playing back this .ts using PVRX2 UI on Pentium-M 1.4GHz laptop, it consumes about 98% CPU and A/V is going out of sync. But when for example remuxing this .ts into .mkv the CPU load on laptop client is about 50..70% and A/V is in sync.
So, question is, how to remux AVC transport stream into avi/mp4/mkv in real time when gbpvr is still recording the show. I guess that this could be done using parallelprocessing.bat and ffmpeg.exe or mencoder.exe, but there are two issues:
a) how to tell gbpvr that right after it has finished .ts recording from DVB-T (or from IPTV), point to remuxed container in gbpvr db?
b) what would be the right syntax for ffmpeg to remux .ts into another supported container (I haven't figured out this yet, as every try I've made I had some errors concerning some mysterious .ts timing errors)
So, any ideas, any help?

--- GBPVR system ---
Server: homemade (ASUS MB, AMD x2 5200+, 4G RAM, 3.2TB RAID5, 1Gbit) + DVB-T Hauppauge HVR1300 (h264 TS) + IPTV
Clients: ASUS Pundit-R (P4 3.2GHz Northwood!, 1G RAM, zero HDD - netboot, WinLIRC to use Hauppauge remote on system without Hauppauge devices) + IBM ThinkPad T42 (pvr over 802.11g) + FSC N560 WM6 (802.11g) + etc
Server: homemade (ASUS MB, AMD x2 5200+, 4G RAM, 3.2TB RAID5, 1Gbit) + DVB-T Hauppauge HVR1300 (h264 TS) + IPTV
Clients: ASUS Pundit-R (P4 3.2GHz Northwood!, 1G RAM, zero HDD - netboot, WinLIRC to use Hauppauge remote on system without Hauppauge devices) + IBM ThinkPad T42 (pvr over 802.11g) + FSC N560 WM6 (802.11g) + etc
