Record with 1.7.4 or 1.7.5 and iptv

Message ID 49E9EF65.2050901@cadsoft.de
State New
Headers

Commit Message

Klaus Schmidinger April 18, 2009, 3:19 p.m. UTC
  On 17.04.2009 11:34, Fce.Valeins wrote:
> Hi,
> 
> With the new version of VDR (1.7.4 or 1.7.5), iptv 0.2.6 and xine 0.9.0 
> I can view H264 stream for my French DSL box (Livebox).
> But when I try to record stream H264 I have file when 0 size and these 
> errors :
> 
> Apr 16 18:44:33 solo vdr: [29408] timer 5 (9 1844-2144 '@TITLE EPISODE') 
> start
> Apr 16 18:44:33 solo vdr: [29408] Title: 'Zombie h?tel' Subtitle: 'Mode 
> ? mort'
> Apr 16 18:44:33 solo vdr: [29408] record 
> /mnt/sda8/henri/video_vdr/@Zombie_h?tel_Mode_?_mort/2009-04-16.18.44.9-0.rec 
> 
> Apr 16 18:44:33 solo vdr: [29408] creating directory 
> /mnt/sda8/henri/video_vdr/@Zombie_h?tel_Mode_?_mort
> Apr 16 18:44:33 solo vdr: [29408] creating directory 
> /mnt/sda8/henri/video_vdr/@Zombie_h?tel_Mode_?_mort/2009-04-16.18.44.9-0.rec 
> 
> Apr 16 18:44:33 solo vdr: [29408] recording to 
> '/mnt/sda8/henri/video_vdr/@Zombie_h?tel_Mode_?_mort/2009-04-16.18.44.9-0.rec/00001.ts' 
> 
> Apr 16 18:44:33 solo vdr: [29448] recording thread started (pid=29408, 
> tid=29448)
> Apr 16 18:44:33 solo vdr: [29408] info: L'enregistrement a commenc
> Apr 16 18:44:33 solo vdr: [29446] TS continuity error (15)
> Apr 16 18:44:33 solo vdr: [29446] TS continuity error (15)
> Apr 16 18:44:33 solo vdr: [29446] PES packet shortened to 2208 bytes 
> (expected: 2944 bytes)
> Apr 16 18:44:33 solo vdr: [29446] cAudioRepacker(0xC0): skipped 32 bytes 
> to sync on next audio frame
> Apr 16 18:44:34 solo vdr: [29415] changing pids of channel 39 from 
> 0+0=2:0:0:0 to 1210+1210=27:1310=fra:0:0
> Apr 16 18:44:36 solo vdr: [29448] unknown frame duration (1800), 
> assuming 25 fps

At least for this "unknown frame duration" thing you could try the
following patch:



> Apr 16 18:45:04 solo vdr: [29448] ERROR: video data stream broken

I'm afraid I don't know why the video data stream is broken.
You could try compiling remux.c with


static bool DebugFrames = true;


and post the debug info written to the console.

Klaus
  

Patch

--- remux.c     2009/04/05 14:07:48     2.17
+++ remux.c     2009/04/18 14:53:42
@@ -732,6 +732,10 @@ 
                           frameDuration = 3600; // PAL, 25 fps
                        else if (Delta % 3003 == 0)
                           frameDuration = 3003; // NTSC, 29.97 fps
+                       else if (Delta == 1800) {
+                          frameDuration = 3600; // PAL, 25 fps
+                          framesPerPayloadUnit = -2;
+                          }
                        else if (Delta == 1501) {
                           frameDuration = 3003; // NTSC, 29.97 fps
                           framesPerPayloadUnit = -2;