Live Stream Downloads: broken files #1999
Replies: 4 comments 4 replies
-
Where does this happen on what site, this is not something I've seen happen much since I'm not recording a lot of long live streams. |
Beta Was this translation helpful? Give feedback.
-
More testing in ffmpeg itself using a video on Odysee, I started a download in different formats mp4, ts and mkv. The results : VDH has a download and convert to mkv but is a premium feature that requires a license. If you have the license and recording over |
Beta Was this translation helpful? Give feedback.
-
I do not work for VDH. I'm just another user. I have also intermittently had trouble with VDH terminating recordings of livestreams. Other users have also posted here about this issue. It seems to be an intermittent problem. Sometimes, you can click the red Stop button in the VDH interface & the recording terminates normally & the resulting file plays fine. Sometimes, the recording stops & immediately resumes, replacing your multi-gig file with something new, which you cancel & to your dismay, you now have a 5-second clip of what's happening now instead of the 5 hours you had been recording successfully. Sometimes, it simply screws up, as you have experienced. To be safe, when I am using VDH to record a livestream, I pull the plug on my Internet connection. I physically unplug the electricity feed to my Internet hardware. This makes VDH think the livestream has terminated normally & then it saves the MP4 information -- the MOOV atom -- that makes the file playable. You can verify the playability of the file, then plug your Internet connection back into electricity. Much more often, I record livestreams using ffmpeg directly. This gives me access to several parameters that VDH does not. This is ironic because under the covers, VDH uses ffmpeg to record livestreams . . . indeed, to download everything, live & otherwise. I use the ffmpeg parameters that control duration of recording & detection of the end of the livestream. I have posted elsewhere about this. Search this forum for I have found that while an MP4 is being recorded -- by VDH, by ffmpeg directly, by any other means -- that you can't play the MP4 while it is being recorded. In contrast, if your target file type is either MP3 (audio only) or MKV, you can play that while it is being recorded. Of course, you can play only so much as has already been recorded, but you can play what you have while the rest of it is being captured. That means that your position in the file during playback is chasing the position where the recording is continuing. That later position is, of course, always moving ahead. The critical difference is the MOOV atom. Media players rely on the MOOV atom when you're dealing with MP4. Such is not the case with the other formats, which is why media players can play those despite their still being recorded. Neither MP3 nor MKV includes a MOOV atom. That means that failures of such recordings usually leave you with a playable fragment. Since the MOOV atom of MP4 is not written continuously to the file, you are always vulnerable to failures. Cancelling an inflight invocation of ffmpeg to record an MP4 is the equivalent of a failure & leaves you with a file that has no MOOV atom, a type of damage that cannot be repaired, as Matt has already pointed out. If you send the |
Beta Was this translation helpful? Give feedback.
-
Thank you for your answers! I've now also searched for some methods to repair corrupted mp4-video-files I had recorded with Video Download Helper/ffmpeg before.
The last one (anthwlock untrunc) seems to be a good way to make mp4-files playable again (with error: no 'moov' atom found). With another file I found that anthwlock-untrunc could also repair much (or all) of the video but audio was little asynchronous/video had some delay. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Your question
Hi together,
I'd like to record live streams. VDH (Firefox add-on) does find an .m3u8-link. For shorter durations video recording mostly works. In case of longer recordings (several hours) some problems arise:
Issue:
My questions:
Hoping you can understand and help with that problem.
Thank you very much in advance!
Addon & CoApp version and details
version: 8.1.4.0
beta: false
build date: 2024-01-04
build options: linuxlic: false, noyt: false, browser: firefox
lang: de
license: unset
platform: x86-64 win
UA: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:135.0) Gecko/20100101 Firefox/135.0
coapp: yes. Info:
{
"id": "net.downloadhelper.coapp",
"name": "VdhCoApp",
"version": "2.0.10",
"binary": "C:\Program Files\DownloadHelper CoApp\vdhcoapp.exe",
"displayName": "VdhCoApp",
"description": "Video DownloadHelper companion app",
"target": {
"os": "windows",
"arch": "x86_64",
"node": "18"
},
"home": "C:\Users\Johann",
"converterBinary": "C:\Program Files\DownloadHelper CoApp\ffmpeg.exe",
"converterBase": "ffmpeg",
"converterBaseVersion": "6.0"
}
Beta Was this translation helpful? Give feedback.
All reactions