• The forum software that supports hummy.tv has been upgraded to XenForo 2.3!

    Please bear with us as we continue to tweak things, and feel free to post any questions, issues or suggestions in the upgrade thread.

[qtube] Webif front end for youtube-dl

I successfully retrieved the available formats for XcATvu5f9vE 3 times and the actual video as remuxed AVC and AAC. Elsewhere there are reports of what seems to be some unmanaged behaviour in the YT web pages that causes occasional failures.
 
...Suppose your selected download link turns out be going to deliver you a .mkv file. In "Process options", use --recode-video mp4. This will run ffmpeg to convert the download's media container to mp4 after the download has finished. Don't try playing the resulting mp4 until it's fully converted as the UI may lock up (guess how I know).
...
This exposes an issue in the interaction between youtube-dl and the CF queue system.

Let's say that the user queues a URL for a .mkv that is time-limited; the file is downloaded, ffmpeg is launched to remux the video to .mp4, and then the system crashes or is turned off.

When the system restarts, the queue retries the download, since it wasn't marked as completed (because the yt-dl command wasn't). But now the URL has timed out and the download fails: normally yt-dl skips downloading a file that's already been downloaded, but it has to check the URL to find the name of the file to be downloaded and the URL is no longer accessible. The unplayable .mkv and even more unplayable (locks the UI) .mp4 fragment are left on the disk.

It seems that checking for this situation is non-trivial, but a command like ffmpeg -y -hide_banner -i download.mkv -acodec copy -vcodec copy download.mp4 && rm -f download.mkv will fix the problem.
 
I just heard about this, but I don't see qtube in my list of available packages. Is there an idiot's guide to downloading and installing qtube and youtube-dl on the HDR-Fox T2 CF?
 
I just heard about this, but I don't see qtube in my list of available packages. Is there an idiot's guide to downloading and installing qtube and youtube-dl on the HDR-Fox T2 CF?
For Reference: See my summary guide to youtube-dl and qtube here - https://hummy.tv/forum/threads/yout...com-or-other-video-platforms.8462/post-120326
The only reasons it might not be in the "available" tab are:
  • You've already installed it (it's listed in the "Installed" tab instead);

  • You need to refresh the package list;

  • You have not selected "show advanced packages" ("show" button top right).
 
The only reasons it might not be in the "available" tab are:
  • You've already installed it (it's listed in the "Installed" tab instead);

  • You need to refresh the package list;

  • You have not selected "show advanced packages" ("show" button top right).
Great info - thanks. Is there an idiot's guide for downloading and installing these packages? (I tried the Linux instructions from the youtube-dl site in a telnet session and neither the curl nor GET options worked.
 
Great info - thanks. Is there an idiot's guide for downloading and installing these packages? (I tried the Linux instructions from the youtube-dl site in a telnet session and neither the curl nor GET options worked.
Sorry yes I've now selected the advanced options and I see them. Thanks
 
Probably qtube shouldn't be an Advanced package now. I suppose that can be changed while youtube-dl is still Advanced?
 
Another wish:

If I qtube a radio program and use process options to transcode the result into MP3, there is nothing shown in the log file to say that's what's happening - it just appears to stall (with the process "running" in the queue) for an indeterminate time. If nothing else, a qtube log line to report the command passed to ffmpeg would be an indication.
 
Back
Top