Re: [linux-dvb] Re: DVB-H information

2007-03-06 Thread Stéphane Esté-Gracias
Le mardi 6 mars 2007 16:43, Francesco Schiavarelli a écrit :
> Stéphane Esté-Gracias wrote:
> >>> I found on Internet a free application to extract PES or ES from a TS,
> >>> but don't know how I can 'de-packetize' the RTP/UDP/IP stack to
> >>> visualize the raw H.264 stream. Do you know application in order to do
> >>> it?
> >>
> >> I used dvbnet apps (available with Linux DVB) to receive datagrams from
> >> TS on a virtual net interface and routing to a multicast group.
> >> Then you should be able to dump the H.264 ES with mplayer,
> >> I used VLC to watch audio and video.
> >>
> >> regards,
> >> Francesco
> >
> > Hello Francesco,
> >
> > I've tried without any succes to read DVB-H streams throught dvbnet and
> > VLC. I only use tcpdump to extract packets from dvbnet interface.
>
> To get the ESG I've done the following:
> 1 - Tune and create dvb network interface with dvbnet on the ESG pid
> 2 - Bring up dvb0_0 in promisc mode (otherwise won't work)
> 3 - Start a multicast routing daemon to route packet to eth0
> 4 - Receive ALC/FLUTE packets to reassemble ESG using bootstrap
> 5 - Extract SDP file from ESG
>
> In 3) I used smcroute as I had problems with mrouted.
> In 4) I used MAD-FLUTE receiver
> In 5) you can have the SDP inspecting ESG fragments with a hex editor
>
> To get A/V you need the SDP and then again:
> 1 - Tune and create dvb network interface with dvbnet on the A/V pid
> 2 - Bring up dvb0_0 in promisc mode (otherwise won't work)
> 3 - Start a multicast routing daemon to route packet to eth0
> 4 - Start VLC with the given SDP and enjoy your TV!

Thank you for this procedure :)

> > For your information, I've started (first step) to write a library to
> > decode ESG in order to obtain SDP (aka PMT like in DVB-H systems)
> >
> > Please see DVB-APPS repository for LIBESG :
> > http://linuxtv.org/hg/dvb-apps?mf=8b37590c8695;path=/lib/libesg/;style=gi
> >tweb
>
> Very good!
> I hacked in some c code to parse ESG and extract SDP files.
> It's ugly, incomplete and mostly unreadable code, but works here.
> I'll be happy to share it, you are warned :)

Why not :) !
My code is only a library to parse most of ESG fragments (in LGPL).
I wanted to code application against my library, but I have no time yet.

Stephane


> regards,
> Francesco



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


[linux-dvb] Re: DVB-H information

2007-03-06 Thread Francesco Schiavarelli

Stéphane Esté-Gracias wrote:

I found on Internet a free application to extract PES or ES from a TS,
but don't know how I can 'de-packetize' the RTP/UDP/IP stack to
visualize the raw H.264 stream. Do you know application in order to do
it?

I used dvbnet apps (available with Linux DVB) to receive datagrams from
TS on a virtual net interface and routing to a multicast group.
Then you should be able to dump the H.264 ES with mplayer,
I used VLC to watch audio and video.

regards,
Francesco


Hello Francesco,

I've tried without any succes to read DVB-H streams throught dvbnet and VLC.
I only use tcpdump to extract packets from dvbnet interface.


To get the ESG I've done the following:
1 - Tune and create dvb network interface with dvbnet on the ESG pid
2 - Bring up dvb0_0 in promisc mode (otherwise won't work)
3 - Start a multicast routing daemon to route packet to eth0
4 - Receive ALC/FLUTE packets to reassemble ESG using bootstrap
5 - Extract SDP file from ESG

In 3) I used smcroute as I had problems with mrouted.
In 4) I used MAD-FLUTE receiver
In 5) you can have the SDP inspecting ESG fragments with a hex editor

To get A/V you need the SDP and then again:
1 - Tune and create dvb network interface with dvbnet on the A/V pid
2 - Bring up dvb0_0 in promisc mode (otherwise won't work)
3 - Start a multicast routing daemon to route packet to eth0
4 - Start VLC with the given SDP and enjoy your TV!

For your information, I've started (first step) to write a library to decode 
ESG in order to obtain SDP (aka PMT like in DVB-H systems)


Please see DVB-APPS repository for LIBESG :
http://linuxtv.org/hg/dvb-apps?mf=8b37590c8695;path=/lib/libesg/;style=gitweb


Very good!
I hacked in some c code to parse ESG and extract SDP files.
It's ugly, incomplete and mostly unreadable code, but works here.
I'll be happy to share it, you are warned :)

regards,
Francesco


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


Re: [linux-dvb] Re: DVB-H information

2007-03-05 Thread Stéphane Esté-Gracias
> > I found on Internet a free application to extract PES or ES from a TS,
> > but don't know how I can 'de-packetize' the RTP/UDP/IP stack to
> > visualize the raw H.264 stream. Do you know application in order to do
> > it?
>
> I used dvbnet apps (available with Linux DVB) to receive datagrams from
> TS on a virtual net interface and routing to a multicast group.
> Then you should be able to dump the H.264 ES with mplayer,
> I used VLC to watch audio and video.
>
> regards,
> Francesco

Hello Francesco,

I've tried without any succes to read DVB-H streams throught dvbnet and VLC.
I only use tcpdump to extract packets from dvbnet interface.

How do you route to a multicast group and read with VLC ?

For your information, I've started (first step) to write a library to decode 
ESG in order to obtain SDP (aka PMT like in DVB-H systems)

Please see DVB-APPS repository for LIBESG :
http://linuxtv.org/hg/dvb-apps?mf=8b37590c8695;path=/lib/libesg/;style=gitweb

Regards,

Stephane


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


[linux-dvb] Re: DVB-H information

2007-03-05 Thread Francesco Schiavarelli

Paolo Pasquali wrote:
> Thanks a lot Francesco.
> So, I have a recorded TS on my PC. With dvbnet apps I 'open' the *.ts 
> and 'send' the ts to be dump to mplayer. Is it right?


No, dvbnet needs a real DVB adapter supported by a linux-dvb kernel 
module, so it is an online solution.
If you have a recorded TS you can try with dvbloopback module, never 
tried myself though.


regards,
Francesco


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


[linux-dvb] Re: DVB-H information

2007-03-05 Thread Francesco Schiavarelli

Paolo Pasquali wrote:

Hi to all,
I'm Paolo Pasquali, Telecommunications engineer, and I'm working on the 
DVB-H TS quality.
This is the first time I post in this mailing-list. I have a problem 
with a DVB-H Transport Stream.


What kind of problem?

I found on Internet a free application to extract PES or ES from a TS, 
but don't know how I can 'de-packetize' the RTP/UDP/IP stack to 
visualize the raw H.264 stream. Do you know application in order to do it?


I used dvbnet apps (available with Linux DVB) to receive datagrams from 
TS on a virtual net interface and routing to a multicast group.

Then you should be able to dump the H.264 ES with mplayer,
I used VLC to watch audio and video.

regards,
Francesco


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