[vlc-devel] bug in vlc 1.x DVB MPTS input

Sergio M. Ammirata, Ph.D. sergio at ammirata.net
Fri Apr 8 13:35:22 CEST 2011


There seems to be a problem in the 1.x branch regarding MPTS DVB input. When
the input is a DVB MPTS and you want to select one program in VLC 1.2, it no
longer works unless you activate the budget mode using the command line or
alternatively, select all the programs in the MPTS using the programs config
option. 

For my tests, I was using the latest code from 1.2 git.

I am streaming a simple two program MPTS from an 8VSB source:

PID:Program ID, Name (bitrate)-> Description
=====================================================
0:  -> SECTION: Program Association Table (PAT)
48:  -> SECTION: Program Map Table (PMT)
49:1, WSCV  -> PS/PES: ITU-T Rec. H.262 | ISO/IEC 13818-2 or ISO/IEC 11172-2
video stream
52:1, WSCV  -> PS/PES: private_stream_1
64:  -> SECTION: Program Map Table (PMT)
65:4, WSCV  -> PS/PES: ITU-T Rec. H.262 | ISO/IEC 13818-2 or ISO/IEC 11172-2
video stream
68:4, WSCV  -> PS/PES: private_stream_1
7424:  -> SECTION: ATSC reserved
8185:  -> unknown
8187:  -> SECTION: ATSC reserved
8191:  -> stuffing

Here are some examples of the bug:

This does not work in 1.2 but it does in 0.8.6:
vlc12 --rt-priority --sout-transcode-high-priority -I dummy --ipv4 --ttl 32
--dvb-caching 300 dvb:// --dvb-bypassfe=1 --dvb-adapter=1
--dvb-frequency=569000000 --dvb-modulation=8 --miface-addr=127.0.0.1 --sout
'#duplicate{dst="std{access=http,mux=ts,dst=192.168.123.1:8080/}",select="pr
ogram=1"}' -vvv --programs=1

This works on both:
vlc12 --rt-priority --sout-transcode-high-priority -I dummy --ipv4 --ttl 32
--dvb-caching 300 dvb:// --dvb-bypassfe=1 --dvb-adapter=1
--dvb-frequency=569000000 --dvb-modulation=8 --miface-addr=127.0.0.1 --sout
'#duplicate{dst="std{access=http,mux=ts,dst=192.168.123.1:8080/}",select="pr
ogram=1"}' -vvv --programs=1 --dvb-budget-mode

This works on both:
vlc12 --rt-priority --sout-transcode-high-priority -I dummy --ipv4 --ttl 32
--dvb-caching 300 dvb:// --dvb-bypassfe=1 --dvb-adapter=1
--dvb-frequency=569000000 --dvb-modulation=8 --miface-addr=127.0.0.1 --sout
'#duplicate{dst="std{access=http,mux=ts,dst=192.168.123.1:8080/}",select="pr
ogram=4"}' -vvv --programs=4 --dvb-budget-mode

This works on both (it shouldn't because it is almost the same as the fist
caseŠ strange!):
vlc12 --rt-priority --sout-transcode-high-priority -I dummy --ipv4 --ttl 32
--dvb-caching 300 dvb:// --dvb-bypassfe=1 --dvb-adapter=1
--dvb-frequency=569000000 --dvb-modulation=8 --miface-addr=127.0.0.1 --sout
'#duplicate{dst="std{access=http,mux=ts,dst=192.168.123.1:8080/}",select="pr
ogram=4"}' -vvv --programs=4

This works on both:
vlc12 --rt-priority --sout-transcode-high-priority -I dummy --ipv4 --ttl 32
--dvb-caching 300 dvb:// --dvb-bypassfe=1 --dvb-adapter=1
--dvb-frequency=569000000 --dvb-modulation=8 --miface-addr=127.0.0.1 --sout
'#duplicate{dst="std{access=http,mux=ts,dst=192.168.123.1:8080/}",select="pr
ogram=1"}' -vvv --programs=4,1

This works on both:
vlc12 --rt-priority --sout-transcode-high-priority -I dummy --ipv4 --ttl 32
--dvb-caching 300 dvb:// --dvb-bypassfe=1 --dvb-adapter=1
--dvb-frequency=569000000 --dvb-modulation=8 --miface-addr=127.0.0.1 --sout
'#duplicate{dst="std{access=http,mux=ts,dst=192.168.123.1:8080/}",select="pr
ogram=4"}' -vvv --programs=1,4

I am attaching the log for the first test case for both 1.2 and 0.8.6. They
were run on exactly the same hardware, OS and input signal.

Regards,

Sergio




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20110408/77432147/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vlc-1.2_broken.rtf
Type: text/rtf
Size: 18825 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20110408/77432147/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vlc-0.8.6_good.rtf
Type: text/rtf
Size: 15585 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20110408/77432147/attachment-0001.bin>


More information about the vlc-devel mailing list