Redzinalds Knipsis wrote:
> Hello,
> Sorry, may be not very right place for question, but still.
> My TV provider here is broadcasting h264 streams. I'm trying to watch 
> them with mplayer.
> If I'm tuning to DVB channel directly from DVB card, channel is 
> treated as mpeg2 and of course I do not get anything:
>

[snip]

>
> May be someone smarter than me can shed some light how can I set up 
> mplayer to play stream directly. What is different in dvbstreamer that 
> I get pids recognized correctly?
>
> Thanks!
> Reggie

I also had the same problem and I discovered that this is a know problem 
with mplayer not finding the correct PID for h264 encoded streams.
You have to edit your channels.conf file and add the missing information.
I found a guide here: 
http://telperion.wordpress.com/2009/10/14/dvb-t-hd-con-smplayer-e-vdpau/
This is an italian blog, so I will translate the whole procedure for you:

Open your channels.conf file with an editor ad find the line for one of 
your HD channels. It should look like this:

Canale5 HD:754000000:[other_things_here]:HIERARCHY_AUTO:1010:1011:5305

Take note of the last number, in this case 5305
Now open a terminal and tune your card to that channel. You can use tzap:

tzap -c /full/path/of/channels.conf "Canale5 HD"

and leave it running.
Open another terminal and, using dvbsnoop, find the Program Map Table 
for the stream:

dvbsnoop -s pidscan | grep 'Program Map Table'

leave it running for some seconds, you should get something like this:

|PID found: 101 (0x0065) [SECTION: Program Map Table (PMT)]|
|PID found: 102 (0x0066) [SECTION: Program Map Table (PMT)]|
|PID found: 103 (0x0067) [SECTION: Program Map Table (PMT)]|
|PID found: 104 (0x0068) [SECTION: Program Map Table (PMT)]|
|PID found: 105 (0x0069) [SECTION: Program Map Table (PMT)]|
|PID found: 106 (0x006a) [SECTION: Program Map Table (PMT)]|
|PID found: 107 (0x006b) [SECTION: Program Map Table (PMT)]|
|PID found: 108 (0x006c) [SECTION: Program Map Table (PMT)]|
|PID found: 215 (0x00d7) [SECTION: Program Map Table (PMT)]|
|PID found: 216 (0x00d8) [SECTION: Program Map Table (PMT)]
|
|Take note of the PID numbers, stop dvbsnoop by hitting ctrl-c and, 
starting from the last PID, search for the PID which refers to the 
Program number you found in the channels.conf (the last number you took 
note of, in this example was 5305)|
|
||dvbsnoop 216 -n 1 | grep '5305'
|
|leave it running for a while. If you have no output, stop dvbsnoop by 
pressing ctrl-c and try whith the next (in this case 215) until you have 
an output like this:
|
|Program_number: 5305 (0x14b9)|
||
|Now you finally have the piece of information you were searching, the 
PID number. In this example is 215.|
|Come back to your channels.conf file and edit the line for your channel:|
||
|before:|
||Canale5 HD:754000000:[other_things_here]:HIERARCHY_AUTO:1010:1011:5305

after:
Canale5 HD:754000000:[other_things_here]:HIERARCHY_AUTO:215+1010:1011:5305

Now you're finally done. Save the file and check if mplayer works. 
Repeat the above procedure for every HD channel in your channels.conf file.

Cheers,
izio

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to