Page 1 of 1
Streaming with VLC 1.1.0
Posted: 01 Jul 2010 21:30
by kj90
I open up a local file in vlc player and then stream it through udp, giving it a multicast address and port. However, I can't open up the network stream in a different vlc player. This works perfectly fine when I stream on VLC 0.8.6. Any ideas of what I could be doing wrong?
Thanks in advance.
Re: Streaming with VLC 1.1.0
Posted: 02 Jul 2010 00:04
by Jean-Baptiste Kempf
Try rtp
Re: Streaming with VLC 1.1.0
Posted: 06 Jul 2010 16:28
by kj90
I'm getting the same problem with rtp.
Re: Streaming with VLC 1.1.0
Posted: 07 Jul 2010 20:09
by kj90
So I realized that this is only a problem when I try to stream a local file. When I restream a stream, it works fine. Any ideas why? Do I need to activate transcoding? Am I setting some options wrong? Any help is appreciated.
Thanks.
Re: Streaming with VLC 1.1.0
Posted: 09 Jul 2010 17:23
by kj90
Maybe I'm setting something wrong with the transcoding?
Re: Streaming with VLC 1.1.0
Posted: 16 Jul 2010 15:32
by Jean-Baptiste Kempf
maybe input isn't fast enough...
Re: Streaming with VLC 1.1.0
Posted: 16 Jul 2010 19:12
by kj90
I'm not sure what you mean...? It works fine with vlc 0.8.6 though.
This is what shows up in messages:
Code: Select all
qt4 debug: MRL passed to the Sout: C:\Documents and Settings\kjoseph\Desktop\output.mpg
qt4 debug: Adding option: file-caching=300
qt4 debug: Adding option: :sout=#duplicate{dst=rtp{dst=239.255.0.12,port=1234,mux=ts},dst=display}
qt4 debug: Adding option: no-sout-rtp-sap
qt4 debug: Adding option: no-sout-standard-sap
qt4 debug: Adding option: sout-keep
main debug: adding item `Streaming' ( C:\Documents and Settings\kjoseph\Desktop\output.mpg )
qt4 debug: Adding a new MRL to recent ones: C:\Documents and Settings\kjoseph\Desktop\output.mpg
main debug: Creating an input for 'Streaming'
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 8 items, index 6
main debug: processing request item Streaming node null skip 0
main debug: resyncing on Streaming
main debug: Streaming is at 7
main debug: starting new item
main debug: creating new input thread
main debug: Creating an input for 'Streaming'
main debug: thread (input) created at priority 1 (../.././src/input/input.c:214)
main debug: thread started
main debug: reusing sout
main debug: you probably want to use gather stream_out
main debug: using timeshift granularity of 50 MiB
main debug: using timeshift path 'C:\DOCUME~1\kjoseph\LOCALS~1\Temp'
main debug: `C:\Documents and Settings\kjoseph\Desktop\output.mpg' gives access `' demux `' path `C:\Documents and Settings\kjoseph\Desktop\output.mpg'
main debug: creating demux: access='' demux='' path='C:\Documents and Settings\kjoseph\Desktop\output.mpg'
main debug: looking for access_demux module: 4 candidates
main debug: no access_demux module matching "any" could be loaded
main debug: TIMER module_need() : 2.000 ms - Total 2.000 ms / 1 intvls (Avg 2.000 ms)
main debug: creating access '' path='C:\Documents and Settings\kjoseph\Desktop\output.mpg'
main debug: looking for access module: 5 candidates
vcd debug: trying .cue file: C:\Documents and Settings\kjoseph\Desktop\output.cue
vcd debug: could not find .cue file
filesystem debug: opening file `C:\Documents and Settings\kjoseph\Desktop\output.mpg'
main debug: using access module "filesystem"
main debug: TIMER module_need() : 2.000 ms - Total 2.000 ms / 1 intvls (Avg 2.000 ms)
main debug: Using AStream*Stream
main debug: pre buffering
main debug: received first data after 0 ms
main debug: pre-buffering done 1024 bytes in 0s - 1000000 KiB/s
main debug: looking for stream_filter module: 2 candidates
main debug: no stream_filter module matching "any" could be loaded
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: no fetch required for (null) (art currently (null))
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='' demux='' path='C:\Documents and Settings\kjoseph\Desktop\output.mpg'
main debug: looking for demux module: 50 candidates
main debug: using demux module "ps"
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: starting in async mode
main debug: looking for meta reader module: 2 candidates
lua debug: Trying Lua scripts in C:\Documents and Settings\kjoseph\Application Data\vlc\lua\meta\reader
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\reader
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.lua
main debug: no meta reader module matching "any" could be loaded
main debug: TIMER module_need() : 3.000 ms - Total 3.000 ms / 1 intvls (Avg 3.000 ms)
main debug: `C:\Documents and Settings\kjoseph\Desktop\output.mpg' successfully opened
ps warning: garbage at input, trying to resync...
ps warning: found sync code
ps debug: we found a length of: 1488880000
main debug: selecting program id=0
main debug: looking for packetizer module: 21 candidates
main debug: using packetizer module "packetizer_mpegvideo"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: thread started
main debug: thread (decoder) created at priority 0 (../.././src/input/decoder.c:301)
main debug: Buffering 0%
main debug: switching to sync mode
packetizer_mpegvideo debug: size 256x256 fps=25.000
main debug: adding a new sout input (sout_input:0168f4f0)
stream_out_duplicate debug: duplicated a new stream codec=mpgv (es=0 group=0)
main debug: adding a new input
mux_ts debug: adding input codec=mpgv pid=70
mux_ts debug: new PCR PID is 70
stream_out_duplicate debug: - added for output 0
main debug: looking for decoder module: 34 candidates
avcodec debug: libavcodec already initialized
avcodec debug: trying to use direct rendering
avcodec debug: ffmpeg codec (MPEG-1/2 Video) started
main debug: using decoder module "avcodec"
main debug: TIMER module_need() : 2.000 ms - Total 2.000 ms / 1 intvls (Avg 2.000 ms)
main debug: thread (decoder) created at priority 0 (../.././src/input/decoder.c:301)
main debug: thread started
stream_out_duplicate debug: - added for output 1
main debug: Stream buffering done (360 ms in 6 ms)
main debug: Decoder buffering done in 0 ms
main debug: no usable vout present, spawning one
main debug: looking for text renderer module: 2 candidates
freetype debug: Building font databases.
qt4 debug: IM: Setting an input
mux_ts warning: packet with too strange dts (dts=12273637000,old=107717314688,pcr=107717314688)
freetype debug: Took 194000 microseconds
freetype debug: Using Arial as font from file C:/WINDOWS/fonts/arial.ttf
freetype debug: using fontsize: 2
main debug: using text renderer module "freetype"
main debug: TIMER module_need() : 195.000 ms - Total 195.000 ms / 1 intvls (Avg 195.000 ms)
main debug: looking for video filter2 module: 18 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() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: looking for video filter2 module: 18 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: 256x256
main debug: Deinterlacing available
main debug: deinterlace 0, mode blend, is_needed 0
main debug: looking for video output module: 1 candidate
vout_wrapper debug: Opening vout display wrapper
main debug: looking for vout display module: 8 candidates
directx debug: creating Vout EventThread
directx debug: DirectXCreateWindow
main debug: looking for vout window hwnd module: 3 candidates
qt4 debug: requesting video...
qt4 debug: Video was requested 0, 0
main debug: using vout window hwnd module "qt4"
main debug: TIMER module_need() : 42.000 ms - Total 42.000 ms / 1 intvls (Avg 42.000 ms)
directx debug: created video sub-window
directx debug: Vout EventThread running
directx debug: disabling screen saver
directx debug: directx-device:
directx debug: DirectXEnumCallback: NVIDIA Quadro NVS 135M, \\.\DISPLAY1
directx debug: selecting NVIDIA Quadro NVS 135M, \\.\DISPLAY1
directx debug: DirectXEnumCallback: NVIDIA Quadro NVS 135M, \\.\DISPLAY2
directx debug: screen dimensions (0x0,1280x1024)
directx debug: DirectDraw Capabilities: overlay=1 yuvoverlay=1 can_deinterlace_overlay=1 colorkey=1 stretch=1 bltfourcc=1
directx debug: align_boundary_src=0,0 align_boundary_dest=1,1 align_size_src=0,0 align_size_dest=0,0
main debug: VoutDisplayEvent 'resize' 264x283 window
directx debug: YUV plain surface created successfully
main debug: using vout display module "directx"
main debug: TIMER module_need() : 88.000 ms - Total 88.000 ms / 1 intvls (Avg 88.000 ms)
main debug: using video output module "vout_wrapper"
main debug: TIMER module_need() : 88.000 ms - Total 88.000 ms / 1 intvls (Avg 88.000 ms)
main debug: got 1 direct buffer(s)
main debug: pic render sz 256x256, of (0,0), vsz 256x256, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
main debug: pic in sz 256x256, of (0,0), vsz 256x256, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
main debug: pic out sz 256x256, of (0,0), vsz 256x256, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
main debug: direct render, mapping render pictures 0-23 to system pictures 1-24
avcodec debug: using direct rendering
main debug: VoutDisplayEvent 'resize' 427x256 window
freetype debug: using fontsize: 16
main debug: looking for video blending module: 1 candidate
blend debug: chroma: YUVA -> I420
main debug: using video blending module "blend"
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: Post-processing available
main warning: vlc_object_find_name(postproc) is not safe!
main debug: auto hidding mouse
Re: Streaming with VLC 1.1.0
Posted: 25 Jul 2010 07:28
by Cweord
I am having similar issues,
I used to stream on UDP on 224.0.0.1:1234
I cant make UDP work at all in the new win VLC, but thought ok, try HTTP or RTP - but no luck - I cant get anything to work
the main things I am sending are in DivX avi, and used to stream fine (I have used the same video for testing I used before), I have tried transcoding to mpeg, with little success
I could be using the wrong settings, when it starts asking for a path I am not sure what it is looking for - but all I am looking for is a multicast stream that can be watched simultaneously on multiple machines (in sync). My wife and I tend to watch at the same time, in the same room on 2 different computers while we work, so I have the sound on on one machine and the video on both - with UDP this worked fine, even had lip sync.
I cant find any docs that cover 1.1 or describe what you can or cant do - or even how to do it
Can anyone help.