Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#381
|
|||
|
|||
Re: Adobe HDS DownloaderQuote:
Most important to see how the script starts new fragment-downloads and when they are "done and used" (and then update bootstrap to get the new ones) eight parallell downloads seem to run into the problem that the new next ones are not checked for until all old 8 have "arrived safely". Some servers dont even keep 8 fragments buffered? But getting the fragments "one-by-one" with check for new ones inbetween for every fragment wastes a lot of bandwith. Missed fragments trigger "TImeSTamp fix" when decoding the fragments (or earlier), same for "negative timestamps" Picking two added info-beeps as example, because I have butchered the script too much to post proper patches As an example, LogDebug to LogInfo and ring the bell when happens (might be only every fifth hour) if ($timeShift > $this->fixWindow) { echo chr(7); // ring bell LogInfo("Timestamp gap detected: PacketTS=" . $packetTS . " LastTS=" . $lastTS . " Timeshift=" . $timeShift, $debug); usleep(100000); echo chr(7); // and anoher bell if ($this->baseTS < $packetTS) $this->baseTS += $timeShift - FRAMEFIX_STEP; else $this->baseTS = $timeShift - FRAMEFIX_STEP; $packetTS = $fixedTS; } //--- missed fragment, decoder will have missed 2-6-12 seconds // note, the audio stream is the "master" for timing else { $this->lastFrag += 1; // bitch and scream LogInfo("*************** Skipping failed fragment **********" . $this->lastFrag); echo chr(7); usleep(10000); LogInfo("*************** XXXXXXXXXXXXXXXXXXXXXXXX **********" . $this->lastFrag); echo chr(7); usleep(10000); Gunnar PS should be some simple argument for debugging, giving info on just - manifest, bootstrap missed - how many parallell fragments it tries to download - BITCH and SCREAM when missing fragments, timestamps,etc hmm, a test for how many fragments the server actually keeps buffered (something Im halfdone with, but no need to attack it again) If server only keeps 4-6, using 8 parallell downloads kills the whole thing because script doesnt check for new ones in time,. |
#382
|
|||
|
|||
Re: Adobe HDS DownloaderQuote:
|
#383
|
|||
|
|||
Re: Adobe HDS DownloaderQuote:
|
#384
|
|||
|
|||
Re: Adobe HDS DownloaderDoes anyone know if it's possible to decrypt Adobe HDS with provided key file and how?
|
#385
|
|||
|
|||
Re: Adobe HDS Downloaderhi I need a way to compress a 1080p mp4 video file to store. but at same I need a way to decompress it to get orignal video quality and size (Just like a paper we fold a paper to take smaller size.and unfold it to make it original in size) same I need to do with a video hope you understand plzz reply
|
#386
|
|||
|
|||
Re: Adobe HDS DownloaderQuote:
|
#387
|
|||
|
|||
Re: Adobe HDS Downloaderok...can I reduce video resolution without loosing quality (eg: 1080p to 360)
|
#388
|
|||
|
|||
Re: Adobe HDS DownloaderNo, of course not. Think about it. If that was possible, why would there ever be a need for higher resolutions in the first place?
|
#389
|
|||
|
|||
Re: Adobe HDS DownloaderHello!
Is it possible with HDS format to get the final movie file size when starting the download. AFAIU, it should be in the moov box in the bootstrap. I have checked several videos on moonwalk.cc and apollocdn.cc like sites and there's no moov box in their bootstraps. Only abst, asrt and afrt boxes. here's sample bootstrap and metadata tags from the manifest http://pastebin.com/0f9zVL25 May be they remove it for some reason? Or am I missing something? Or may be the file size could be read by some other means It may be useful to add the AdobeHDS.php script ability to stream the video being downloaded to the DLNA renderer device, however it is not possible without knowing the final file size - cause it should be specified in Content-Length header of HTTP response serving the file for DLNA. Of course we could wait till the download is finished before starting DLNA - but it is not a solution, just a compromise. |
#390
|
|||
|
|||
Re: Adobe HDS Downloader@Liphtier
You won't find 'moov' box in client side fragments. it's not possible to accurately know the filesize before all fragments are downloaded and decoded. some websites do inject the same in metadata stored in bootstrap file but it's not necessary that the final filesize generated after decoding will match that. why don't you just try sending an arbitrary large size like some major CDN's do. for example Akamai HD streaming (over plain http) sends 2 GB as content-length header although the actual video data is normally larger or smaller than that. |
Tags: hds |
Thread Tools | |
Display Modes | |
|
|