Page 1 of 1

VLC 3.0.4 not working for multicast PS stream, while 2.2.7 works

Posted: 08 Sep 2018 10:16
by avsuper
Using udp://@x.x.x.x:xxx to receive multicast stream (ps format), vlc 2.2.7 can display video correctly, but vlc 3.0.1/2/3/4 version is always loading....
Maybe this is bug of version 3+?

log for v2.2.7:
================================================
core debug: adding item `udp://238.93.4.101:40000' ( udp://@238.93.4.101:40000 )
core debug: processing request item: udp://238.93.4.101:40000, node: null, skip: 0
core debug: rebuilding array of current - root Playlist
core debug: rebuild done - 1 items, index 0
core debug: starting playback of the new playlist item
core debug: resyncing on udp://238.93.4.101:40000
core debug: udp://238.93.4.101:40000 is at 0
core debug: creating new input thread
core debug: Creating an input for 'udp://238.93.4.101:40000'
core debug: requesting art for udp://238.93.4.101:40000
core debug: using timeshift granularity of 50 MiB, in path 'C:\Users\admin\AppData\Local\Temp'
core debug: `udp://@238.93.4.101:40000' gives access `udp' demux `' path `@238.93.4.101:40000'
core debug: specified demux `any'
core debug: creating demux: access='udp' demux='any' location='@238.93.4.101:40000' file='\\@238.93.4.101:40000'
core debug: looking for access_demux module matching "udp": 12 candidates
core debug: no access_demux modules matched
core debug: creating access 'udp' location='@238.93.4.101:40000', path='\\@238.93.4.101:40000'
core debug: looking for access module matching "udp": 20 candidates
udp debug: opening server=:0 local=238.93.4.101:40000
core debug: net: opening 238.93.4.101 datagram port 40000
qt4 debug: IM: Setting an input
core debug: looking for meta fetcher module matching "any": 1 candidates
core debug: meta ok for (null), need to fetch art
lua debug: Trying Lua scripts in C:\Users\admin\AppData\Roaming\vlc\lua\meta\fetcher
lua debug: Trying Lua scripts in F:\temp\vlc-2.2.7\lua\meta\fetcher
core debug: no meta fetcher modules matched
core debug: searching art for udp://238.93.4.101:40000
core debug: looking for art finder module matching "any": 2 candidates
core debug: looking for meta fetcher module matching "any": 1 candidates
lua debug: Trying Lua scripts in C:\Users\admin\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in F:\temp\vlc-2.2.7\lua\meta\art
core debug: no art finder modules matched
core debug: art not found for udp://238.93.4.101:40000
lua debug: Trying Lua scripts in C:\Users\admin\AppData\Roaming\vlc\lua\meta\fetcher
lua debug: Trying Lua scripts in F:\temp\vlc-2.2.7\lua\meta\fetcher
core debug: no meta fetcher modules matched
core debug: searching art for udp://238.93.4.101:40000
core debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\admin\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in F:\temp\vlc-2.2.7\lua\meta\art
core debug: no art finder modules matched
core debug: art not found for udp://238.93.4.101:40000
core debug: using access module "udp"
core debug: Using block method for AStream*
core debug: starting pre-buffering
core debug: received first data after 43 ms
core debug: prebuffering done 1400 bytes in 0s - 31 KiB/s
core debug: looking for stream_filter module matching "any": 6 candidates
core debug: no stream_filter modules matched
core debug: looking for stream_filter module matching "record": 6 candidates
core debug: using stream_filter module "record"
core debug: creating demux: access='udp' demux='any' location='@238.93.4.101:40000' file='\\@238.93.4.101:40000'
core debug: looking for demux module matching "any": 66 candidates
ts debug: TS module discarded (lost sync)
mod debug: MOD validation failed (ext=101:40000)
core debug: using demux module "ps"
core debug: looking for meta reader module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\admin\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in F:\temp\vlc-2.2.7\lua\meta\reader
core debug: no meta reader modules matched
core debug: `udp://@238.93.4.101:40000' successfully opened
core debug: selecting program id=0
core debug: looking for decoder module matching "any": 44 candidates
avcodec debug: CPU flags: 0x0107d3db
avcodec debug: trying to use direct rendering
avcodec debug: allowing 4 thread(s) for decoding
avcodec debug: avcodec codec (MPEG-1/2 Video) started
core debug: using decoder module "avcodec"
core debug: looking for packetizer module matching "any": 23 candidates
core debug: using packetizer module "packetizer_mpegvideo"
core debug: Buffering 0%
core debug: Buffering 3%
core debug: Buffering 8%
core debug: Buffering 12%
core debug: Buffering 16%
core debug: Buffering 20%
core debug: Buffering 24%
core debug: Buffering 28%
core debug: Buffering 32%
core debug: Buffering 36%
core debug: Buffering 40%
core debug: Buffering 44%
core debug: Buffering 48%
core debug: Buffering 52%
core debug: Buffering 56%
core debug: Buffering 60%
core debug: Buffering 64%
core debug: Buffering 68%
core debug: Buffering 72%
core debug: Buffering 76%
core debug: Buffering 80%
core debug: Buffering 84%
core debug: Buffering 88%
core debug: Buffering 92%
core debug: Buffering 96%
core debug: Stream buffering done (1001 ms in 980 ms)
core debug: Decoder wait done in 0 ms
core debug: looking for decoder module matching "any": 44 candidates
core debug: using decoder module "mpeg_audio"
ps debug: contains a PSM
core debug: removing module "avcodec"
avcodec debug: ffmpeg codec (MPEG-1/2 Video) stopped
core debug: killing decoder fourcc `mpgv', 0 PES in FIFO
core debug: removing module "packetizer_mpegvideo"
core debug: looking for decoder module matching "any": 44 candidates
avcodec debug: CPU flags: 0x0107d3db
avcodec debug: trying to use direct rendering
avcodec debug: allowing 4 thread(s) for decoding
avcodec debug: avcodec codec (H264 - MPEG-4 AVC (part 10)) started
avcodec debug: using frame thread mode with 4 threads
core debug: using decoder module "avcodec"
core debug: looking for packetizer module matching "any": 23 candidates
core debug: using packetizer module "packetizer_h264"
packetizer_h264 debug: found NAL_SPS (sps_id=0)
packetizer_h264 debug: found NAL_PPS (pps_id=0 sps_id=0)
avcodec debug: available hardware decoder output format 61 (dxva2_vld)
avcodec debug: available hardware decoder output format 128 (d3d11va_vld)
avcodec debug: available software decoder output format 12 (yuvj420p)
core debug: looking for hw decoder module matching "none": 1 candidates
core debug: no hw decoder modules matched
core debug: looking for text renderer module matching "any": 2 candidates
freetype debug: Using Arial as font from file C:\Windows\Fonts\arial.ttf
freetype debug: Using Courier New as mono-font from file C:\Windows\Fonts\cour.ttf
freetype debug: using fontsize: 2
core debug: using text renderer module "freetype"
core debug: looking for video filter2 module matching "any": 58 candidates
swscale debug: 32x32 (32x32) chroma: YUVA -> 16x16 (16x16) chroma: RGBA with scaling using Bicubic (good quality)
core debug: using video filter2 module "swscale"
core debug: looking for video filter2 module matching "any": 58 candidates
yuvp debug: YUVP to YUVA converter
core debug: using video filter2 module "yuvp"
core debug: Deinterlacing available
core debug: deinterlace 0, mode blend, is_needed 0
core debug: Opening vout display wrapper
core debug: looking for vout display module matching "any": 12 candidates
direct3d warning: cannot load Direct3D Shader Library; HLSL pixel shading will be disabled.
direct3d debug: creating Vout EventThread
direct3d debug: Win32VoutCreateWindow
core debug: looking for vout window hwnd module matching "qt4,any": 3 candidates
qt4 debug: requesting video window...
qt4 debug: Video was requested 0, 0
core debug: using vout window hwnd module "qt4"
direct3d debug: created video sub-window
direct3d debug: Vout EventThread running
direct3d debug: disabling screen saver
direct3d debug: Direct3d Device: Intel(R) HD Graphics 5500 32902 5654 9
core debug: VoutDisplayEvent 'resize' 1936x1118 window
direct3d warning: trying surface pixel format: YV12
direct3d debug: selected surface pixel format is YV12
direct3d debug: Using D3DTEXF_LINEAR for minification
direct3d debug: Using D3DTEXF_LINEAR for magnification
direct3d debug: Direct3D scene created successfully
direct3d warning: Direct3D shaders initialization failed !
direct3d debug: Direct3D device adapter successfully initialized
core debug: using vout display module "direct3d"
core debug: original format sz 1920x1090, of (0,0), vsz 1920x1080, 4cc J420, sar 1:1, msk r0x0 g0x0 b0x0
core debug: removing module "freetype"
core debug: looking for text renderer module matching "any": 2 candidates
freetype debug: Using Arial as font from file C:\Windows\Fonts\arial.ttf
freetype debug: Using Courier New as mono-font from file C:\Windows\Fonts\cour.ttf
freetype debug: using fontsize: 2
core debug: using text renderer module "freetype"
avcodec warning: plane 0 not aligned
avcodec warning: disabling direct rendering
core debug: VoutDisplayEvent 'resize' 1596x799 window
core debug: VoutDisplayEvent 'resize' 1920x1080 window
core debug: VoutDisplayEvent 'resize' 1596x799 window
core debug: auto hiding mouse cursor
core debug: auto hiding mouse cursor
core debug: VoutDisplayEvent 'resize' 1139x540 window
core debug: auto hiding mouse cursor
core debug: incoming request - stopping current input
core debug: socket 1464 polling interrupted
core debug: object waitpipe triggered
core debug: control: stopping input
core debug: incoming request - stopping current input
core debug: finished input
core debug: removing module "mpeg_audio"
core debug: killing decoder fourcc `mpga', 0 PES in FIFO
core warning: can't get output picture
core debug: removing module "avcodec"
core warning: can't get output picture
avcodec debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) stopped
core debug: killing decoder fourcc `h264', 0 PES in FIFO
core debug: saving a free vout
core debug: reusing provided vout
qt4 debug: Qt: Fullscreen state changed
core debug: removing module "packetizer_h264"
core debug: removing module "ps"
core debug: Program doesn't contain anymore ES
core debug: removing module "record"
core debug: removing module "udp"
core debug: incoming request - stopping current input
core debug: dead input
core debug: destroying useless vout
core debug: removing module "direct3d"
direct3d debug: Direct3D scene released successfully
qt4 debug: IM: Deleting the input
direct3d debug: Win32 Vout EventThread terminating
direct3d debug: Win32VoutCloseWindow
direct3d debug: WinProc WM_DESTROY
qt4 debug: releasing video...
qt4 debug: Video is not needed anymore
core debug: removing module "freetype"
core debug: removing module "yuvp"
=============================================


log for v3.0.4:
================================================
main debug: processing request item: udp://238.93.4.101:40000, node: Playlist, skip: 0
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 1 items, index 0
main debug: starting playback of new item
main debug: resyncing on udp://238.93.4.101:40000
main debug: udp://238.93.4.101:40000 is at 0
main debug: creating new input thread
main debug: Creating an input for 'udp://238.93.4.101:40000'
main debug: requesting art for new input thread
main debug: using timeshift granularity of 50 MiB
main debug: using timeshift path: C:\Users\admin\AppData\Local\Temp
main debug: `udp://@238.93.4.101:40000' gives access `udp' demux `any' path `@238.93.4.101:40000'
main debug: creating demux: access='udp' demux='any' location='@238.93.4.101:40000' file='\\@238.93.4.101:40000'
main debug: looking for access_demux module matching "udp": 15 candidates
main debug: no access_demux modules matched
main debug: creating access: udp://@238.93.4.101:40000
main debug: (path: \\@238.93.4.101:40000)
main debug: looking for access module matching "udp": 26 candidates
udp debug: opening server=:0 local=238.93.4.101:40000
main debug: net: opening 238.93.4.101 datagram port 40000
main debug: looking for meta fetcher module matching "any": 1 candidates
lua debug: Trying Lua scripts in C:\Users\admin\AppData\Roaming\vlc\lua\meta\fetcher
lua debug: Trying Lua scripts in F:\temp\vlc-3.0.4\lua\meta\fetcher
main debug: no meta fetcher modules matched
main debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\admin\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in F:\temp\vlc-3.0.4\lua\meta\art
main debug: no art finder modules matched
main debug: using access module "udp"
main debug: looking for stream_filter module matching "prefetch,cache_block": 24 candidates
prefetch debug: using 16777216 bytes buffer, 16384 bytes read
main debug: using stream_filter module "prefetch"
main debug: looking for stream_filter module matching "any": 24 candidates
qt debug: IM: Setting an input
lua debug: Trying Lua scripts in C:\Users\admin\AppData\Roaming\vlc\lua\playlist
lua debug: Trying Lua scripts in F:\temp\vlc-3.0.4\lua\playlist
main debug: no stream_filter modules matched
main debug: looking for stream_directory module matching "any": 1 candidates
main debug: no stream_directory modules matched
main debug: attachment of directory-extractor failed for udp://@238.93.4.101:40000
main debug: looking for stream_filter module matching "record": 24 candidates
main debug: using stream_filter module "record"
main debug: creating demux: access='udp' demux='any' location='@238.93.4.101:40000' file='\\@238.93.4.101:40000'
main debug: looking for demux module matching "any": 55 candidates
main debug: looking for xml reader module matching "any": 1 candidates
main debug: using xml reader module "xml"
ts debug: TS module discarded (lost sync)
mod debug: MOD validation failed (ext=101:40000)
webvtt debug: subtitle demux discarded
avcodec debug: trying url: \\@238.93.4.101:40000
avcodec debug: CPU flags: 0x000fd3db
avcodec debug: detected format: mp3

Re: VLC 3.0.4 not working for multicast PS stream, while 2.2.7 works

Posted: 10 Sep 2018 16:05
by avsuper
Anybody knows what changed from v2.2.7 to v3.0+ for udp multicast

Re: VLC 3.0.4 not working for multicast PS stream, while 2.2.7 works

Posted: 29 Oct 2018 14:36
by radnix
I'm also have the same problem with 3.0.4 while 2.2.x work for me.

Origin: Multicast stream MPEG TS sent to: VLC input: udp://@234.222.12.7:25000

previous releases all work showing good video but fails with the 3.0.4

Re: VLC 3.0.4 not working for multicast PS stream, while 2.2.7 works

Posted: 29 Oct 2018 15:48
by JLutter
I am having similar problems streaming not working since the upgrade to 3.0.4 from 2.x. I think there is something wrong with VLC but so far I have not gotten much help. I thought I would add my "Me too" to this thread as well. :)

Re: VLC 3.0.4 not working for multicast PS stream, while 2.2.7 works

Posted: 29 Oct 2018 16:55
by InTheWings
MPEG PS isn't designed to be streamed. Use TS

Re: VLC 3.0.4 not working for multicast PS stream, while 2.2.7 works

Posted: 11 Jan 2019 20:35
by SpacemanSpiff12
Just wanted to add to this - I am using MPEG TS and the issue is exactly as described above by others.