Hard disk full, should continue convert TS to MP4 when more space available

Issue #68 wontfix
Tyler Durden created an issue

I noticed that my hard disk was full and the webdl had to stop convert the TS file to MP4

Now I free up more space, I want webdl to continue/restart converting this TS file to MP4..

But if I press ENTER, it would start download the next file in the queue

As a result the TS file is now on my PC, So if I want it as MP4, I will need to redownload the file..

So my suggestion is that there should be a way to continue convert the TS file to MP4, after an event that cause it to be interrupted.

Also if we download the video file again and it sees that there is already exist a TS file it should prompt if we want to convert that TS file to MP4 instead

BTW what is the command line used to convert the TS to MP4 ?

Comments (3)

  1. delx repo owner

    Sorry, it would be too tricky to implement this correctly. It's just as likely that you'll run out of space while the .ts file is being downloaded. It's much simpler to just download the file again to be safe.

  2. Tyler Durden reporter

    Why would do mean "It's just as likely that you'll run out of space"...?

    I would be the one to know if I have enough space to download all the files in the queue, not the program... I mean if I need 1 GB of free space to finish the queue, I free up 5GB (more than enough) to download entire queue, why can't it implement the two program logic/questions I suggested?

    The reason why it should ask these question is because if the TS file was like e.g. 1GB, it would be a waste of bandwidth to download it again.. when we know it is perfectly playable on our PC.. Why force us to download the entire 1GB file again etc.?


    What I mean is if the program stop converting the TS file to MP4 due to running out of space.. It will pause with the error message..

    When I see the message.. I free more space that will be good enough to download all the videos in the queue..

    Then it should have some sort of prompt if I want to restart the conversion of TS file to the MP4..

    Currently if I press enter, it will just continue downloading the next file in the queue..

    You could implement a question once the program stop the conversion..

    Do you want to restart the TS conversion or continue with next video in the queue? (R) Restart, (C) Continue with queue

    So if I press (R) then it will just execute the command to convert the TS file file to mp4..


    Secondly... If we decide to download the the video again...

    There should a check that if the file already exists then it shouldn't need to download the file again especially if there is nothing wrong with that TS file and it was downloaded completely.

    It should prompt us with question

    Do you want to download the TS file again or convert TS to mp4? (D)Download, (C)Convert .


    Are these two questions really that hard/tricky to implement in the program logic?

    Can you use a CASE or IF/ELSE statement in the program?


    The other question is what is the command line used by webdl to convert the TS file to Mp4?

    That way I can do the conversion myself using the FFMPEG..

    Also what is the reason that webdl needs to convert TS to Mp4?

  3. Log in to comment