Page 1 of 1

how to stream AVI (XVID+MP3) VLC/win32 with no transcoding?

Posted: 21 Jan 2009 12:42
by aik
I run 2 instances of VLC on the same machine and try streaming AVI file. No matter what I choose - MPEG-TS, OGG, MOV,... - HTTP, RTP, UDP - it does not stream - no data is on receiving side.

Could anybody tell me any scenario which must stream AVI with DIVX+MP3 inside WITHOUT transcoding to another VLC on the same machine? Or - confirm that this is impossible. Many thanks in advance.

WindowsXP, VLC is fresh, from GIT.

Re: how to stream AVI (XVID+MP3) VLC/win32 with no transcoding?

Posted: 21 Jan 2009 17:17
by VLC_help
What error messages you get to VLC message log (Tools -> Messages...)?

Re: how to stream AVI (XVID+MP3) VLC/win32 with no transcoding?

Posted: 21 Jan 2009 17:39
by aik
What error messages you get to VLC message log (Tools -> Messages...)?
Seems to be my fault. The binaries from the site (vlc-0.9.8a-bin) work fine while my ones compiled from the GIT do not. If anybody is still interested in the topic, below are 2 logs for the latest (not working) version. I've patched debug output a little to print source code position :)


Sender:

dialogs/open.cpp(386): qt4 debug: MRL passed to the Sout: C:\temp\1109 More Crap.avi
dialogs_provider.cpp(554): qt4 debug: Sout mrl :sout=#rtp{dst="127.0.0.1",mux="ts",port="1234"}
playlist/item.c(422): main debug: adding item `Streaming' ( C:\temp\1109 More Crap.avi )
playlist/thread.c(191): main debug: rebuilding array of current - root Плейлист
playlist/thread.c(208): main debug: rebuild done - 1 items, index -1
playlist/thread.c(330): main debug: processing request item Streaming node null skip 0
playlist/thread.c(168): main debug: resyncing on Streaming
playlist/thread.c(180): main debug: Streaming is at 0
playlist/thread.c(548): main debug: starting new item
playlist/thread.c(243): main debug: creating new input thread
input/input.c(140): main debug: Creating an input for 'Streaming'
recents.cpp(70): qt4 debug: Adding a new MRL to recent ones: C:\temp\1109 More Crap.avi
misc/threads.c(891): main debug: thread (input) created at priority 1 (input/input.c:369)
input_manager.cpp(81): qt4 debug: IM: Setting an input
misc/threads.c(841): main debug: thread started
stream_output/stream_output.c(786): main debug: stream=`rtp'
modules/modules.c(572): main debug: looking for sout stream module: 1 candidate
config/chain.c(451): main debug: set config option: sout-rtp-dst to 127.0.0.1
config/chain.c(451): main debug: set config option: sout-rtp-mux to ts
config/chain.c(451): main debug: set config option: sout-rtp-port to 1234
modules/modules.c(572): main debug: looking for sout mux module: 1 candidate
ts.c(787): mux_ts debug: shaping=200000 pcr=70000 dts_delay=400000
modules/modules.c(618): main debug: using sout mux module "mux_ts"
misc/stats.c(610): main debug: TIMER module_need() : 9.000 ms - Total 9.000 ms / 1 intvls (Avg 9.000 ms)
stream_output/stream_output.c(462): main debug: muxer support adding stream at any time
stream_output/stream_output.c(481): main debug: muxer prefers to wait for all ES before starting to mux
rtp.c(929): stream_out_rtp debug: maximum RTP packet size: 1400 bytes
network/udp.c(651): main debug: net: connecting to [127.0.0.1]:1234
network/udp.c(746): main debug: net: connecting to [127.0.0.1]:1235 from [127.0.0.1]:3201
misc/threads.c(891): main debug: thread (RTP send thread) created at priority 15 (rtp.c:1266)
misc/threads.c(841): main debug: thread started
rtp.c(1281): stream_out_rtp debug: sdp=
v=0
o=- 14781319774025040701 14781319774025040701 IN IP4 AIK
s=Unnamed
i=N/A
c=IN IP4 127.0.0.1
t=0 0
a=tool:vlc 1.0.0-git
a=recvonly
a=type:broadcast
a=charset:UTF-8
m=video 1234 RTP/AVP 33
b=RR:0
a=rtpmap:33 MP2T/90000

modules/modules.c(618): main debug: using sout stream module "stream_out_rtp"
misc/stats.c(610): main debug: TIMER module_need() : 79.000 ms - Total 79.000 ms / 1 intvls (Avg 79.000 ms)
input/es_out_timeshift.c(330): main debug: using timeshift granularity of 52428800 bytes
input/es_out_timeshift.c(334): main debug: using timeshift path 'c:\Temp'
input/input.c(2324): main debug: `C:\temp\1109 More Crap.avi' gives access `' demux `' path `C:\temp\1109 More Crap.avi'
input/demux.c(69): main debug: creating demux: access='' demux='' path='C:\temp\1109 More Crap.avi'
modules/modules.c(572): main debug: looking for access_demux module: 1 candidate
misc/stats.c(610): main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
input/access.c(45): main debug: creating access '' path='C:\temp\1109 More Crap.avi'
modules/modules.c(572): main debug: looking for access module: 4 candidates
cdrom.c(858): vcd debug: trying .cue file: C:\temp\1109 More Crap.cue
cdrom.c(862): vcd debug: could not find .cue file
file.c(145): access_file debug: opening file `C:\temp\1109 More Crap.avi'
modules/modules.c(618): main debug: using access module "access_file"
misc/stats.c(610): main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
input/stream.c(401): main debug: Using AStream*Stream
input/stream.c(1405): main debug: pre buffering
input/stream.c(1445): main debug: received first data after 0 ms
input/stream.c(1428): main debug: pre-buffering done 1024 bytes in 0s - 1000000 kbytes/s
modules/modules.c(572): main debug: looking for stream_filter module: 1 candidate
misc/stats.c(610): main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
modules/modules.c(572): main debug: looking for stream_filter module: 1 candidate
modules/modules.c(618): main debug: using stream_filter module "stream_filter_record"
misc/stats.c(610): main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
input/demux.c(69): main debug: creating demux: access='' demux='' path='C:\temp\1109 More Crap.avi'
modules/modules.c(572): main debug: looking for demux module: 54 candidates
libavi.c(78): avi debug: found Chunk fourcc:46464952 (RIFF) size:182972404 pos:0
libavi.c(164): avi debug: found LIST chunk: 'AVI '
libavi.c(166): avi debug: <list 'AVI '>
libavi.c(78): avi debug: found Chunk fourcc:5453494c (LIST) size:8830 pos:12
libavi.c(164): avi debug: found LIST chunk: 'hdrl'
libavi.c(166): avi debug: <list 'hdrl'>
libavi.c(78): avi debug: found Chunk fourcc:68697661 (avih) size:56 pos:24
libavi.c(283): avi debug: avih: streams:2 flags: HAS_INDEX IS_INTERLEAVED 512x384
libavi.c(78): avi debug: found Chunk fourcc:5453494c (LIST) size:4244 pos:88
libavi.c(164): avi debug: found LIST chunk: 'strl'
libavi.c(166): avi debug: <list 'strl'>
libavi.c(78): avi debug: found Chunk fourcc:68727473 (strh) size:56 pos:100
libavi.c(311): avi debug: strh: type:vids handler:0x44697658 samplesize:0 23.98fps
libavi.c(78): avi debug: found Chunk fourcc:66727473 (strf) size:40 pos:164
libavi.c(414): avi debug: strf: video:XVID 512x384 planes:1 12bpp
libavi.c(78): avi debug: found Chunk fourcc:4b4e554a (JUNK) size:4120 pos:212
libavi.c(202): avi debug: </list 'strl'>
libavi.c(78): avi debug: found Chunk fourcc:5453494c (LIST) size:4234 pos:4340
libavi.c(164): avi debug: found LIST chunk: 'strl'
libavi.c(166): avi debug: <list 'strl'>
libavi.c(78): avi debug: found Chunk fourcc:68727473 (strh) size:56 pos:4352
libavi.c(311): avi debug: strh: type:auds handler:0x00000000 samplesize:0 41.67fps
libavi.c(78): avi debug: found Chunk fourcc:66727473 (strf) size:30 pos:4416
libavi.c(379): avi debug: strf: audio:0x0055 channels:2 48000Hz 0bits/sample 129kb/s
libavi.c(78): avi debug: found Chunk fourcc:4b4e554a (JUNK) size:4120 pos:4454
libavi.c(202): avi debug: </list 'strl'>
libavi.c(78): avi debug: found Chunk fourcc:5453494c (LIST) size:260 pos:8582
libavi.c(164): avi debug: found LIST chunk: 'odml'
libavi.c(166): avi debug: <list 'odml'>
libavi.c(78): avi debug: found Chunk fourcc:686c6d64 (dmlh) size:248 pos:8594
libavi.c(753): avi warning: unknown chunk (not loaded)
libavi.c(202): avi debug: </list 'odml'>
libavi.c(202): avi debug: </list 'hdrl'>
libavi.c(78): avi debug: found Chunk fourcc:5453494c (LIST) size:28 pos:8850
libavi.c(164): avi debug: found LIST chunk: 'INFO'
libavi.c(166): avi debug: <list 'INFO'>
libavi.c(78): avi debug: found Chunk fourcc:54465349 (ISFT) size:15 pos:8862
libavi.c(637): avi debug: ISFT: software : Nandub v1.0rc2
libavi.c(202): avi debug: </list 'INFO'>
libavi.c(78): avi debug: found Chunk fourcc:4b4e554a (JUNK) size:1346 pos:8886
libavi.c(78): avi debug: found Chunk fourcc:5453494c (LIST) size:181575116 pos:10240
libavi.c(147): avi debug: skipping movi chunk
libavi.c(78): avi debug: found Chunk fourcc:31786469 (idx1) size:1387040 pos:181585364
libavi.c(477): avi debug: idx1: index entry:86690
libavi.c(202): avi debug: </list 'AVI '>
libavi.c(78): avi debug: found Chunk fourcc:4b4e554a (JUNK) size:2044 pos:182972412
libavi.c(829): avi debug: * LIST-root size:182974464 pos:0
libavi.c(829): avi debug: + RIFF-AVI size:182972404 pos:0
libavi.c(829): avi debug: | + LIST-hdrl size:8830 pos:12
libavi.c(829): avi debug: | | + avih size:56 pos:24
libavi.c(829): avi debug: | | + LIST-strl size:4244 pos:88
libavi.c(829): avi debug: | | | + strh size:56 pos:100
libavi.c(829): avi debug: | | | + strf size:40 pos:164
libavi.c(829): avi debug: | | | + JUNK size:4120 pos:212
libavi.c(829): avi debug: | | + LIST-strl size:4234 pos:4340
libavi.c(829): avi debug: | | | + strh size:56 pos:4352
libavi.c(829): avi debug: | | | + strf size:30 pos:4416
libavi.c(829): avi debug: | | | + JUNK size:4120 pos:4454
libavi.c(829): avi debug: | | + LIST-odml size:260 pos:8582
libavi.c(829): avi debug: | | | + dmlh size:248 pos:8594
libavi.c(829): avi debug: | + LIST-INFO size:28 pos:8850
libavi.c(829): avi debug: | | + ISFT size:15 pos:8862
libavi.c(829): avi debug: | + JUNK size:1346 pos:8886
libavi.c(829): avi debug: | + LIST-movi size:181575116 pos:10240
libavi.c(829): avi debug: | + idx1 size:1387040 pos:181585364
libavi.c(829): avi debug: + JUNK size:2044 pos:182972412
avi.c(338): avi debug: AVIH: 2 stream, flags HAS_INDEX IS_INTERLEAVED
avi.c(380): avi debug: stream[0] rate:24000 scale:1001 samplesize:0
avi.c(567): avi debug: stream[0] video(XVID) 512x384 12bpp 23.976024fps
input/es_out.c(963): main debug: selecting program id=0
avi.c(380): avi debug: stream[1] rate:48000 scale:1152 samplesize:0
avi.c(423): avi debug: stream[1] audio(0x55) 2 channels 48000Hz 0bits
avi.c(2363): avi debug: stream[0] created 31664 index entries
avi.c(2363): avi debug: stream[1] created 55026 index entries
avi.c(2557): avi debug: stream[0] length:1320 (based on index)
avi.c(2557): avi debug: stream[1] length:1320 (based on index)
modules/modules.c(618): main debug: using demux module "avi"
misc/stats.c(610): main debug: TIMER module_need() : 35.000 ms - Total 35.000 ms / 1 intvls (Avg 35.000 ms)
input/subtitles.c(338): main debug: looking for a subtitle file in C:\temp\
modules/modules.c(572): main debug: looking for packetizer module: 20 candidates
modules/modules.c(618): main debug: using packetizer module "packetizer_mpeg4video"
misc/stats.c(610): main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
misc/threads.c(891): main debug: thread (decoder) created at priority 0 (input/decoder.c:316)
misc/threads.c(841): main debug: thread started
input_manager.cpp(187): qt4 debug: New Event: type 1103
modules/modules.c(572): main debug: looking for packetizer module: 20 candidates
modules/modules.c(618): main debug: using packetizer module "mpeg_audio"
misc/stats.c(610): main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
misc/threads.c(891): main debug: thread (decoder) created at priority 2 (input/decoder.c:316)
misc/threads.c(841): main debug: thread started
input/input.c(1206): main debug: starting in async mode
input/input.c(1229): main debug: `C:\temp\1109 More Crap.avi' successfully opened
avi.c(1801): avi debug: old:0 < new 0
avi.c(1801): avi debug: old:0 < new 0
input/es_out.c(634): main debug: Buffering 0%
input/es_out.c(634): main debug: Buffering 8%
mpeg_audio.c(494): mpeg_audio debug: MPGA channels:2 samplerate:48000 bitrate:128
stream_output/stream_output.c(211): main debug: adding a new sout input (sout_input:0p5c93490)
stream_output/stream_output.c(521): main debug: adding a new input
ts.c(997): mux_ts debug: adding input codec=mpga pid=68
ts.c(1281): mux_ts debug: new PCR PID is 68
mpeg4video.c(390): packetizer_mpeg4video warning: waiting for VOL
mpeg4video.c(390): packetizer_mpeg4video warning: waiting for VOL
input/es_out.c(634): main debug: Buffering 16%
input/es_out.c(634): main debug: Buffering 25%
stream_output/stream_output.c(211): main debug: adding a new sout input (sout_input:0p5bdfc70)
stream_output/stream_output.c(521): main debug: adding a new input
ts.c(997): mux_ts debug: adding input codec=mp4v pid=69
ts.c(1281): mux_ts debug: new PCR PID is 69
input/es_out.c(634): main debug: Buffering 33%
input/es_out.c(634): main debug: Buffering 41%
input/es_out.c(634): main debug: Buffering 50%
input/es_out.c(634): main debug: Buffering 58%
input/es_out.c(634): main debug: Buffering 66%
input/es_out.c(634): main debug: Buffering 75%
input/es_out.c(634): main debug: Buffering 83%
input/es_out.c(634): main debug: Buffering 91%
input/es_out.c(634): main debug: Buffering 100%
input/es_out.c(640): main debug: Stream buffering done (325 ms in 2 ms)
input/es_out.c(663): main debug: Decoder buffering done in 0 ms
input/decoder.c(1766): main debug: switching to sync mode
input_manager.cpp(187): qt4 debug: New Event: type 1107
input_manager.cpp(187): qt4 debug: New Event: type 1107
input_manager.cpp(187): qt4 debug: New Event: type 1107
input_manager.cpp(187): qt4 debug: New Event: type 1112
input_manager.cpp(187): qt4 debug: New Event: type 1107
input_manager.cpp(187): qt4 debug: New Event: type 1114
input_manager.cpp(187): qt4 debug: New Event: type 1114
input_manager.cpp(187): qt4 debug: New Event: type 1114
input_manager.cpp(187): qt4 debug: New Event: type 1114
input_manager.cpp(187): qt4 debug: New Event: type 1114
input_manager.cpp(187): qt4 debug: New Event: type 1107
input_manager.cpp(187): qt4 debug: New Event: type 1114
input_manager.cpp(187): qt4 debug: New Event: type 1114
input_manager.cpp(187): qt4 debug: New Event: type 1114
input_manager.cpp(187): qt4 debug: New Event: type 1114
input_manager.cpp(187): qt4 debug: New Event: type 1114
input_manager.cpp(187): qt4 debug: New Event: type 1114
input_manager.cpp(187): qt4 debug: New Event: type 1107
input_manager.cpp(187): qt4 debug: New Event: type 1107
input_manager.cpp(187): qt4 debug: New Event: type 1112
input_manager.cpp(187): qt4 debug: New Event: type 1103



Receiver:

playlist/item.c(422): main debug: adding item `rtp://127.0.0.1:1234' ( rtp://127.0.0.1:1234 )
playlist/thread.c(191): main debug: rebuilding array of current - root Плейлист
playlist/thread.c(208): main debug: rebuild done - 1 items, index -1
playlist/thread.c(330): main debug: processing request item rtp://127.0.0.1:1234 node null skip 0
playlist/thread.c(168): main debug: resyncing on rtp://127.0.0.1:1234
playlist/thread.c(180): main debug: rtp://127.0.0.1:1234 is at 0
playlist/thread.c(548): main debug: starting new item
playlist/thread.c(243): main debug: creating new input thread
input/input.c(140): main debug: Creating an input for 'rtp://127.0.0.1:1234'
recents.cpp(70): qt4 debug: Adding a new MRL to recent ones: rtp://127.0.0.1:1234
misc/threads.c(891): main debug: thread (input) created at priority 1 (input/input.c:369)
input_manager.cpp(81): qt4 debug: IM: Setting an input
misc/threads.c(841): main debug: thread started
input/es_out_timeshift.c(330): main debug: using timeshift granularity of 52428800 bytes
input/es_out_timeshift.c(334): main debug: using timeshift path 'c:\Temp'
input/input.c(2324): main debug: `rtp://127.0.0.1:1234' gives access `rtp' demux `' path `127.0.0.1:1234'
input/demux.c(69): main debug: creating demux: access='rtp' demux='' path='127.0.0.1:1234'
modules/modules.c(572): main debug: looking for access_demux module: 1 candidate
network/udp.c(746): main debug: net: connecting to [127.0.0.1]:1234 from [<NULL>]:5004
network/udp.c(746): main debug: net: connecting to [127.0.0.1]:1235 from [<NULL>]:5005
modules/modules.c(618): main debug: using access_demux module "rtp"
misc/stats.c(610): main debug: TIMER module_need() : 32.000 ms - Total 32.000 ms / 1 intvls (Avg 32.000 ms)
input/subtitles.c(338): main debug: looking for a subtitle file in C:\Personal\Projects\vlc\vlc-1.0.0-git\
input/input.c(1229): main debug: `rtp://127.0.0.1:1234' successfully opened
input_manager.cpp(187): qt4 debug: New Event: type 1112
input_manager.cpp(187): qt4 debug: New Event: type 1103