Re: [vdr] mplayer-plugin can't play h264 .ts file

2007-07-26 Thread Juri Haberland
Igor [EMAIL PROTECTED] wrote:
 http://bugzilla.mplayerhq.hu/show_bug.cgi?id=867
 
 here is answer from MPlayer's developper
 
 ===
 Huh? Why did you put that in the summary, it doesn't even appear anywhere in
 the output you pasted (and it is irrelevant to the problem anyway).
 MPEG-TS container does not specify the the resolution, since -identify relies
 on container info it can't give you the width and height.
 So I can see no real bug here, you could at most add a feature request to make
 -identify also print the resolution the decoder detects.
 ===
 
 what do you think about this answer ?

Well, besides the fact, that it is a bit harsh, I must admit I didn't
know that.

By the way: why *are* you trying to play a transport stream with the
vdr/mplayer combination?

Cheers,
Juri

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


Re: [vdr] mplayer-plugin can't play h264 .ts file

2007-07-16 Thread Igor
 You should try to run 'mplayer -identify -frames 0 /your/h264-video.ts'
 and look for ID_VIDEO_WIDTH and ID_VIDEO_HEIGHT. If you can't find this
 output or if it is 0, try it once again with '-frames 10'. If this still
 doesn't show the desired output, please take it to the mplayer
 developers at mplayerhq.hu. But if '-frames 10' (or any other value)
 gives you a reasonable output, please report it back to me.


yes, you are right - I will report to mplayer's developpers
because

ID_FILENAME=/data/mplayer/video/1muz.ts
ID_DEMUXER=mpegts
ID_VIDEO_FORMAT=0x1005
ID_VIDEO_BITRATE=0

ID_VIDEO_WIDTH=0
ID_VIDEO_HEIGHT=0

ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=0.
ID_AUDIO_FORMAT=80
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_LENGTH=0.00




arvdr:~#  /usr/bin/mplayer_svn -vo mpegpes -ao mpegpes -nolirc -identify 
-frames 10 -msglevel
all=6 /data/mplayer/video/1muz.ts

MPlayer dev-SVN-r23741-4.1.2 (C) 2000-2007 MPlayer Team
CPU: AMD Sempron(tm) Processor 2800+ (Family: 15, Model: 44, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
get_path('codecs.conf') - '/root/.mplayer/codecs.conf'
Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': No 
such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open 
'/usr/local/etc/mplayer/codecs.conf': No such file
or directory Using built-in default codecs.conf.
Configuration: --enable-runtime-cpudetection --enable-largefiles --enable-menu 
--enable-dvb
CommandLine: '-vo' 'mpegpes' '-ao' 'mpegpes' '-nolirc' '-identify' '-frames' 
'10' '-msglevel' 'all=6'
'/data/mplayer/video/1muz.ts' init_freetype
get_path('font/font.desc') - '/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') - '/root/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') - '/root/.mplayer/input.conf'
Can't open input config file /root/.mplayer/input.conf: No such file or 
directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or 
directory
Falling back on default (hardcoded) input config
get_path('1muz.ts.conf') - '/root/.mplayer/1muz.ts.conf'

Playing /data/mplayer/video/1muz.ts.
get_path('sub/') - '/root/.mplayer/sub/'
[file] File size is 5831008 bytes
STREAM: [file] /data/mplayer/video/1muz.ts
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename /data/mplayer/video/1muz.ts ext: .ts
LAVF_check: MPEG2 transport stream format
Checking for Nullsoft Streaming Video
Checking for MOV
Checking for VIVO
header block 1 size: 64
AVS: avs_check_file - attempting to open file /data/mplayer/video/1muz.ts
AVS: File is too big, aborting...
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 0, FOUND 47, packet_size= 188, SEEMS A TS? 1
GOOD CC: 31, BAD CC: 0
TS file format detected.
DEMUX OPEN, AUDIO_ID: -1, VIDEO_ID: -1, SUBTITLE_ID: -2,
Checking for MPEG-TS...
TRIED UP TO POSITION 0, FOUND 47, packet_size= 188, SEEMS A TS? 1
GOOD CC: 31, BAD CC: 0
PROBING UP TO 0, PROG: 0
COLLECT_SECTION, start: 64, size: 184, collected: 0
SKIP: 0+1, TID: 0, TLEN: 13, COLLECTED: 184
PARSE_PAT: section_len: 13, section 0/0
PROG: 18 (1-th of 1), PMT: 278
COLLECT_SECTION, start: 64, size: 184, collected: 0
SKIP: 0+1, TID: 2, TLEN: 46, COLLECTED: 184
FILL_PMT(prog=18), PMT_len: 184, IS_START: 64, TS_PID: 278, SIZE=184, M=0, 
ES_CNT=0, IDX=0, PMT_PTR=0x8b29ab0
...descr id: 0x11, len=1
...descr id: 0x28, len=4
...descr id: 0x2a, len=7
PARSE_PMT(18 INDEX 0), STREAM: 0, FOUND pid=0x21a (538), type=0x1005, 
ES_DESCR_LENGTH: 18, bytes left: 10
PARSE_PMT(18 INDEX 1), STREAM: 1, FOUND pid=0x2d5 (725), type=0x50, 
ES_DESCR_LENGTH: 0, bytes left: 5
PARSE_PMT(18 INDEX 2), STREAM: 2, FOUND pid=0x256 (598), type=0x, 
ES_DESCR_LENGTH: 0, bytes left: 0

ID_VIDEO_ID=538
ID_VIDEO_ID=538
ID_VIDEO_ID=538
ID_VIDEO_ID=538

ID_AUDIO_ID=725
COLLECT_SECTION, start: 64, size: 184, collected: 184
SKIP: 0+1, TID: 0, TLEN: 13, COLLECTED: 184
PARSE_PAT: section_len: 13, section 0/0
PROG: 18 (1-th of 1), PMT: 278
COLLECT_SECTION, start: 64, size: 184, collected: 184
SKIP: 0+1, TID: 2, TLEN: 46, COLLECTED: 184
FILL_PMT(prog=18), PMT_len: 184, IS_START: 64, TS_PID: 278, SIZE=184, M=0, 
ES_CNT=3, IDX=0,
PMT_PTR=0x8b29ab0 ...descr id: 0x11, len=1
...descr id: 0x28, len=4
...descr id: 0x2a, len=7
PARSE_PMT(18 INDEX 0), STREAM: 0, FOUND pid=0x21a (538), type=0x1005, 
ES_DESCR_LENGTH: 18, bytes left:
10 PARSE_PMT(18 INDEX 1), STREAM: 1, FOUND pid=0x2d5 (725), type=0x50, 
ES_DESCR_LENGTH: 0, bytes left: 5
PARSE_PMT(18 INDEX 2), STREAM: 2, FOUND pid=0x256 (598), type=0x, 
ES_DESCR_LENGTH: 0,