Would it be possible to ensure that, either on completion or after a failure, all temporary files are removed?
Thanks...The simple answer is No
It would be nice to have a selection of options available as tick boxes (eg restricting image resolution and container type).
How about a Christmas present? I still think qtube as a front-end for youtube-dl could provide more user aids. What I'm thinking is some preset tick boxes which insert appropriate strings into the "Process options" field... otherwise I have to look them up each time. Also, I have put a unit in the hands of a user who could use qtube (with guidance) but would be put off by the intricacies of youtube-dl.I'll think about it but want to keep it simple
-f "height=540"
(or something).Is the "run download now" button action protected in an abduco session?
Doesn't the tee command resolve that?No, because it needs to capture the output to display
I am not promising anything but my free time should be greater in the New Year now that a long running legal case I was involved in has been resolved.How about a Christmas present? I still think qtube as a front-end for youtube-dl could provide more user aids. What I'm thinking is some preset tick boxes which insert appropriate strings into the "Process options" field... otherwise I have to look them up each time.
Ouch!I am not promising anything but my free time should be greater in the New Year now that a long running legal case I was involved in has been resolved.
Everybody submit their favourites.A list of possible preset names with associated process options would save me having to guess what might be useful.
-f "height=540"
into the options box, and here are the relevant lines from the log:09:26:04 - stream-uk-iptv_streaming_concrete_combined_hd_mf_limelight_uk_hls_https-3117-0 mp4 960x540 3117k , avc1.64001F@2812k, 50.0fps, mp4a.40.2@128
...
21/11/2019 09:28:01 - Starting queued download URL https://www.bbc.co.uk/iplayer/episode/m00095td/the-name-of-the-rose-series-1-episode-1 Options -f height=540 QID 11461
...
21/11/2019 09:29:08 - Caught error: ERROR: requested format not available
-f height=540
not -f "height=540"
. Does that matter? Is the parsing (or parameter passing) stripping the double-quotes inappropriately?-f "best[height<=?540]"
. What I haven't done is try that string in the Options box.--audio-format mp3
in the Options box doesn't work? From my reading of the youtube-dl documentation, that should download from the URL (in this case an iPlayer radio programme, which downloads as .m4a) and then run a conversion through ffmpeg into MP3.-x --audio-format mp3
.No, and it is unlikely to be related to the front end so probably really belongs in the [youtube-dl] threadCan anybody tell me why putting--audio-format mp3
in the Options box doesn't work? From my reading of the youtube-dl documentation, that should download from the URL (in this case an iPlayer radio programme, which downloads as .m4a) and then run a conversion through ffmpeg into MP3.
The same documentation says that you also need to use theCan anybody tell me why putting--audio-format mp3
in the Options box doesn't work? From my reading of the youtube-dl documentation, that should download from the URL (in this case an iPlayer radio programme, which downloads as .m4a) and then run a conversion through ffmpeg into MP3.
-x
(== --extract-audio
) option to enable --audio-format
-- but surely you read to the end of the paragraph. It also suggests that this applies to video files.--exec 'ffmpeg -i {} {}.mp3'
. This will (if it works) leave an output file with extension .m4a.mp3
, but with a script /mod/bin/tomp3
like this (and chmod a+x /mod/bin/tomp3
)#!/bin/sh
ffmpeg -i "$1" "${1%.*}.mp3"
--exec 'tomp3 {}'
. Obviously you could also include codec options to control the output bit-rate, etc, in either of these formulations.Oops! No, I didn't notice that: "No effect without -x" - I'll give it a try (yes, I know how to convert as a separate operation).The same documentation says that you also need to use the-x
(==--extract-audio
) option to enable--audio-format
-- but surely you read to the end of the paragraph.
TheOops! No, I didn't notice that: "No effect without -x" - I'll give it a try (yes, I know how to convert as a separate operation).
--exec
thing is an alternative to put in the qtube options in case yt-dl is actually serious about only extracting audio from video files.You deleted the directory entry but the file would not have been deleted while it was still held open by ffmpeg.It seems to be working, but slow (of course) so I await results. I am a little bemused that the conversion still seems to be running (and output file growing) even though I deleted the .m4a file (via SMB) - I was trying to terminate the command line session to try the qtube options line.
Linux doesn't actually delete the file until the last user of it closes the file. It disappears from the directory listing when you issue the delete instruction though, which is probably what confuses you.I am a little bemused that the conversion still seems to be running (and output file growing) even though I deleted the .m4a file (via SMB)