If you serve the videos with the right mime type, then the browser should just play them. That is what I see anyway.
What type of videos?
If you serve the videos with the right mime type, then the browser should just play them. That is what I see anyway.
What type of videos?
Videos are mp4 type but i want to play them inside my own player,
server http cmd close when i close terminal and we cannot use daemon with server http, so i need to run cmd inside screen or tmux etc ?
you think is it possible to use http password with rclone and a external hosted player?
Thanks
rclone serve http
won't run PHP files. However if you can make your player in javascript that will work fine.
screen, tmux or use systemd to run it as a system service.
I don't know!
finally able to play video from serve http
with my own player
its good enough, but question is how to prevent user to browse my dropbox?
https://d.bollyfun.net/silip.html?v=test
if user only open domain it hit on my dropbox and use can see every thing, is there any way to prohibited this?
Thanks
Make sure all the video files are in a subdirectory and serve that - then the user will only be able to browse the video files.
If you don't want the user to browse at all then disable that by setting a new template like this
echo "Browsing disabled" > templatefile
rclone -vv serve http --template templatefile dropbox:Video
where i have to add this line?
Thanks
templatefile
--template templatefile
to your rclone serve http
command,.@asdffdsa thanks for you quick reply, im really sorry but i have no idea where to run this
please explain me bit more where to run this step by step, i will really appreciated this help
run that command on the bash command line.
you means in terminal where we run rclone config?
correct, that is what i means
@asdffdsa and which directory/location have to run this cmd line?
any directory that you choose.
perhaps run it from your home dir.
wow working fine thanks a lot
@asdffdsa can i crypt all videos that i upload on dropbox and play them via http?
means how to play crypted file with serve http ?
yes, you can do that.
dcrypt
rclone copy /path/to/test.mp4 dcrypt:
rclone serve http dcrypt: .......
im doing wrong on some point
root@debian-4gb-nbg1-1:~# rclone copy /www/wwwroot/videos/360.mp4 dcrypt:/pinoy -vv
2022/03/09 17:57:48 DEBUG : rclone: Version "v1.57.0" starting with parameters ["rclone" "copy" "/www/wwwroot/videos/360.mp4" "dcrypt:/pinoy" "-vv"]
2022/03/09 17:57:48 DEBUG : Creating backend with remote "/www/wwwroot/videos/360.mp4"
2022/03/09 17:57:48 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2022/03/09 17:57:48 DEBUG : fs cache: adding new entry for parent of "/www/wwwroot/videos/360.mp4", "/www/wwwroot/videos"
2022/03/09 17:57:48 DEBUG : Creating backend with remote "dcrypt:/pinoy"
2022/03/09 17:57:48 DEBUG : Creating backend with remote "151214/97nr14ggngkq6lijaslm67c43o"
2022/03/09 17:57:48 DEBUG : fs cache: renaming cache item "151214/97nr14ggngkq6lijaslm67c43o" to be canonical "/root/151214/97nr14ggngkq6lijaslm67c43o"
2022/03/09 17:57:48 DEBUG : Creating backend with remote "151214/pinoy"
2022/03/09 17:57:48 DEBUG : fs cache: renaming cache item "151214/pinoy" to be canonical "/root/151214/pinoy"
2022/03/09 17:57:48 DEBUG : 360.mp4: Need to transfer - File not found at Destination
2022/03/09 17:57:50 DEBUG : 360.mp4: md5 = b4fe6c8e9a86f149e15cfc0d555e0627 OK
2022/03/09 17:57:50 INFO : 360.mp4: Copied (new)
2022/03/09 17:57:50 INFO :
Transferred: 392.319 MiB / 392.319 MiB, 100%, 196.138 MiB/s, ETA 0s
Transferred: 1 / 1, 100%
Elapsed time: 2.1s
2022/03/09 17:57:50 DEBUG : 4 go routines active
root@debian-4gb-nbg1-1:~#
can not see any decrypted file on dropbox side
post the output of rclone ls dcrypt: -vv
root@debian-4gb-nbg1-1:~# rclone ls dcrypt: -vv
2022/03/09 18:18:03 DEBUG : rclone: Version "v1.57.0" starting with parameters ["rclone" "ls" "dcrypt:" "-vv"]
2022/03/09 18:18:03 DEBUG : Creating backend with remote "dcrypt:"
2022/03/09 18:18:03 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2022/03/09 18:18:03 DEBUG : Creating backend with remote "151214"
2022/03/09 18:18:03 DEBUG : fs cache: renaming cache item "151214" to be canonical "/root/151214"
411275511 360.mp4
411275511 pinoy/360.mp4
2022/03/09 18:18:03 DEBUG : 2 go routines active
root@debian-4gb-nbg1-1:~#
looks good to me.