VLC, ftp, with user name and password

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.
ICANSEEYOU7687
New Cone
New Cone
Posts: 4
Joined: 22 May 2010 22:23

VLC, ftp, with user name and password

Postby ICANSEEYOU7687 » 22 May 2010 22:29

im trying to get vlc to work with my own ftp server.

It seems like its connecting fine, from my ftp server logs, and I get half a second of a black screen then it goes away, and if I add the caching command (i tried 5000 ms) I get 5 seconds of black screen, lol.
so im not sure, I am using AVI's which I have read mpeg works better... but it should still work.

Anyways, I made a batch script that runs this. Also found a couple other posts here on this topic with an mpeg and avi link to a public ftp somewhere with video, which loaded. So something else is going on here.

anyways, could someone tell me if im using the command prompt stuff correctly.

Code: Select all

vlc ftp://my.ftp.server:44635/cd.avi --ftp-user=login --ftp-pwd=password --ftp-caching=5000

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

Re: VLC, ftp, with user name and password

Postby VLC_help » 23 May 2010 20:41

Yep. Open Tools -> Messages... (set Verbosity to 2) and press play. It should complain.

ICANSEEYOU7687
New Cone
New Cone
Posts: 4
Joined: 22 May 2010 22:23

Re: VLC, ftp, with user name and password

Postby ICANSEEYOU7687 » 23 May 2010 22:33

all that i see is
main info: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
a52 info: A/52 channels:6 samplerate:48000 bitrate:448000

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

Re: VLC, ftp, with user name and password

Postby VLC_help » 24 May 2010 19:18

You should see more.

ICANSEEYOU7687
New Cone
New Cone
Posts: 4
Joined: 22 May 2010 22:23

Re: VLC, ftp, with user name and password

Postby ICANSEEYOU7687 » 25 May 2010 06:55

I changed the server, port, user name, and password, and my IP address, hope you dont mind... this is kind of lengthy though

Code: Select all

main info: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. a52 info: A/52 channels:6 samplerate:48000 bitrate:448000 main debug: starting new item main debug: processing request item ftp://server.name.com:54657/cd1.avi node Playlist skip 0 main debug: resyncing on ftp://server.name.com:54657/cd1.avi main debug: ftp://server.name.com:54657/cd1.avi is at 0 main debug: creating new input thread main debug: Creating an input for 'ftp://server.name.com:54657/cd1.avi' main debug: waiting for thread initialization main debug: thread started main debug: thread 4760 (input) created at priority 1 (input/input.c:370) main debug: `ftp://server.name.com:54657/cd1.avi' gives access `ftp' demux `' path `server.name.com:54657/cd1.avi' qt4 debug: Updating the stream status: 3 main debug: creating demux: access='ftp' demux='' path='server.name.com:54657/cd1.avi' main debug: looking for access_demux module: 0 candidates main warning: no access_demux module matched "ftp" main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: creating access 'ftp' path='server.name.com:54657/cd1.avi' main debug: looking for access module: 1 candidate main debug: net: connecting to server.name.com port 50000 main debug: connection: Resource temporarily unavailable main debug: connection succeeded (socket = 5320) access_ftp debug: answer=220-FileZilla Server version 0.9.34 beta access_ftp debug: connection accepted (220) access_ftp debug: ftp_SendCommand:"USER user_name" access_ftp debug: answer=331 Password required for admin access_ftp debug: password needed access_ftp debug: ftp_SendCommand:"PASS password" access_ftp debug: answer=230 Logged on access_ftp debug: password accepted access_ftp debug: ftp_SendCommand:"EPSV ALL" access_ftp debug: answer=229 Entering Extended Passive Mode (|||50070|) access_ftp debug: ftp_SendCommand:"TYPE I" access_ftp debug: answer=200 Type set to I access_ftp debug: ftp_SendCommand:"SIZE cd1.avi" access_ftp debug: answer=213 735277056 access_ftp debug: file size: 735277056 access_ftp debug: ftp_SendCommand:"EPSV" access_ftp debug: answer=229 Entering Extended Passive Mode (|||50071|) access_ftp debug: ip:111.111.111.111 port:50071 access_ftp debug: ftp_SendCommand:"TYPE I" access_ftp debug: answer=200 Type set to I access_ftp debug: waiting for data connection... main debug: net: connecting to 111.111.111.111 port 50071 main debug: connection: Resource temporarily unavailable main debug: connection succeeded (socket = 5344) access_ftp debug: connection with "111.111.111.111:50071" successful access_ftp debug: ftp_SendCommand:"RETR cd1.avi" access_ftp debug: answer=150 Connection accepted main debug: using access module "access_ftp" main debug: TIMER module_Need() : 62.000 ms - Total 62.000 ms / 1 intvls (Avg 62.000 ms) qt4 debug: New Event: type 1103 qt4 debug: Updating the stream status: 2 main debug: Using AStream*Stream main debug: pre-buffering... main debug: received first data for our buffer main debug: creating demux: access='ftp' demux='' path='server.name.com:54657/cd1.avi' main debug: looking for demux module: 59 candidates avi debug: found Chunk fourcc:46464952 (RIFF) size:735276720 pos:0 avi debug: found LIST chunk: 'AVI ' avi debug: <list 'AVI '> avi debug: found Chunk fourcc:5453494c (LIST) size:8818 pos:12 avi debug: found LIST chunk: 'hdrl' avi debug: <list 'hdrl'> avi debug: found Chunk fourcc:68697661 (avih) size:56 pos:24 avi debug: avih: streams:2 flags: HAS_INDEX IS_INTERLEAVED 624x352 avi debug: found Chunk fourcc:5453494c (LIST) size:4244 pos:88 avi debug: found LIST chunk: 'strl' avi debug: <list 'strl'> avi debug: found Chunk fourcc:68727473 (strh) size:56 pos:100 avi debug: strh: type:vids handler:0x44495658 samplesize:0 23.98fps avi debug: found Chunk fourcc:66727473 (strf) size:40 pos:164 avi debug: strf: video:XVID 624x352 planes:1 12bpp avi debug: found Chunk fourcc:4b4e554a (JUNK) size:4120 pos:212 avi debug: </list 'strl'> avi debug: found Chunk fourcc:5453494c (LIST) size:4222 pos:4340 avi debug: found LIST chunk: 'strl' avi debug: <list 'strl'> avi debug: found Chunk fourcc:68727473 (strh) size:56 pos:4352 avi debug: strh: type:auds handler:0x00000000 samplesize:1 56000.00fps avi debug: found Chunk fourcc:66727473 (strf) size:18 pos:4416 avi debug: strf: audio:0x2000 channels:6 48000Hz 0bits/sample 437kb/s avi debug: found Chunk fourcc:4b4e554a (JUNK) size:4120 pos:4442 avi debug: </list 'strl'> avi debug: found Chunk fourcc:5453494c (LIST) size:260 pos:8570 avi debug: found LIST chunk: 'odml' avi debug: <list 'odml'> avi debug: found Chunk fourcc:686c6d64 (dmlh) size:248 pos:8582 avi warning: unknown chunk (not loaded) avi debug: </list 'odml'> avi debug: </list 'hdrl'> avi debug: found Chunk fourcc:5453494c (LIST) size:56 pos:8838 avi debug: found LIST chunk: 'INFO' avi debug: <list 'INFO'> avi debug: found Chunk fourcc:54465349 (ISFT) size:44 pos:8850 avi debug: ISFT: software : VirtualDubMod 1.5.10.2 (build 2540/release) avi debug: </list 'INFO'> avi debug: found Chunk fourcc:4b4e554a (JUNK) size:1330 pos:8902 avi debug: found Chunk fourcc:5453494c (LIST) size:732262888 pos:10240 avi debug: skipping movi chunk avi debug: </list 'AVI '> avi debug: * LIST-root size:735277056 pos:0 avi debug: + RIFF-AVI size:735276720 pos:0 avi debug: | + LIST-hdrl size:8818 pos:12 avi debug: | | + avih size:56 pos:24 avi debug: | | + LIST-strl size:4244 pos:88 avi debug: | | | + strh size:56 pos:100 avi debug: | | | + strf size:40 pos:164 avi debug: | | | + JUNK size:4120 pos:212 avi debug: | | + LIST-strl size:4222 pos:4340 avi debug: | | | + strh size:56 pos:4352 avi debug: | | | + strf size:18 pos:4416 avi debug: | | | + JUNK size:4120 pos:4442 avi debug: | | + LIST-odml size:260 pos:8570 avi debug: | | | + dmlh size:248 pos:8582 avi debug: | + LIST-INFO size:56 pos:8838 avi debug: | | + ISFT size:44 pos:8850 avi debug: | + JUNK size:1330 pos:8902 avi debug: | + LIST-movi size:732262888 pos:10240 avi debug: AVIH: 2 stream, flags HAS_INDEX IS_INTERLEAVED avi debug: stream[0] rate:10000000 scale:417083 samplesize:0 avi debug: stream[0] video(XVID) 624x352 12bpp 23.976043fps main debug: selecting program id=0 qt4 debug: New Event: type 1108 avi debug: stream[1] rate:56000 scale:1 samplesize:1 avi debug: stream[1] audio(0x2000) 6 channels 48000Hz 0bits avi warning: cannot find idx1 chunk, no index defined avi warning: cannot find indx (misdetect/broken OpenDML file?) avi warning: cannot find indx (misdetect/broken OpenDML file?) avi debug: stream[0] created 0 index entries avi debug: stream[1] created 0 index entries avi warning: broken or missing index, 'seek' will be approximative or will exhibit strange behavior avi warning: cannot create index (unseekable stream) avi warning: cannot find idx1 chunk, no index defined avi warning: cannot find indx (misdetect/broken OpenDML file?) avi warning: cannot find indx (misdetect/broken OpenDML file?) avi debug: stream[0] created 0 index entries avi debug: stream[1] created 0 index entries avi warning: broken or missing index, 'seek' will be approximative or will exhibit strange behavior main debug: using demux module "avi" main debug: TIMER module_Need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms) main debug: looking for a subtitle file in C:\Users\Wesley\Desktop\ main debug: looking for decoder module: 33 candidates avcodec debug: libavcodec already initialized avcodec debug: using direct rendering avcodec debug: ffmpeg codec (MPEG-4 Video) started main debug: using decoder module "avcodec" main debug: TIMER module_Need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms) main debug: thread 5752 (decoder) created at priority 0 (input/decoder.c:217) main debug: thread started main debug: looking for decoder module: 33 candidates main debug: using decoder module "a52" main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: thread 5684 (decoder) created at priority 2 (input/decoder.c:217) main debug: `ftp://server.name.com:54657/cd1.avi' successfully opened main debug: thread started a52 info: A/52 channels:6 samplerate:48000 bitrate:448000 qt4 debug: New Event: type 1103 main debug: no aout present, spawning one main debug: control type=1 main debug: looking for audio output module: 3 candidates aout_directx debug: OpenAudio main debug: no usable vout present, spawning one main debug: window size: 624x352 main debug: looking for video output module: 6 candidates aout_directx debug: found device: Primary Sound Driver aout_directx debug: found device: Speakers (Realtek High Definition Audio) aout_directx debug: found device: Speakers (DbusAudio) aout_directx debug: found device: Speakers (DbusAudio) aout_directx debug: found device: Speakers (DbusAudio) aout_directx debug: found device: Speakers (DbusAudio) aout_directx debug: found device: Speakers (DbusAudio) aout_directx debug: found device: Speakers (WsAudio_DeviceS(1)) aout_directx debug: found device: Speakers (DbusAudio) aout_directx debug: found device: Speakers (DbusAudio) aout_directx debug: found device: Speakers (DbusAudio) aout_directx debug: found device: Speakers (DbusAudio) aout_directx debug: found device: Speakers (DbusAudio) aout_directx debug: found device: Speakers (DbusAudio) aout_directx debug: found device: Realtek Digital Output (Realtek High Definition Audio) aout_directx debug: found device: Speakers (DbusAudio) aout_directx debug: found device: Speakers (DbusAudio) aout_directx debug: found device: Speakers (DbusAudio) aout_directx debug: found device: Speakers (DbusAudio) aout_directx debug: found device: Speakers (DbusAudio) qt4 debug: Updating the stream status: 3 direct3d debug: creating Vout EventThread main debug: waiting for thread initialization main debug: thread started direct3d debug: DirectXCreateWindow main debug: looking for vout window module: 2 candidates qt4 debug: waiting for interface... qt4 debug: requesting window... qt4 debug: Video was requested -1, -1 aout_directx debug: device supports 5.1 channels aout_directx debug: device supports 4 channels aout_directx debug: device supports 2 channels aout_directx debug: device supports 1 channel aout_directx debug: Windows says your SpeakerConfig is stereo aout_directx debug: creating DirectSoundThread main debug: thread started main debug: thread 5564 (DirectSound Notification Thread) created at priority 15 (directx.c:392) aout_directx debug: DirectSoundThread ready main debug: using audio output module "aout_directx" main debug: TIMER module_Need() : 131.000 ms - Total 131.000 ms / 1 intvls (Avg 131.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: 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 'a52 ' 48000 Hz 3F2R/LFE frame=1536 samples/1792 bytes main debug: filter(s) 'a52 '->'fl32' 48000 Hz->48000 Hz 3F2R/LFE->Stereo main debug: looking for audio filter module: 24 candidates main debug: using audio filter module "a52tofloat32" main debug: TIMER module_Need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.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 qt4 debug: Video is resizing to: 624 352 qt4 debug: Qt FS: Attaching Vout qt4 debug: Qt: Changing Fullscreen Mode main debug: using vout window module "qt4" main debug: TIMER module_Need() : 119.000 ms - Total 119.000 ms / 1 intvls (Avg 119.000 ms) direct3d debug: created video sub-window main debug: thread 5384 (Vout Events Thread) created at priority 0 (direct3d.c:206) direct3d debug: Vout EventThread running direct3d debug: disabling screen saver main debug: using video output module "direct3d" main debug: TIMER module_Need() : 207.000 ms - Total 207.000 ms / 1 intvls (Avg 207.000 ms) main debug: waiting for thread initialization main debug: thread started 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: picture in 624x352 (0,0,624x352), chroma I420, ar 382909:216000, sar 1:1 main debug: picture user 624x352 (0,0,624x352), chroma I420, ar 382909:216000, sar 1:1 main debug: picture out 624x352 (0,0,624x352), chroma YUY2, ar 382909:216000, sar 1:1 main debug: looking for video filter2 module: 19 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-7 to system pictures 1-8 main debug: thread 5860 (video output) created at priority 1 (video_output/video_output.c:502) qt4 debug: New Event: type 1109 main debug: EOF reached main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: looking for text renderer module: 2 candidates main debug: thread 5436 (fontlist builder) created at priority 0 (freetype.c:477) freetype debug: using fontsize: 22 main debug: using text renderer module "freetype" main debug: TIMER module_Need() : 2.000 ms - Total 2.000 ms / 1 intvls (Avg 2.000 ms) freetype debug: using fontsize: 22 main debug: thread started freetype debug: Building font database... freetype debug: Finished building font database. freetype debug: Took 0 seconds main debug: thread ended 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) main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: audio output is too slow (73000), trashing 50000us main warning: output date isn't PTS date, requesting resampling (73000) main warning: buffer is 87875 late, triggering upsampling main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: finished input main debug: waitpipe: object killed main debug: dying input qt4 debug: Updating the stream status: 8 main debug: removing module "a52" main debug: thread ended main debug: dying input main debug: dying input avi debug: free chunk avih avi debug: free chunk strh avi debug: free chunk strf avi debug: free chunk JUNK avi debug: free chunk LIST avi debug: free chunk strh avi debug: free chunk strf avi debug: free chunk JUNK avi debug: free chunk LIST avi warning: unknown chunk (not unloaded) avi debug: free chunk LIST avi debug: free chunk LIST avi debug: free chunk ISFT avi debug: free chunk LIST avi debug: free chunk JUNK avi debug: free chunk LIST avi debug: free chunk RIFF avi debug: free chunk LIST main debug: removing module "avi" access_ftp debug: stopping stream access_ftp debug: ftp_SendCommand:"ABOR" access_ftp error: failed to send command access_ftp warning: cannot abort file access_ftp debug: ftp_SendCommand:"QUIT" access_ftp error: failed to send command access_ftp warning: cannot quit main debug: removing module "access_ftp" avcodec debug: ffmpeg codec (MPEG-4 Video) stopped main debug: removing module "avcodec" main debug: thread ended main debug: thread times: real 0m2.466141s, kernel 0m0.062400s, user 0m0.015600s main debug: thread 5752 joined (input/decoder.c:248) main debug: killing decoder fourcc `XVID', 0 PES in FIFO main debug: removing module "i420_yuy2_sse2" direct3d debug: Direct3D scene released successfully direct3d debug: 1 Direct3D pictures released. main debug: thread ended main debug: thread times: real 0m2.295131s, kernel 0m0.140400s, user 0m0.015600s main debug: thread 5860 joined (video_output/video_output.c:536) direct3d debug: DirectXEventThread terminating direct3d debug: DirectXCloseWindow direct3d debug: WinProc WM_DESTROY qt4 debug: Qt FS: Detaching Vout qt4 debug: Qt: Changing Fullscreen Mode main debug: removing module "qt4" main debug: thread ended main debug: thread times: real 0m2.441139s, kernel 0m0.000000s, user 0m0.000000s main debug: thread 5384 joined (direct3d.c:292) main debug: removing module "direct3d" main debug: removing module "blend" main debug: thread times: real 0m0.000000s, kernel 0m0.000000s, user 0m0.000000s main debug: thread 5436 joined (freetype.c:511) main debug: removing module "freetype" main debug: thread times: real 0m2.376135s, kernel 0m0.031200s, user 0m0.015600s main debug: thread 5684 joined (input/decoder.c:248) main debug: killing decoder fourcc `a52 ', 1 PES in FIFO main debug: removing module "a52tofloat32" main debug: removing module "bandlimited_resampler" aout_directx debug: closing audio device qt4 debug: Video is not needed anymore qt4 debug: Updating the geometry main debug: dying input main debug: dying input main debug: dying input main debug: dying input aout_directx debug: DirectSoundThread exiting main debug: thread ended main debug: thread times: real 0m2.566146s, kernel 0m0.015600s, user 0m0.000000s main debug: thread 5564 joined (directx.c:664) main debug: removing module "aout_directx" main debug: removing module "converter_float" main debug: removing module "float32_mixer" main debug: thread ended main debug: dead input main debug: thread times: real 0m2.787159s, kernel 0m0.000000s, user 0m0.000000s main debug: thread 4760 joined (playlist/engine.c:244) main debug: TIMER input launching for 'ftp://server.name.com:54657/cd1.avi' : 72.000 ms - Total 72.000 ms / 1 intvls (Avg 72.000 ms) main debug: starting new item main debug: changing item without a request (current 0/1) main debug: nothing to play

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

Re: VLC, ftp, with user name and password

Postby VLC_help » 25 May 2010 16:47

It seems the FTP access module fails on seeking, and because of that, it cannot get AVI indexing info and playback fails.

ICANSEEYOU7687
New Cone
New Cone
Posts: 4
Joined: 22 May 2010 22:23

Re: VLC, ftp, with user name and password

Postby ICANSEEYOU7687 » 25 May 2010 20:20

strange, maybe filezilla just doesnt like VLC haha. thanks for the responses!

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

Re: VLC, ftp, with user name and password

Postby VLC_help » 26 May 2010 22:21

I think it is more of a limitation of VLC FTP access module.

VLSEE
New Cone
New Cone
Posts: 3
Joined: 01 Dec 2009 21:34

Re: VLC, ftp, with user name and password

Postby VLSEE » 27 May 2010 16:31

In this thread (viewtopic.php?f=2&t=67003&start=0) SawyerX mentions streaming from FTP still works with VLC player 0.8.6i, I tried it and it and that version works for me too, streaming video files from FTP just fine.

It's a real shame it doesn't work in the newer versions as it's a great feature and little to no alternative applications for this. Also it seems counter productive to have fewer features or break features in newer versions.

:-|


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 22 guests