Cannot play multicast stream

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
5kinman
Blank Cone
Blank Cone
Posts: 29
Joined: 14 Nov 2008 10:18
Location: Hong Kong

Cannot play multicast stream

Postby 5kinman » 24 May 2010 10:57

When using the VLC 0.9.8a, the stream plays with only video output.
There is audio track within the stream but the VLC cannot output.

If I update to VLC 1.0.0, the player only show the 1st second.
Here is the message log when playing the stream:


main debug: processing request item udp://239.192.255.240:2000 node Playlist skip 0
main debug: resyncing on udp://239.192.255.240:2000
main debug: udp://239.192.255.240:2000 is at 0
main debug: starting new item
main debug: creating new input thread
main debug: Creating an input for 'udp://239.192.255.240:2000'
main debug: thread (input) created at priority 1 (../.././src/input/input.c:230)
qt4 debug: IM: Setting an input
main debug: thread started
main debug: using timeshift granularity of 50 MBytes
main debug: using timeshift path 'C:\Users\Vincent\AppData\Local\Temp'
main debug: `udp://@239.192.255.240:2000' gives access `udp' demux `' path `@239.192.255.240:2000'
main debug: creating demux: access='udp' demux='' path='@239.192.255.240:2000'
main debug: looking for access_demux module: 0 candidates
main debug: no access_demux module matched "udp"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: creating access 'udp' path='@239.192.255.240:2000'
main debug: looking for access module: 1 candidate
access_udp debug: opening server=:0 local=239.192.255.240:2000
main debug: net: opening 239.192.255.240 datagram port 2000
main debug: Multicast group join request
main debug: using access module "access_udp"
main debug: TIMER module_need() : 5.000 ms - Total 5.000 ms / 1 intvls (Avg 5.000 ms)
main debug: Using AStream*Block
main debug: pre buffering
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
main debug: received first data after 65 ms
main debug: prebuffering done 1400 bytes in 0s - 21 kbytes/s
main debug: looking for stream_filter module: 2 candidates
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: looking for stream_filter module: 1 candidate
main debug: using stream_filter module "stream_filter_record"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: creating demux: access='udp' demux='' path='@239.192.255.240:2000'
main debug: looking for demux module: 50 candidates
main debug: using demux module "ts"
main debug: TIMER module_need() : 5.000 ms - Total 5.000 ms / 1 intvls (Avg 5.000 ms)
main debug: looking for a subtitle file in C:\Program Files\VideoLAN\VLC\
ts debug: DEMUX_SET_GROUP 0 0
access_udp warning: unimplemented query in control
main debug: `udp://@239.192.255.240:2000' successfully opened
ts warning: lost synchro
ts debug: skipping 48 bytes of garbage
ts debug: pid[200] unknown
ts debug: PATCallBack called
ts debug: new PAT ts_id=0 version=5 current_next=1
ts debug: * number=0 pid=16
ts debug: * number=1 pid=1024
ts debug: PMTCallBack called
ts debug: new PMT program number=1 version=5 pid_pcr=160
ts debug: * descriptor : unknown (0x48)
ts debug: * es pid=200 type=2 fcc=mpgv
main debug: selecting program id=1
main debug: looking for decoder module: 35 candidates
main debug: using decoder module "libmpeg2"
main debug: TIMER module_need() : 5.000 ms - Total 5.000 ms / 1 intvls (Avg 5.000 ms)
main debug: thread (decoder) created at priority 0 (../.././src/input/decoder.c:315)
main debug: thread started
ts debug: * es pid=100 type=3 fcc=mpga
main debug: looking for decoder module: 35 candidates
main debug: using decoder module "mpeg_audio"
main debug: TIMER module_need() : 5.000 ms - Total 5.000 ms / 1 intvls (Avg 5.000 ms)
main debug: thread (decoder) created at priority 2 (../.././src/input/decoder.c:315)
main debug: thread started
ts warning: first packet for pid=200 cc=0x5
ts warning: first packet for pid=100 cc=0x9
mpeg_audio debug: MPGA channels:2 samplerate:48000 bitrate:224
main debug: reusing aout
main debug: looking for audio output module: 3 candidates
aout_directx debug: OpenAudio
aout_directx debug: found device: Primary Sound Driver
aout_directx debug: found device: Speakers (Realtek High Definition Audio)
aout_directx debug: device supports 2 channels (DEFAULT!)
aout_directx debug: device supports 1 channel
aout_directx debug: Windows says your SpeakerConfig is stereo
aout_directx debug: creating DirectSoundThread
main debug: thread (DirectSound Notification Thread) created at priority 15 (../../.././modules/audio_output/directx.c:427)
main debug: using audio output module "aout_directx"
main debug: TIMER module_need() : 25.000 ms - Total 25.000 ms / 1 intvls (Avg 25.000 ms)
main debug: output 's16l' 48000 Hz Stereo frame=1 samples/4 bytes
main debug: mixer 'fl32' 48000 Hz Stereo frame=1 samples/8 bytes
main debug: filter(s) 'fl32'->'s16l' 48000 Hz->48000 Hz Stereo->Stereo
main debug: thread started
aout_directx debug: DirectSoundThread ready
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "converter_float"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: found a filter for the whole conversion
main debug: looking for audio mixer module: 3 candidates
main debug: using audio mixer module "float32_mixer"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: input 'mpga' 48000 Hz Stereo frame=1152 samples/1161 bytes
main debug: looking for audio filter module: 1 candidate
scaletempo warning: bad input or output format
main warning: no audio filter module matching "scaletempo" could be loaded
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: looking for audio filter module: 1 candidate
scaletempo debug: format: 48000 rate, 2 nch, 4 bps, fl32
scaletempo debug: params: 30 stride, 0.200 overlap, 14 search
scaletempo debug: 1.000 scale, 1440.000 stride_in, 1440 stride_out, 1152 standing, 288 overlap, 672 search, 2400 queue, fl32 mode
main debug: using audio filter module "scaletempo"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: filter(s) 'mpga'->'fl32' 48000 Hz->48000 Hz Stereo->Stereo
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "mpgatofixed32"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: found a filter for the whole conversion
main debug: filter(s) 'fl32'->'fl32' 52800 Hz->48000 Hz Stereo->Stereo
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "bandlimited_resampler"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: found a filter for the whole conversion
main debug: End of audio preroll
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
libmpeg2 debug: 720x576 (display 720,576), aspect 576000, sar 16:15, 25.000 fps
main debug: no usable vout present, spawning one
main debug: looking for text renderer module: 2 candidates
ts warning: lost synchro
ts debug: skipping 104 bytes of garbage
ts warning: discontinuity received 0x4 instead of 0xd (pid=200)
ts debug: PATCallBack called
ts debug: PMTCallBack called
main debug: thread (fontlist builder) created at priority 0 (../../.././modules/misc/freetype.c:473)
freetype debug: using fontsize: 2
main debug: using text renderer module "freetype"
main debug: TIMER module_need() : 5.000 ms - Total 5.000 ms / 1 intvls (Avg 5.000 ms)
main debug: looking for video filter2 module: 20 candidates
swscale debug: 32x32 chroma: YUVA -> 16x16 chroma: YUVA with scaling using Bicubic (good quality)
main debug: using video filter2 module "swscale"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: looking for video filter2 module: 20 candidates
yuvp debug: YUVP to YUVA converter
main debug: using video filter2 module "yuvp"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: window size: 768x576
main debug: looking for video output module: 7 candidates
direct3d debug: creating Vout EventThread
main debug: thread (Vout Events Thread) created at priority 0 (../../../.././modules/video_output/msw/direct3d.c:218)
main debug: thread started
freetype debug: Building font database...
main debug: thread started
direct3d debug: DirectXCreateWindow
freetype debug: Finished building font database.
freetype debug: Took 0 microseconds
main debug: thread ended
main debug: looking for hwnd module: 3 candidates
qt4 debug: requesting video...
qt4 debug: Video was requested -1, -1
qt4 debug: Video is resizing to: 768 576
main debug: using hwnd module "qt4"
main debug: TIMER module_need() : 90.000 ms - Total 90.000 ms / 1 intvls (Avg 90.000 ms)
direct3d debug: created video sub-window
direct3d debug: Vout EventThread running
direct3d debug: disabling screen saver
main debug: using video output module "direct3d"
main debug: TIMER module_need() : 125.000 ms - Total 125.000 ms / 1 intvls (Avg 125.000 ms)
main debug: Deinterlacing available
qt4 debug: Updating the geometry
direct3d debug: Direct3D device adapter successfully initialized
direct3d debug: selected surface pixel format is YUY2
direct3d debug: 1 Direct3D pictures created successfully
direct3d debug: Direct3D scene created successfully
main debug: got 1 direct buffer(s)
main debug: pic render sz 720x576, of (0,0), vsz 720x576, 4cc I420, ar 4:3, sar 16:15, msk r0x0 g0x0 b0x0
main debug: pic in sz 720x576, of (0,0), vsz 720x576, 4cc I420, ar 4:3, sar 16:15, msk r0x0 g0x0 b0x0
main debug: pic out sz 720x576, of (0,0), vsz 720x576, 4cc YUY2, ar 4:3, sar 16:15, msk r0x0 g0x0 b0x0
main debug: looking for video filter2 module: 20 candidates
main debug: using video filter2 module "i420_yuy2_sse2"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: indirect render, mapping render pictures 0-15 to system pictures 1-16
main warning: dts != current_pts (-10450685410)
main warning: decoder synchro warning: pts != current_date (-40000)
main debug: End of video preroll
main debug: Received first picture
qt4 debug: Qt: Entering Fullscreen
freetype debug: using fontsize: 36
main debug: looking for video blending module: 1 candidate
blend debug: chroma: YUVA -> YUY2
main debug: using video blending module "blend"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
ts warning: lost synchro
ts debug: skipping 104 bytes of garbage
ts warning: discontinuity received 0x1 instead of 0x8 (pid=200)
ts warning: lost synchro
ts debug: skipping 104 bytes of garbage
ts warning: discontinuity received 0x6 instead of 0xd (pid=200)
ts warning: lost synchro
ts debug: skipping 104 bytes of garbage
ts warning: discontinuity received 0x8 instead of 0x1 (pid=200)
ts debug: PATCallBack called
ts debug: PMTCallBack called
ts warning: lost synchro
ts debug: skipping 104 bytes of garbage
ts warning: discontinuity received 0xe instead of 0x7 (pid=200)
ts debug: PATCallBack called
ts debug: PMTCallBack called
ts warning: lost synchro
ts debug: skipping 104 bytes of garbage
ts warning: discontinuity received 0x6 instead of 0xf (pid=200)
ts debug: PATCallBack called
ts debug: PMTCallBack called
ts warning: lost synchro
ts debug: skipping 104 bytes of garbage
ts warning: discontinuity received 0xd instead of 0x4 (pid=200)
ts warning: lost synchro
ts debug: skipping 104 bytes of garbage
ts warning: discontinuity received 0x5 instead of 0xe (pid=200)
ts debug: PATCallBack called
ts debug: PMTCallBack called


And then the message and the screen stops......


When i stop the playing item, the message box shows the following:

main debug: incoming request - stopping current input
main debug: waitpipe: object killed
main debug: dying input
main debug: socket 1144 polling interrupted
ts debug: eof ?
main debug: EOF reached
main debug: control type=0
main debug: control: stopping input
main debug: dying input
main warning: early picture skipped
main warning: early picture skipped
main warning: early picture skipped
main warning: early picture skipped
main warning: early picture skipped
main warning: can't get output picture
main debug: thread times: real 0m28.540000s, kernel 0m0.015600s, user 0m0.046800s
main debug: removing module "libmpeg2"
main debug: killing decoder fourcc `mpgv', 10683 PES in FIFO
main debug: [0] 4 0
main debug: [1] 4 0
main debug: [2] 0 0
main debug: [3] 4 0
main debug: [4] 0 0
main debug: [5] 0 0
main debug: [6] 0 0
main debug: [7] 4 0
main debug: [8] 2 0
main debug: [9] 4 0
main debug: [10] 0 0
main debug: [11] 0 0
main debug: [12] 0 0
main debug: [13] 0 0
main debug: [14] 0 0
main debug: [15] 4 0
main debug: saving a free vout
main warning: received buffer in the future
main warning: received buffer in the future
main warning: received buffer in the future
main warning: received buffer in the future
main warning: received buffer in the future
main debug: thread times: real 0m28.540000s, kernel 0m0.000000s, user 0m0.015600s
main debug: removing module "mpeg_audio"
main debug: killing decoder fourcc `mpga', 394 PES in FIFO
main debug: removing module "mpgatofixed32"
main debug: removing module "scaletempo"
main debug: removing module "bandlimited_resampler"
aout_directx debug: closing audio device
aout_directx debug: DirectSoundThread exiting
main debug: thread ended
main debug: thread times: real 0m28.515000s, kernel 0m0.000000s, user 0m0.000000s
main debug: removing module "aout_directx"
main debug: removing module "converter_float"
main debug: removing module "float32_mixer"
main debug: releasing aout
ts debug: pid list:
ts debug: - pid[0] seen
ts debug: - pid[100] seen
main debug: Program doesn't contain anymore ES
ts debug: - pid[200] seen
ts debug: - pid[1024] seen
ts debug: - pid[8191] seen
main debug: removing module "ts"
main debug: removing module "stream_filter_record"
main debug: removing module "access_udp"
main debug: thread ended
main debug: dead input
main debug: thread times: real 0m28.660000s, kernel 0m0.499203s, user 0m0.702004s
main debug: destroying useless vout
main debug: removing module "i420_yuy2_sse2"
direct3d debug: Direct3D scene released successfully
direct3d debug: 1 Direct3D pictures released.
direct3d debug: DirectXEventThread terminating
direct3d debug: DirectXCloseWindow
direct3d debug: WinProc WM_DESTROY
qt4 debug: releasing video...
qt4 debug: IM: Deleting the input
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Qt: Entering Fullscreen
main debug: TIMER input launching for 'udp://239.192.255.240:2000' : 95.000 ms - Total 95.000 ms / 1 intvls (Avg 95.000 ms)
qt4 debug: Video is not needed anymore
qt4 debug: Updating the geometry
main debug: removing module "qt4"
main debug: thread ended
main debug: thread times: real 0m28.395000s, kernel 0m0.015600s, user 0m0.015600s
main debug: removing module "direct3d"
main debug: removing module "blend"
main debug: thread times: real 0m0.045000s, kernel 0m0.000000s, user 0m0.000000s
main debug: removing module "freetype"
main debug: removing module "yuvp"
main debug: removing module "swscale"


Do anyone know why would this happen and how to fix this?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Cannot play multicast stream

Postby VLC_help » 24 May 2010 19:07

Could you try VLC 1.1.0 nightly builds?

5kinman
Blank Cone
Blank Cone
Posts: 29
Joined: 14 Nov 2008 10:18
Location: Hong Kong

Re: Cannot play multicast stream

Postby 5kinman » 25 May 2010 03:56

Thx for the reply.



I have download these 2 versions at the nightly build ftp

1.1.0-rc-20100525-0202-win32

and

1.2.0-git-20100525-0003-win32


Both versions have been tested and they have the same result as the release version 1.0.5:

The video freeze, message box repeating shows these messages

ts warning: lost synchro
ts debug: skipping 104 bytes of garbage
ts warning: discontinuity received 0x8 instead of 0x1 (pid=200)
ts debug: PATCallBack called



The version 0.9.8a can run the same udp multicast stream, but without sounds.

I guest if there is some checking mechanism running after the 0.9.8a version. Is it possible to disable such mechanism, if exists, without re-compiling the binary?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Cannot play multicast stream

Postby VLC_help » 25 May 2010 16:45

If you get
ts debug: skipping 104 bytes of garbage
ts warning: discontinuity received 0xd instead of 0x4 (pid=200)
ts warning: lost synchro
ts debug: skipping 104 bytes of garbage
ts warning: discontinuity received 0x5 instead of 0xe (pid=200)
ts debug: PATCallBack called
with VLC 1.1.0, it would mean, that the stream is against the specs or that there is a bug in VLC.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 38 guests