Re: Small VDR-streamdev patch for Popcorn Hour NMT

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

 



> Thanks - I patched my streamdev with that patch and I'll test it after I get
> access to my PCH.. 

> I hope when PCH finds PAT has some patience to read stream for particular
> PMT.

This is after the first patch..

ffprobe and mediainfo recognizes the streams totally different. Ffprobe says 
MPEG1video and mediainfo AVC. Also note that mediainfo says No PAT/PMT..

# mplayer C-0-13-3805.ts 
MPlayer dev-SVN-r26753-4.1.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 3, Stepping: 4)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Warning unknown option threads at line 10
mplayer: could not open config files /root/.lircrc and /etc/lircrc
mplayer: No such file or directory
Failed to read LIRC config file ~/.lircrc.

Playing C-0-13-3805.ts.
TS file format detected.
VIDEO MPEG2(pid=514) AUDIO MPA(pid=648) NO SUBS (yet)!  PROGRAM N. 0
TS_PARSE: COULDN'T SYNC
MPEG: FATAL: EOF while searching for sequence header.
Video: Cannot read properties.



# ffprobe -show_streams C-0-13-3805.ts 
FFprobe version SVN-r53, Copyright (c) 2007-2008 Stefano Sabatini
  libavutil version: 49.6.0
  libavcodec version: 51.53.0
  libavformat version: 52.12.0
  built on Nov 12 2008 15:57:32, gcc: 4.1.2 (Gentoo 4.1.2 p1.0.2)
Input #0, mpegts, from 'C-0-13-3805.ts':
  Duration: 00:00:27.3, start: 60871.262611, bitrate: 17210 kb/s
    Stream #0.0[0x288]: Audio: mp2, 48000 Hz, stereo, 256 kb/s
    Stream #0.1[0x289]: Audio: liba52, 48000 Hz, 5:1, 384 kb/s
    Stream #0.2[0x202]: Video: mpeg1video, 90000.00 tb(r)
    Stream #0.3[0x25d]: Audio: liba52
No accelerated IMDCT transform found
No accelerated IMDCT transform found
[STREAM]
codec_name=mp2
decoder_time_base=0/1
codec_type=audio
sample_rate=48000.000000 
channels=2
bits_per_sample=0
index=0
time_base=1/90000
start_time=60871.262611 
duration=N/A
nb_frames=0
[/STREAM]
[STREAM]
codec_name=liba52
decoder_time_base=0/1
codec_type=audio
sample_rate=48000.000000 
channels=6
bits_per_sample=0
index=1
time_base=1/90000
start_time=60871.369689 
duration=27.264000 
nb_frames=0
[/STREAM]
[STREAM]
codec_name=mpeg1video
decoder_time_base=0/1
codec_type=video
r_frame_rate=90000.000000
r_frame_rate_num=90000
r_frame_rate_den=1
width=0
height=0
gop_size=12
has_b_frames=0
sample_aspect_ratio=0/1
display_aspect_ratio=0/0
pix_fmt=???
index=2
time_base=1/90000
start_time=60871.262611 
duration=27.371078 
nb_frames=0
[/STREAM]
[STREAM]
codec_name=liba52
decoder_time_base=0/1
codec_type=audio
sample_rate=0.000000 
channels=0
bits_per_sample=0
index=3
time_base=1/90000
start_time=60871.262611 
duration=27.371078 
nb_frames=0
[/STREAM]

------------

# mediainfo C-0-13-3805.ts 
General
Complete name                    : C-0-13-3805.ts
Format                           : MPEG-TS
Format profile                   : No PAT/PMT
File size                        : 56.2 MiB
Duration                         : 27s 440ms
Overall bit rate                 : 17.2 Mbps

Video
ID                               : 514 (0x202)
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@xxxx
Format settings, CABAC           : Yes
Format settings, ReFrames        : 2 frames
Duration                         : 27s 440ms
Bit rate                         : 15.8 Mbps
Width                            : 1 920 pixels
Height                           : 1 088 pixels
Display aspect ratio             : 16/9
Frame rate                       : 25.000 fps
Resolution                       : 24 bits
Colorimetry                      : 4:2:0
Scan type                        : Progressive

Audio #1
ID                               : 648 (0x288)
Format                           : MPEG Audio
Format version                   : Version 1
Format profile                   : Layer 2
Bit rate mode                    : Constant
Bit rate                         : 256 Kbps
Channel(s)                       : 2 channels
Sampling rate                    : 48.0 KHz
Resolution                       : 16 bits
Video delay                      : -383ms

Audio #2
ID                               : 649 (0x289)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Bit rate mode                    : Constant
Bit rate                         : 384 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Surround: L R, LFE
Sampling rate                    : 48.0 KHz
Video delay                      : -276ms

Hexdump start of the file

dvbsnoop V1.4.50 -- http://dvbsnoop.sourceforge.net/ 

------------------------------------------------------------
SECT-Packet: 00000001   PID: (Unkown PID), Length: 517 (0x0205)
from file: C-0-13-3805.ts
------------------------------------------------------------
  0000:  47 02 02 12 83 48 76 3b  f3 dc 0e f2 5b 00 16 a9   G....Hv;....[...
  0010:  17 bb 55 e6 bf 72 98 56  3a 43 a9 e7 26 3f 03 71   ..U..r.V:C..&?.q
  0020:  08 49 8b e7 b5 db c6 1e  8e fa 86 5e ea ca 5b e0   .I.........^..[.
  0030:  0c e8 b6 7b da 0a 39 a1  99 e6 29 bf 7d f4 14 e7   ...{..9...).}...
  0040:  31 7e 8c 8c a8 f5 6a cd  d2 36 20 7f 45 a5 90 fd   1~....j..6 .E...
  0050:  b0 95 de da 75 0e 8c 5a  ff a8 39 65 2b a7 28 ba   ....u..Z..9e+.(.
  0060:  d2 49 6a 8c 51 ee 72 08  16 0d 60 fb 5d 12 b4 54   .Ij.Q.r...`.]..T
  0070:  66 0d 6f dc 71 0d cd 51  6c 8d bc 89 e9 6c 25 58   f.o.q..Ql....l%X
  0080:  0f bb 92 04 d0 18 4c 96  e2 bb 53 14 cb 91 9c 88   ......L...S.....
  0090:  ee 6d 5f 30 7a f2 24 f9  8b a2 00 13 08 31 80 1b   .m_0z.$......1..
  00a0:  cb 85 da c2 a1 fe c9 69  2e 34 e8 85 cd 31 1f 37   .......i.4...1.7
  00b0:  7b cf ee f1 7b 30 b4 a8  98 fd 43 50 47 02 02 13   {...{0....CPG...
  00c0:  e7 12 ce 7b 4d e1 f5 9c  e7 50 09 1e 31 9d fc 1c   ...{M....P..1...
  00d0:  d0 90 c9 c6 66 01 7f 20  70 9e 02 a2 1d 4f 78 34   ....f.. p....Ox4
  00e0:  a2 78 2a 56 bd a1 5b eb  09 6a 22 bc 7d 00 6d c7   .x*V..[..j".}.m.
  00f0:  05 3b bb c7 57 33 2a 4c  64 d4 f8 81 ab 34 42 d8   .;..W3*Ld....4B.
  0100:  c4 08 b4 1c 7e 68 cf 04  2b c5 f9 3f 4d 62 8a dc   ....~h..+..?Mb..
  0110:  2f b8 04 56 d4 1f 77 ea  23 d2 ad 42 f8 a4 f8 19   /..V..w.#..B....
  0120:  c0 01 07 6f e5 7b 51 81  d5 4c 6d c4 18 d7 87 a8   ...o.{Q..Lm.....
  0130:  47 bd b2 14 17 be 62 5d  87 e9 0f 3d 91 61 43 ce   G.....b]...=.aC.
  0140:  57 c6 e9 b2 1f 5f 5e 60  eb 0c e4 f3 a7 48 96 a3   W...._^`.....H..
  0150:  d8 db 65 ea d6 ac ee f8  40 9e 7d 32 d4 65 ec e2   ..e.....@.}2.e..
  0160:  13 58 ab e6 d9 54 1f 62  7e d6 10 56 15 d6 97 c2   .X...T.b~..V....
  0170:  69 7a 77 72 39 c8 c9 b9  47 02 02 14 7d 89 ba f8   izwr9...G...}...
  0180:  cf e1 94 3f b3 b5 44 13  5b 90 3b 9c 8a 09 a6 ad   ...?..D.[.;.....
  0190:  61 95 5b c8 69 90 5f e9  f3 df 87 54 1c 66 46 8d   a.[.i._....T.fF.
  01a0:  22 3a 17 80 f5 d3 de 01  7e 0f d3 63 b2 1d 5c 44   ":......~..c..\D
  01b0:  dc 5d 4f c9 b5 a4 a8 20  f5 d9 bc 31 0f c0 79 82   .]O.... ...1..y.
  01c0:  9d cb a7 1a 33 c0 39 8d  99 9d c0 dc 7a df d4 da   ....3.9.....z...
  01d0:  e2 4f 14 7e a8 a3 40 99  ce 0e 02 50 bb 34 10 d2   .O.~..@....P.4..
  01e0:  e6 52 01 c5 96 99 b5 7a  20 5d 1b 49 00 e2 02 66   .R.....z ].I...f
  01f0:  d3 07 3d 19 ab 3f b0 85  f3 a8 18 ac 21 4f a2 05   ..=..?......!O..
  0200:  d7 d0 86 2a b8                                     ...*.

<<winmail.dat>>

_______________________________________________
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