Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
According to the mplayer man page, it looks like you can access a file via ftp. The data is still downloaded to your system though so if you're doing this to save on download limits it's not much good. Did you just want to save the time of the intermediate step of downloading the file?
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
You obviously need to download the files (i.e. the movie data) to play them.
I guess what you really want is the files not to be stored persistently to the file system (remove them after play) or not to be stored at all and be played on the fly, which seems doable to as mplayer handle URLs as a parameter.
kornerr@kornerr:/tmp/USERTMP$ mplayer ftp:// anonymous@10.104.4.253/video/1/Hot_Shots\!/Hot_Shots\!.avi:666
MPlayer 1.0pre7-3.3.6 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 9)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Playing ftp://.
[ftp] Bad url
Failed to open ftp://
Playing anonymous@10.104.4.253/video/1/Hot_Shots!/Hot_Shots!.avi:666.
File not found: 'anonymous@10.104.4.253/video/1/Hot_Shots!/Hot_Shots!.avi:666'
Failed to open anonymous@10.104.4.253/video/1/Hot_Shots!/Hot_Shots!.avi:666
Exiting... (End of file)
Code:
kornerr@kornerr:/tmp/USERTMP$ mplayer ftp://10.104.4.253/video/1/Hot_Shots\!/Hot_Shots\!.avi:666
MPlayer 1.0pre7-3.3.6 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 9)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Playing ftp://10.104.4.253/video/1/Hot_Shots!/Hot_Shots!.avi:666.
Connecting to server 10.104.4.253[10.104.4.253]:21 ...
[ftp] command 'SIZE video/1/Hot_Shots!/Hot_Shots!.avi:666
' failed: 550 video/1/Hot_Shots!/Hot_Shots!.avi:666: No such file or directory
[ftp] command 'RETR video/1/Hot_Shots!/Hot_Shots!.avi:666
' failed: 550 video/1/Hot_Shots!/Hot_Shots!.avi:666: No such file or directory
Failed to open ftp://10.104.4.253/video/1/Hot_Shots!/Hot_Shots!.avi:666
Exiting... (End of file)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.