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
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
>/ Hi,
/>/
/>/ I have try the patch and now no have error :
/>/
/>/ unknown frame duration (1800), assuming 25 fps
/>/
/>/ But the problem with Video Data Broken stay.
/>/
/>/ Here are the errors with remux.c compile with static bool DebugFrames =
true;
/>/
/>/ in /var/log/messages
/>/
/>/ Apr 19 19:10:15 solo vdr: [6769] Title: 'Sept à huit' Subtitle: '(null)'
/>/ Apr 19 19:10:15 solo vdr: [6769] record
/mnt/sda8/henri/video_vdr/@Sept_à_huit/2009-04-19.19.10.1-0.rec
/
>Hi,
>Klaus Schmidinger schrieb:
>/ This indicates that cFrameDetector::Analyze() doesn't find any frames.
/>/ Take a look at the code beginning at
/>/
/>/ case 0x1B: // MPEG 4 video
/>/ if (scanner == 0x00000109) { // Access Unit
Delimiter
/>/
/>/
/>/ Apparently the scanner never gets to be 0x00000109.
/>/ We'll need to know what condition to use to detect the frames.
/
>>According to spec, AUD is optional. Chapter 7.4.1.2.3 is not too
>>complicated to implement and most often sufficient.
>>For complete support, 7.4.1.2.4 is required too, but more
>>compliated and cannot be implemented without in depth parsing of
>>several H.264 data structures.
>>As vdr-xine doesn't implement the later and seems to work for
>>this kind of stream (see this thread), implementing the former
>>should fix this issue.
>>Bye.
>>--
>>Dipl.-Inform. (FH) Reinhard Nissl
>>mailto:rnissl at gmx.de <http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr>
_______________________________________________
vdr mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr