Re: Record with 1.7.4 or 1.7.5 and iptv

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 26.04.2009 11:48, Senufo wrote:
> Hi,
> 
> I have try to understand how work remux.c with the steam and when I add
> in remux.c after
> 
> for (int i = PayloadOffset; scanning && i < TS_SIZE; i++) {
>                   scanner <<= 8;
>                   scanner |= Data[i];
> line 770 : dbgframes("type = %02X, scanner = %10X \n", type, scanner);
> 
> I have this output :
> type = 02, scanner =          0
> type = 02, scanner =          0
> type = 02, scanner =          0
> type = 02, scanner =          1
> type = 02, scanner =        109

This looks like the "Access Unit Delimiter" code.

Please try to force 'type' to 0x1B, for instance by putting

  type = 0x1B;

right before the

  switch (type) {

line. Does it work then?

Klaus

> type = 02, scanner =      10950
> type = 02, scanner =    1095000
> type = 02, scanner =    9500000
> type = 02, scanner =   50000000
> type = 02, scanner =          1
> type = 02, scanner =        106
> type = 02, scanner =      10600
> type = 02, scanner =    1060001
> type = 02, scanner =    60001C0
> type = 02, scanner =      1C080
> type = 02, scanner =    1C08000
> type = 02, scanner =   C0800000                         
> type = 02, scanner =   80000000                         
> type = 02, scanner =          1                         
> type = 02, scanner =        106                         
> type = 02, scanner =      10601                         
> type = 02, scanner =    1060101                         
> type = 02, scanner =    6010114                         
> type = 02, scanner =    1011480                         
> type = 02, scanner =    1148000                         
> type = 02, scanner =   14800000                         
> type = 02, scanner =   80000000                         
> type = 02, scanner =          1                         
> type = 02, scanner =        121                         
> type = 02, scanner =      121AA                         
> type = 02, scanner =    121AA0A                         
> type = 02, scanner =   21AA0A71                         
> type = 02, scanner =   AA0A716A                         
> type = 02, scanner =    A716A51                         
> type = 02, scanner =   716A5111                         
> type = 02, scanner =   6A511177                         
> type = 02, scanner =   511177FF                         
> type = 02, scanner =   1177FFA0                         
> type = 02, scanner =   77FFA034                         
> type = 02, scanner =   FFA0344A                         
> type = 02, scanner =   A0344A2A                         
> type = 02, scanner =   344A2A4A                         
> type = 02, scanner =   4A2A4AC0      
> ...
> 
> Never stream with type 0x1B
> 
> 
> When I play stream with mplayer as : mplayer rtp://@232.0.1.17:8200 I
> have this output
> 
> TS file format detected.              
> Stream not seekable!                  
> VIDEO H264(pid=1217) AUDIO MPA(pid=1317) NO SUBS (yet)!  PROGRAM N. 1017
> Stream not seekable!                                                   
> FPS seems to be: 25.000000                                             
> ==========================================================================
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family         
> Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)                
> ==========================================================================
> ==========================================================================
> Trying to force audio codec driver family libmad...                      
> Opening audio decoder: [libmad] libmad mpeg audio decoder                
> AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)    
> Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)        
> ==========================================================================
> 
> Is this is the mpeg2 streams with H264 codec ?
> How to identify this stream ?
> 
> Thanks for you help.
> 
> 
> Regards
> 
> Senufo

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

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux