Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Dynamic data output? #1725
Dynamic data output? #1725
Comments
|
Mysite: http://togetvideo.com/ Everything fine. However, i still feel it is not smooth. When user click download button, they must waiting for youtube-dl completed and then get video file. i want improve it. i think why user can not get data live from youtube-dl when youtube-dl starting download. youtube-dl downloading |=> save temp file (php can cached this file) how can it do it. |
|
Check the link I provided again. It does what you asked for. Sent from my iPhone
|
|
@xanadu: Thank you verymuch. That solution do not cache file. i want cache file during dynamic output. |
|
I'm a newbie. After my first question but nobody can be help me. I was learning about python language and edit source. now, it's done and very good. when i developing GUI (http://togetvideo.com) then user can be down time wait. User's browser start download immediately youtube-dl starting download. Often they must wait youtube-dl completed download then get file. over dynamic feature, i still get cache file for second times download same video. ex: youtube-dl http://www.youtube.com/watch?v=9bZkp7q19f0 -q -d youtube-dl will write to stdout binary data of per video part immediately when youtube-dl loaded. on PHP i can passthru this data to browser. i want put to existed source code on github but i don't know for how to do. Please help me. |
i have an issue that is dynamic data output when downloading....
i know youtube-dl download and save temp file until to complete. but user need wait and get file after.
i need youtube-dl download per partial of video data and save file and at the same time print this data.
on PHP or other language. I will receive this data and return for user.
Thus, the user can download without waiting compeleted.
I just know python and looking where in code to download video data to resolve this.
Kindly help. Thank you