Skip to contentSkip to conversation

How to stream DVB-S2 channels over network?

linux-dvb Artem Makhutov 6 participants 17 messages Dec 20, 2008 – Jan 1, 2009 1 message not in the archive Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hello,

I would like to stream a DVB-S2, H264 channel over my network to an STB.

I an using the TT 3200 DVB-S2 card with multiproto drivers from Igors repository.

So faar I have tried 3 different solutions:

1. Using szap2 & dvbstream

# szap2 -r -p 'ASTRA HD'
# dvbstream -udp -i 239.255.0.1 -r 1234

2. Using szap2 and VLC

# szap2 -r -p 'ASTRA HD'
and setup VLC using the GUI to read from
/dev/dvb/adapter0/dvr0 and stream to 239.255.0.1

3. Use Windows with ProgDVB and stream to 239.255.0.1

Basically only the solution using Windows is working.

The streams from linux are all broken.
The video and audio stops every 5 seconds for 1 second.

So I can imagine 2 scenarios:

1. The stb0899 driver is broken and is producing a bad stream
2. The network streaming of VLC and dvbstream is broken

Do you know any other methods to stream a DVB-S2 channel over network?

Thanks, Artem

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#1 lore raw
Quoted 2 lines · Artem Makhutov

1. The stb0899 driver is broken and is producing a bad stream
2. The network streaming of VLC and dvbstream is broken

Use the -o:' option of dvbstream' to write to a file, then see if this file is corrupted or damaged. If this is so, then case 1 above would be correct.

Quoted 1 line

Do you know any other methods to stream a DVB-S2 channel over network?

There's no difference between a DVB-S2 channel and any other source of 188-byte Transport Stream packets, be they video, radio, data, or whatever.

I've used dvbstream' in the past to stream multicast data; the problem I had was in the limited support of the players I was using to handle the stream properly. I also think I may have had to hack dvbstream' slightly to properly support and tag the payloads, though I may be mis-remembering.

At the moment I'm using `dvbstream' to stdout, then piping that to extract the audio payload of interest, which I then pipe to a different streaming program that performs better for a simple audio stream without the excess overhead of the TS, and it's working well.

The only problem I've had has been the interaction with the various hardware I use on the purity of the stream -- if the USB ethernet is connected one way, it causes the stream from the DVB receiver to be corrupted, and if the receiver is connected through a particular USB hub, its stream is again corrupted occasionally. It is all very annoying when I forget, and confusing to try and track down these imperfections -- for example, I've now determined that a particular external USB->HDD adapter cannot be connected directly to my EHCI card, nor to the first hub, but seems fine when a second hub is connected to the first, then the disk to that daisy-chain. And on another machine, the two EHCI USB ports don't work at all, while working wonderfully with NetBSD.

That off-topic rambling was to note that problems often may be caused by seemingly unrelated things for reasons which I cannot understand, not being intimate with the kernel internals or how hardware works.

Back on-topic, I have used dvbstream' to multicast TS of radio and video, tuning directly with it (i.e., no szap' needed) with no real problems, though it is the standard `dvbtools' version that I've undoubtedly hacked.

barry bouwsma

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#2 lore raw

Am Sonntag, den 21.12.2008, 03:29 +0100 schrieb BOUWSMA Barry:

Quoted 50 lines · Artem Makhutov
Quoted 3 lines

1. The stb0899 driver is broken and is producing a bad stream
2. The network streaming of VLC and dvbstream is broken

Use the -o:' option of dvbstream' to write to a file, then see if this file is corrupted or damaged. If this is so, then case 1 above would be correct.

Quoted 1 line

Do you know any other methods to stream a DVB-S2 channel over network?

There's no difference between a DVB-S2 channel and any other source of 188-byte Transport Stream packets, be they video, radio, data, or whatever.

I've used dvbstream' in the past to stream multicast data; the problem I had was in the limited support of the players I was using to handle the stream properly. I also think I may have had to hack dvbstream' slightly to properly support and tag the payloads, though I may be mis-remembering.

At the moment I'm using `dvbstream' to stdout, then piping that to extract the audio payload of interest, which I then pipe to a different streaming program that performs better for a simple audio stream without the excess overhead of the TS, and it's working well.

The only problem I've had has been the interaction with the various hardware I use on the purity of the stream -- if the USB ethernet is connected one way, it causes the stream from the DVB receiver to be corrupted, and if the receiver is connected through a particular USB hub, its stream is again corrupted occasionally. It is all very annoying when I forget, and confusing to try and track down these imperfections -- for example, I've now determined that a particular external USB->HDD adapter cannot be connected directly to my EHCI card, nor to the first hub, but seems fine when a second hub is connected to the first, then the disk to that daisy-chain. And on another machine, the two EHCI USB ports don't work at all, while working wonderfully with NetBSD.

That off-topic rambling was to note that problems often may be caused by seemingly unrelated things for reasons which I cannot understand, not being intimate with the kernel internals or how hardware works.

Quoted 7 lines

Back on-topic, I have used dvbstream' to multicast TS of radio and video, tuning directly with it (i.e., no szap' needed) with no real problems, though it is the standard `dvbtools' version that I've undoubtedly hacked.

barry bouwsma

Hi,

I must admit that I did not read it all yet this time.

But a good probe might be to save the HD S2 stuff to a file and then try to get it over a nfs mount with xine for example on other PCs.

On consumer level it only has advantages, skip the commercials ...

This works since stoneage within local networks.

If you are trying to get it out over the internet, it might cause some more questions of course.

Cheers,
Hermann

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#10 lore raw
In reply to Artem Makhutov

Artem Makhutov schreef:

Quoted 31 lines

Hello,

I would like to stream a DVB-S2, H264 channel over my network to an STB.

I an using the TT 3200 DVB-S2 card with multiproto drivers from Igors repository.

So faar I have tried 3 different solutions:

1. Using szap2 & dvbstream

# szap2 -r -p 'ASTRA HD'
# dvbstream -udp -i 239.255.0.1 -r 1234

2. Using szap2 and VLC

# szap2 -r -p 'ASTRA HD'
and setup VLC using the GUI to read from
/dev/dvb/adapter0/dvr0 and stream to 239.255.0.1

3. Use Windows with ProgDVB and stream to 239.255.0.1

Basically only the solution using Windows is working.

The streams from linux are all broken.
The video and audio stops every 5 seconds for 1 second.

So I can imagine 2 scenarios:

1. The stb0899 driver is broken and is producing a bad stream
2. The network streaming of VLC and dvbstream is broken

Quoted 9 lines

Do you know any other methods to stream a DVB-S2 channel over network?

Thanks, Artem

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Artem,

Have a look at my tvpump program which is part of my set of programs I use to view livetv (http://www.verbraak.org/wiki/index.php/TVSuite).
I use ffplay to view HD content but I currently also have problems viewing HD content because my computer for viewing is a bit to slow.

Regards,

Michel.

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#11 lore raw

Hi,

Quoted 4 lines · Michel Verbraak

Have a look at my tvpump program which is part of my set of programs I use to view livetv (http://www.verbraak.org/wiki/index.php/TVSuite).
I use ffplay to view HD content but I currently also have problems viewing HD content because my computer for viewing is a bit to slow.

I just checked it out. It looks interesing, but I need UDP streaming, as the STB can only receive UDP-Streams.

Maybe I can stream to UDP by connecting to it using nc and the pipe the output an other nc, which will output to UDP.

Regards, Artem

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#16 lore raw
In reply to a message not in the archive

Hi,

Quoted 1 line · Faruk A

The best streaming method in linux that i found is vdr with streamdev plugin.

Yes, I know :) And I am trying to help with the UDP multicast streaming.

Quoted 3 lines

try streaming the whole transponder with 8192.
szap2 -r -p 'ASTRA HD'
dvbstream 8192 -udp -i 239.255.0.1 -r 1234

Yes, the stream is still corrupted.

Quoted 3 lines

vlc 0.8??: you can change the channel in the "Navigation" sub menu. vlc 09??: I think they change the location, I can't help you with that since my locale is in Swedish.

I can not use the build in DVB-Tuning of VLC because it does not support multiproto and therefore can not tune to DVB-S2 channels.

Regards, Artem

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#3 lore raw
In reply to hermann pitton

Hi,

Quoted 11 lines · hermann pitton

I must admit that I did not read it all yet this time.

But a good probe might be to save the HD S2 stuff to a file and then try to get it over a nfs mount with xine for example on other PCs.

On consumer level it only has advantages, skip the commercials ...

This works since stoneage within local networks.

If you are trying to get it out over the internet, it might cause some more questions of course.

The STB can only playpack UDP Streams, so NFS will not help me much.

I have recorded the stream to a file and will try to playback it under windows. My CPU is too slow to playback the stream without GPU acceleration under linux.

Regards, Artem

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#7 lore raw
In reply to BOUWSMA Barry

Hi,

Quoted 50 lines · BOUWSMA Barry
Quoted 2 lines · Artem Makhutov

1. The stb0899 driver is broken and is producing a bad stream
2. The network streaming of VLC and dvbstream is broken

Use the -o:' option of dvbstream' to write to a file, then see if this file is corrupted or damaged. If this is so, then case 1 above would be correct.

Quoted 1 line

Do you know any other methods to stream a DVB-S2 channel over network?

There's no difference between a DVB-S2 channel and any other source of 188-byte Transport Stream packets, be they video, radio, data, or whatever.

I've used dvbstream' in the past to stream multicast data; the problem I had was in the limited support of the players I was using to handle the stream properly. I also think I may have had to hack dvbstream' slightly to properly support and tag the payloads, though I may be mis-remembering.

At the moment I'm using `dvbstream' to stdout, then piping that to extract the audio payload of interest, which I then pipe to a different streaming program that performs better for a simple audio stream without the excess overhead of the TS, and it's working well.

The only problem I've had has been the interaction with the various hardware I use on the purity of the stream -- if the USB ethernet is connected one way, it causes the stream from the DVB receiver to be corrupted, and if the receiver is connected through a particular USB hub, its stream is again corrupted occasionally. It is all very annoying when I forget, and confusing to try and track down these imperfections -- for example, I've now determined that a particular external USB->HDD adapter cannot be connected directly to my EHCI card, nor to the first hub, but seems fine when a second hub is connected to the first, then the disk to that daisy-chain. And on another machine, the two EHCI USB ports don't work at all, while working wonderfully with NetBSD.

That off-topic rambling was to note that problems often may be caused by seemingly unrelated things for reasons which I cannot understand, not being intimate with the kernel internals or how hardware works.

Quoted 4 lines

Back on-topic, I have used dvbstream' to multicast TS of radio and video, tuning directly with it (i.e., no szap' needed) with no real problems, though it is the standard `dvbtools' version that I've undoubtedly hacked.

Everything looks like my SkyStar HD/TT-3200 is producing a little bit currupt stream for DVB-S2 under linux. DVB-S looks prette good. I will try to playback the recorded stream under Windows today afternoon.

Thanks and Regards, Artem

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#12 lore raw
In reply to Artem Makhutov
Quoted 2 lines · Artem Makhutov

I just checked it out. It looks interesing, but I need UDP streaming, as the STB can only receive UDP-Streams.

What sort of UDP do you need -- an RTP Transport Stream, an RTP Program Stream, a simple raw Transport stream, or what?

Unless you're using a different `dvbstream' than I, it sends out RTP (partial or not) Transport Streams, with UDP packet size equal to the TS frame size (I hacked this to fill as much of an ethernet frame as possible).

I don't know if your szap2' program simply sets up the frontend to the desired frequency, or if it also sets hardware PID filters on your card -- I've always been able to use other utilities with bog-standard t/szap' to work on the entire TS.

If bandwidth is an issue, a HD H.264 stream is likely to weigh in around 10 to 20Mbit/sec; a full S2 transport stream is higher (DVB-S streams from Astra are on the order of 36Mbit/sec; S2 will likely be slightly more).

Add the overhead for UDP encapsulation of the 188-byte packets, and I wouldn't be surprised if you push close to some hardware limits of a 100Mbit/sec network, given the unreliable nature of UDP, and that a single dropped or corrupt packet can appear as a video stream error.

Although, as you said, your 'Doze works, so the sum of your hardware should be able to handle the traffic.

Something I just learned a few seconds ago, dvbstream:
-net ip:prt IP address:port combination to be followed by pids list. Can be repeated to generate multiple RTP streams

This will filter your ~50Mbit/sec transponder down to a manageable size. Be sure to specify all the PIDs for ASTRA HD or whatever; for the DVB-S Eins Festival that will start tomorrow (Mo) with non-upscaled 720p content again, that should be
0 1600 -v 1601 -a 1602 1603 1606
(as arguments to standalone `dvbstream')

Just some additional things to keep in mind...

By the way, I also received some personal mail which I
don't think made it to the list, and this may be of use
to you, so I'll quote from that here, so that others may benefit:
DUBOST Brice wrote:
``You can try mumudvb : http://mumudvb.braice.net, I think it will answer your needs''

thankz
baz bouwsma

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#4 lore raw
In reply to Artem Makhutov
Quoted 2 lines · Artem Makhutov

I have recorded the stream to a file and will try to playback it under windows. My CPU is too slow to playback the stream without GPU acceleration under linux.

A common occurrence, I say, fondling my beloved 200MHz production machine that records four streams flawlessly (save for two devices being USB1 and thus only good for radio or selected TV clamped to a maximum bitrate, for now)

I pass all my recordings through a two-pass process to check for problems (for radio, obviously just one pass)

I have a script that extracts the audio payload using a hack to dvb_mpegtools' and passes it to mpg123'. The dvb_mpegtools' serves to check the integrity of the Transport Stream (usually when bad weather affects my satellite reception, or when my DVB-T receiving antenna is placed in a poor location); mpg123 -v -t' zips through the file and spits out any corrupted audio frames.

(The version of mpg123 I use doesn't seem to do anything with the CRC when used, and it gets confused when the CRC is toggled during a stream, which has happened a few times during recordings I've made. That's something which I should work on, because I have a few recordings with audible blorps that pass the `mpg123' test, probably due to flipped bits in the payload rather than dropped data.)

Then I use mplayer' to check the video, using the options -nosound -vo null' and in the case of MPEG-2 video, `-vc ffmpeg12'. This will spit out errors due to corruption of the video data -- though you need to hack in some newlines if you want to actually see the PTS timestamp where the error(s) occurred.

For H.264 video, there is no alternative to `-vc ffh264' that I know of, but it will similarly spew out errors if there's damage to your source.

Sure, it takes my machines more than a day to chew through an hour of H.264 1080i video, but I know whether I need to re-record the programme later to get a clean file that I can watch in some ten years when people throw away the gamer machines of today. Yeah, I'm cheap. What of it?

That's a lot easier than suffering eyestrain watching a screen for some scarcely-visible corruption, which I used to do long ago...

barry bouwsma
stingy scrooge

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#8 lore raw
In reply to Artem Makhutov
Quoted 8 lines · Artem Makhutov
Quoted 3 lines

Use the -o:' option of dvbstream' to write to a file, then see if this file is corrupted or damaged. If this is so, then case 1 above would be correct.

Everything looks like my SkyStar HD/TT-3200 is producing a little bit currupt stream for DVB-S2 under linux. DVB-S looks prette good. I will try to playback the recorded stream under Windows today afternoon.

Hi, me again :-) Sorry to be writing so much today...

I actually do not know if you are receiving ASTRA HD from 19E2, or from elsewhere, and I now realize that earlier, I assumed that you did...

As I noted in my last mail, please try mplayer -vo null etc.' to detect corrupted video. The -nosound' option means that every frame will be checked, no matter how slow my^H^H your machine.

In case the bandwidth is of concern, because I do not know what to expect from HD DVB-S2 transponders...

I'm assuming, from your headers, you're somewhere in germany -- if you are within the Astra 2D footprint at 28E2, meaning, the west or northwest, you can receive the BBC-HD signal with a reasonable dish -- this will fill about 7 to 8GB per hour on disk, and is sent via DVB-S at present. Around Berlin, you'll need perhaps a 2 metre dish. If you can tune it, this will give a DVB-S reference at a decent bitrate, probably similar to ASTRA HD.

Alternatively, on DVB-S, Eins Festival HD starts in less than 24 hours; the bitrate is not so high -- I have some files from the past Easter holiday that require, for example, 21GB from somtime after 13h to just after 17h, so a bit better than good quality SD video, but slightly less than the BBC-HD stream. Both these are H.264.

With a few hours of suitable HD recording, you can then definitively say, oh yeah, the -S2 transport streams are indeed corrupt and the -S streams perfect, or not, or something. That would be very useful, if it isn't already widely known.

thnks,
barry bouwsma

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#6 lore raw
In reply to Artem Makhutov

Hi,

Am Sonntag, den 21.12.2008, 14:59 +0100 schrieb Artem Makhutov:

Quoted 8 lines

Hi,

Quoted 5 lines · hermann pitton

I must admit that I did not read it all yet this time.

But a good probe might be to save the HD S2 stuff to a file and then try to get it over a nfs mount with xine for example on other PCs.

Quoted 8 lines
Quoted 6 lines

On consumer level it only has advantages, skip the commercials ...

This works since stoneage within local networks.

If you are trying to get it out over the internet, it might cause some more questions of course.

The STB can only playpack UDP Streams, so NFS will not help me much.

should have read better.

Quoted 3 lines

I have recorded the stream to a file and will try to playback it under windows. My CPU is too slow to playback the stream without GPU acceleration under linux.

The pDVD with GPU acceleration plays my Linux recorded BBC HD 1080i stuff without any visible issues. So that should work in any case at first I guess. (all on saa7134 DVB-S stuff)

I recently tried libxine with vdpau support, but on Linux recorded 1080i BBC HD stuff it shows only a grey surface. The same recorded under windows it plays already fine, but it often needs several attempts to get playback started and it does not like seeking. It also doesn't like my channels.conf yet, but I don't expect it to do any better on live watching for now.

The recent mplayer vdpau patches do work fine for playback of all recorded 1080i stuff and mpeg2 sound is without any sync issues. It is only a simple 9500GT here, but the GPU stays totally cool and no fan turns on like some supposed.

The only issue left are some flashing green and purple blocks at the bottom line, but others seem not to have it and it might be related to the current implementation of that video card.

Unfortunately on vdpau live watching mplayer loses A/V sync like it does with -vo xv even for playback only. That works mostly fine with kaffeine xv against that libxine as long it stays with mpeg2 audio, but really safe is only to playback from recordings, since they fumble around with audio and that sort of AC3 they have seems not to be for me yet. CPUs are of course at 30% on the amd quad with xv and ffmpeg h264 then.

Cheers,
Hermann

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#13 lore raw
In reply to BOUWSMA Barry

Hello,

Quoted 8 lines · BOUWSMA Barry
Quoted 2 lines · Artem Makhutov

I just checked it out. It looks interesing, but I need UDP streaming, as the STB can only receive UDP-Streams.

What sort of UDP do you need -- an RTP Transport Stream, an RTP Program Stream, a simple raw Transport stream, or what?

It needs a raw MPEG-TS encapsulated in UDP packets.

Quoted 10 lines

Unless you're using a different `dvbstream' than I, it sends out RTP (partial or not) Transport Streams, with UDP packet size equal to the TS frame size (I hacked this to fill as much of an ethernet frame as possible).

I don't know if your szap2' program simply sets up the frontend to the desired frequency, or if it also sets hardware PID filters on your card -- I've always been able to use other utilities with bog-standard t/szap' to work on the entire TS.

It also sets the PID's.

Quoted 4 lines

If bandwidth is an issue, a HD H.264 stream is likely to weigh in around 10 to 20Mbit/sec; a full S2 transport stream is higher (DVB-S streams from Astra are on the order of 36Mbit/sec; S2 will likely be slightly more).

No, bandwith is not an issue. I have a peak traffic of 20.51 MBit/s and an average traffic of 13.24 MBit/s.

Quoted 25 lines

Add the overhead for UDP encapsulation of the 188-byte packets, and I wouldn't be surprised if you push close to some hardware limits of a 100Mbit/sec network, given the unreliable nature of UDP, and that a single dropped or corrupt packet can appear as a video stream error.

Although, as you said, your 'Doze works, so the sum of your hardware should be able to handle the traffic.

Something I just learned a few seconds ago, dvbstream:
-net ip:prt IP address:port combination to be followed by pids list. Can be repeated to generate multiple RTP streams

This will filter your ~50Mbit/sec transponder down to a manageable size. Be sure to specify all the PIDs for ASTRA HD or whatever; for the DVB-S Eins Festival that will start tomorrow (Mo) with non-upscaled 720p content again, that should be
0 1600 -v 1601 -a 1602 1603 1606
(as arguments to standalone `dvbstream')

Just some additional things to keep in mind...

Quoted 7 lines

By the way, I also received some personal mail which I
don't think made it to the list, and this may be of use
to you, so I'll quote from that here, so that others may benefit:
DUBOST Brice wrote:
``You can try mumudvb : http://mumudvb.braice.net, I think it will answer your needs''

I will give it a try later.

Thanks, Artem

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#9 lore raw
In reply to BOUWSMA Barry

Hi,

Quoted 6 lines · BOUWSMA Barry
Quoted 3 lines · Artem Makhutov
Quoted 3 lines

Use the -o:' option of dvbstream' to write to a file, then see if this file is corrupted or damaged. If this is so, then case 1 above would be correct.

Quoted 6 lines
Quoted 4 lines

Everything looks like my SkyStar HD/TT-3200 is producing a little bit currupt stream for DVB-S2 under linux. DVB-S looks prette good. I will try to playback the recorded stream under Windows today afternoon.

Hi, me again :-) Sorry to be writing so much today...

No problem :)

Quoted 3 lines

I actually do not know if you are receiving ASTRA HD from 19E2, or from elsewhere, and I now realize that earlier, I assumed that you did...

My dish is pointing to Astra 19.2E.

Quoted 25 lines

As I noted in my last mail, please try mplayer -vo null etc.' to detect corrupted video. The -nosound' option means that every frame will be checked, no matter how slow my^H^H your machine.

In case the bandwidth is of concern, because I do not know what to expect from HD DVB-S2 transponders...

I'm assuming, from your headers, you're somewhere in germany -- if you are within the Astra 2D footprint at 28E2, meaning, the west or northwest, you can receive the BBC-HD signal with a reasonable dish -- this will fill about 7 to 8GB per hour on disk, and is sent via DVB-S at present. Around Berlin, you'll need perhaps a 2 metre dish. If you can tune it, this will give a DVB-S reference at a decent bitrate, probably similar to ASTRA HD.

Alternatively, on DVB-S, Eins Festival HD starts in less than 24 hours; the bitrate is not so high -- I have some files from the past Easter holiday that require, for example, 21GB from somtime after 13h to just after 17h, so a bit better than good quality SD video, but slightly less than the BBC-HD stream. Both these are H.264.

Quoted 5 lines

With a few hours of suitable HD recording, you can then definitively say, oh yeah, the -S2 transport streams are indeed corrupt and the -S streams perfect, or not, or something. That would be very useful, if it isn't already widely known.

Yes, I will try it out today.

Regards, Artem

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#5 lore raw
In reply to BOUWSMA Barry

Hi,

Quoted 51 lines · BOUWSMA Barry
Quoted 2 lines · Artem Makhutov

I have recorded the stream to a file and will try to playback it under windows. My CPU is too slow to playback the stream without GPU acceleration under linux.

A common occurrence, I say, fondling my beloved 200MHz production machine that records four streams flawlessly (save for two devices being USB1 and thus only good for radio or selected TV clamped to a maximum bitrate, for now)

I pass all my recordings through a two-pass process to check for problems (for radio, obviously just one pass)

I have a script that extracts the audio payload using a hack to dvb_mpegtools' and passes it to mpg123'. The dvb_mpegtools' serves to check the integrity of the Transport Stream (usually when bad weather affects my satellite reception, or when my DVB-T receiving antenna is placed in a poor location); mpg123 -v -t' zips through the file and spits out any corrupted audio frames.

(The version of mpg123 I use doesn't seem to do anything with the CRC when used, and it gets confused when the CRC is toggled during a stream, which has happened a few times during recordings I've made. That's something which I should work on, because I have a few recordings with audible blorps that pass the `mpg123' test, probably due to flipped bits in the payload rather than dropped data.)

Then I use mplayer' to check the video, using the options -nosound -vo null' and in the case of MPEG-2 video, `-vc ffmpeg12'. This will spit out errors due to corruption of the video data -- though you need to hack in some newlines if you want to actually see the PTS timestamp where the error(s) occurred.

For H.264 video, there is no alternative to `-vc ffh264' that I know of, but it will similarly spew out errors if there's damage to your source.

Sure, it takes my machines more than a day to chew through an hour of H.264 1080i video, but I know whether I need to re-record the programme later to get a clean file that I can watch in some ten years when people throw away the gamer machines of today. Yeah, I'm cheap. What of it?

Quoted 3 lines

That's a lot easier than suffering eyestrain watching a screen for some scarcely-visible corruption, which I used to do long ago...

Thats interesting. Thanks.

I have replayed the recorded video file on Windows and I saw some artifacts in the stream. So the stream is corrupted.

Today I have also replaced my 60cm dish with a 80cm one.

Now I have much less curruptions in the stream.

The most interesting thing is, that I had absolutly no corruptions in the stream under windows with the 60cm dish, and under Linux I still have some corruptions with the 80cm dish.

So the reception is much better with windows then with linux...

Regards, Artem

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#14 lore raw
In reply to BOUWSMA Barry

Il giorno dom, 21/12/2008 alle 15.16 +0100, BOUWSMA Barry ha scritto:

Quoted 5 lines · Artem Makhutov
Quoted 3 lines

I just checked it out. It looks interesing, but I need UDP streaming, as the STB can only receive UDP-Streams.

Quoted 8 lines

What sort of UDP do you need -- an RTP Transport Stream, an RTP Program Stream, a simple raw Transport stream, or what?

Unless you're using a different `dvbstream' than I, it sends out RTP (partial or not) Transport Streams, with UDP packet size equal to the TS frame size (I hacked this to fill as much of an ethernet frame as possible).

-udp sends plain UDP packets with ~1500 bytes of payload

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#17 lore raw
In reply to Artem Makhutov
Quoted 4 lines · Artem Makhutov

Hello,

I would like to stream a DVB-S2, H264 channel over my network to an STB.

Quoted 8 lines

I an using the TT 3200 DVB-S2 card with multiproto drivers from Igors repository.

So faar I have tried 3 different solutions:

[...]

Do you know any other methods to stream a DVB-S2 channel over network?

Hello

You can try to use mumudvb (http://mumudvb.braice.net)

In order to stream dvb-s2 I've implemented an option dont_tune in mumudvb wich permit to skip the tuning part of mumudvb wich is "old gen".

The solution of using this option and tuning the card before launching mumudvb have been reported to work with dvb-s2

To get the snapshot with this option, follow this link
http://gitweb.braice.net/gitweb?p=mumudvb.git;a=snapshot;h=f430989cbe696345872b6ccf66d30e57a8bd8abc

Best regards,

Signature · 7 lines
Brice


_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb