Can AHK stream audio files using ftp?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Roonyroo
Posts: 36
Joined: 29 Jan 2014, 20:29

Can AHK stream audio files using ftp?

24 Jun 2014, 11:41

I'm having trouble finding an app, which allows you to stream media files, from ftp

I dont really need to stream films, mostly wav files using ftp

Atm no ftp clients seem to stream from ftp, & VLC has no file browser via ftp ...
User avatar
tank
Posts: 3130
Joined: 28 Sep 2013, 22:15
Location: CarrolltonTX
Contact:

Re: Can AHK stream audio files using ftp?

24 Jun 2014, 13:52

i dont think ftp support streaming. that is breaking a file up into small complete file segments that are checked for errors and ordered and played as they arrive.
you need some service running on the server that would send streaming file data
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
Telegram is the best way to reach me
https://t.me/ttnnkkrr
If you have forum suggestions please submit a
Check Out WebWriter
Roonyroo
Posts: 36
Joined: 29 Jan 2014, 20:29

Re: Can AHK stream audio files using ftp?

25 Jun 2014, 05:44

Hmm, what about something to buffer the file on the pc, ie plays back 1mb of the file, while it downloads in the background
User avatar
tank
Posts: 3130
Joined: 28 Sep 2013, 22:15
Location: CarrolltonTX
Contact:

Re: Can AHK stream audio files using ftp?

25 Jun 2014, 08:43

It really doesn't work that way at all. Any streaming service needs the entire file before it can be chopped up into smaller blocks.
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
Telegram is the best way to reach me
https://t.me/ttnnkkrr
If you have forum suggestions please submit a
Check Out WebWriter
Roonyroo
Posts: 36
Joined: 29 Jan 2014, 20:29

Re: Can AHK stream audio files using ftp?

25 Jun 2014, 09:16

You dont need the entire file

VLC works fine with ftp, but it has no ftp browser, which is why i'm wondering how to just cache the incoming file & play part of it

Basically play parts of the file downloaded, while downloading in the background

I'm not streaming a movie, I just want to play or preview a part of the file downloaded

ie a wav file
User avatar
tank
Posts: 3130
Joined: 28 Sep 2013, 22:15
Location: CarrolltonTX
Contact:

Re: Can AHK stream audio files using ftp?

25 Jun 2014, 11:14

doesnt matter what your streaming
Is it that you dont have the filename for VLC?

If there is some API that streams files from an ftp client i am unaware of it. No big thing there are lots of things i dont know.
if you need to browse files on an ftp server you need some way to get a file list. you can use a commandline ftp utility or automate a gui of an ftp client
http://www.nsftools.com/tips/MSFTP.htm ????
AHK provides ways of executing command line utilities or automating GUI. you can interact with public methods in DLL files or instantiate COM interfaces to applications that stream files over FTP.

Video files are special in most formats in that they actually are multiple hole files tacked together with metadata. that may be why they "appear" to be streamed via FTP
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
Telegram is the best way to reach me
https://t.me/ttnnkkrr
If you have forum suggestions please submit a
Check Out WebWriter

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Descolada, Mateusz53, peter_ahk, Rohwedder and 180 guests