[MPlayer-dvb] I can't watch h.264 dvb-s channels with standard definition

Igor Nikanov goga777 at bk.ru
Wed Oct 17 20:14:31 CEST 2007


Hello, Nico

> if it's H264 you are missing the PMT pid in the channels.conf file
> and you are also using -vo mpegpes, that involves decoding
> H264 in software and re-encoding to mpeg2 to send it to your 
> dvb card. Is it really what you want?

I understood what you mean. It's really hard work for my CPU, but now I want it.
By the way,  the play of h.264 ts files (from the same satellite) is OK (except of remarks about NAL)

arvdr:~/.mplayer# mplayer /data/mplayer/video/1muz.ts -vo mpegpes -ao mpegpes  -msglevel all=5
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.
mplayer: could not connect to socket
mplayer: Connection refused
Failed to open LIRC support. You will not be able to use your remote control.

Playing /data/mplayer/video/1muz.ts.
TS file format detected.
VIDEO H264(pid=538) AUDIO MPA(pid=725) NO SUBS (yet)!  PROGRAM N. 18
FPS seems to be: 25.000000
Opening /dev/dvb/adapter0/video0+audio0
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Opening /dev/dvb/adapter0/audio0
AO: [mpegpes] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
[h264 @ 0x8968a00]Unknown NAL code: 20
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Opening video filter: [lavc]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.36:1 - prescaling to correct movie aspect.
[mpeg1video @ 0x8968a00]removing common factors from framerate
VO: [mpegpes] 720x576 => 786x576 Mpeg PES
[h264 @ 0x8968a00]Unknown NAL code: 20.084  22/ 22 27% 59%  0.4% 0 0
[h264 @ 0x8968a00]Unknown NAL code: 20.172  44/ 44 25% 69%  0.4% 0 0
[h264 @ 0x8968a00]Unknown NAL code: 20.260  66/ 66 24% 54%  0.4% 0 0
[h264 @ 0x8968a00]Unknown NAL code: 20.348  88/ 88 24% 44%  0.4% 0 0
[h264 @ 0x8968a00]Unknown NAL code: 20.436 110/110 25% 39%  0.4% 0 0
[h264 @ 0x8968a00]Unknown NAL code: 20.524 132/132 26% 35%  0.4% 0 0
[h264 @ 0x8968a00]Unknown NAL code: 20.612 154/154 26% 32%  0.4% 0 0
[h264 @ 0x8968a00]Unknown NAL code: 20.700 176/176 26% 30%  0.4% 0 0
[h264 @ 0x8968a00]Unknown NAL code: 20.788 198/198 26% 29%  0.4% 0 0
[h264 @ 0x8968a00]Unknown NAL code: 20.876 220/220 26% 28%  0.4% 0 0
[h264 @ 0x8968a00]Unknown NAL code: 20.964 242/242 25% 27%  0.4% 0 0
[h264 @ 0x8968a00]Unknown NAL code: 20.052 264/264 25% 26%  0.4% 0 0
[h264 @ 0x8968a00]Unknown NAL code: 20.140 286/286 25% 25%  0.4% 0 0
[h264 @ 0x8968a00]Unknown NAL code: 20.228 308/308 25% 25%  0.4% 0 0
[h264 @ 0x8968a00]Unknown NAL code: 20.316 330/330 25% 24%  0.4% 0 0
[h264 @ 0x8968a00]Unknown NAL code: 20.404 352/352 25% 24%  0.4% 0 0
[h264 @ 0x8968a00]Unknown NAL code: 20.491 374/374 25% 23%  0.4% 0 0
[h264 @ 0x8968a00]Unknown NAL code: 20.523 396/396 25% 23%  0.4% 0 0
A:92675.7 V:92675.9 A-V: -0.152 ct: -1.530 403/403 25% 23%  0.4% 0 0

MPlayer interrupted by signal 2 in module: play_audio


> > But I can't watch the h.264 dvb-s channels with standard definition
> > from this satellite
> 
> add the pmt pid or set 8192 in one of the pids, then during playback
> press TAB until you find the right program

so, 

pmt pid = 265 (dec)
tsid pid =1
onid pid = 1
pcr pid = video pid = 525

I corrected channels.conf for channel "Vesti"

Vesti:10967:v:0:20000:525+265+1:660:9


arvdr:~/.mplayer# mplayer dvb://Vesti -vo mpegpes -ao mpegpes  -msglevel all=5
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.
mplayer: could not connect to socket
mplayer: Connection refused
Failed to open LIRC support. You will not be able to use your remote control.

Playing dvb://Vesti.
dvb_tune Freq: 10967000
TS file format detected.
VIDEO H264(pid=525) AUDIO MPA(pid=525) NO SUBS (yet)!  PROGRAM N. 9
FPS not specified in the header or invalid, use the -fps option.
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3

Too many video packets in the buffer: (859 in 8391129 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
ADecoder init failed :(
ADecoder init failed :(
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders

Too many video packets in the buffer: (859 in 8391129 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
Unknown/missing audio format -> no sound
ADecoder init failed :(
Opening audio decoder: [libmad] libmad mpeg audio decoder

Too many video packets in the buffer: (859 in 8391129 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
Cannot sync MAD frame
ADecoder init failed :(
ADecoder init failed :(
Opening audio decoder: [hwmpa] MPEG audio pass-through (fake decoder)

Too many video packets in the buffer: (859 in 8391129 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
Cannot sync MPA frame: 0
ADecoder init failed :(
ADecoder init failed :(
Cannot find codec for audio format 0x50.
Read DOCS/HTML/en/codecs.html!
Audio: no sound
Video: no video

Exiting... (End of file)
arvdr:~/.mplayer#  


When I wrote 8192 in channels.conf 

Vesti:10967:v:0:20000:8192:660:9

I received

arvdr:~/.mplayer# mplayer dvb://Vesti -vo mpegpes -ao mpegpes  -msglevel all=5
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.
mplayer: could not connect to socket
mplayer: Connection refused
Failed to open LIRC support. You will not be able to use your remote control.

Playing dvb://Vesti.
dvb_tune Freq: 10967000
Not able to lock to the signal on the given frequency, timeout: 30
dvb_tune, TUNING FAILED
ERROR, COULDN'T SET CHANNEL  32: Failed to open dvb://Vesti.


any ideas ?

Igor










More information about the MPlayer-dvb mailing list