Hi. I'm trying to download a livestreamvod file using ffmpeg. File size should be around 2.78 Gb. However, both IDM and ffmpeg are unable to download more than 1.99 Gb of the file. The resulting video is 1.99 Gb and incomplete. I've tried playing around with the code but ffmpeg just will not download beyond 1.99 Gb. After 1.99 Gb I get the following error in ffmpeg:
AVC: nal size, Missing picture in access unit, etc
and then it stops over there.
I'm using the following code:
ffmpeg -i "https://livestreamvod-f.akamaihd.net//events/00000000003adbf0/bcb43760-9743-486b-8833-30ce4c3629da_,198,678,1756,2320,.mp4.csmil/bitrate=3?v=3.6.0&fp=WIN%2017,0,0,134&r=DPBPC&g=MT PXPYGTLAOP&seek=533" -c copy -bsf:a aac_adtstoasc Auckland2015-2.mp4
Can somebody please help me download the complete video?
+ Reply to Thread
Results 1 to 11 of 11
-
-
Link to website of the video?
-
Hi ,
There are only 2 qualities availables : 'best' or 'worst' . Try with 'worst' .
while recording , i openned the file it seems good under my computer ( 15" ) .
Code:livestreamer.exe "akamaihd://https://livestreamvod-f.akamaihd.net//events/00000000003adbf0/bcb43760-9743-486b-8833-30ce4c3629da_,198,678,1756,2320,.mp4.csmil/bitrate=3?v=3.6.0&fp=WIN%2017,0,0,134&r=DPBPC&g=MTPXPYGTLAOP&seek=533" worst -o Auckland2015-2.ts
=========
Duration of the complete video = 2h42mn
For 40mn = 375 MB
For the complete = less than 1600 MB ( about ) .
???
While downloading it was indicated 40mn .
I caught that part , converted to mp4 ?
While watching it was indicated : 30mn ( for 480 MB ) .
By this I don't know how big will be the file .
???
Cheers .Last edited by aazerty; 4th Apr 2015 at 18:17.
JE SUIS CHARLIE !!! -
-
-
-
Hi,
Thanks for the response. I don't have a lot of experience with livestreamer. I usually use IDM or ffmpeg. But I'll give this a shot. With worst quality, I might atleast be able to download all of 2h42m. So far with ffmpeg, I'm only getting around 2h because it doesn't go beyond 1.99 Gb @720p. Is there any way to catch the video from 2:00:00 to 2:44:00 in livestreamer? Because I already have 2h of the video in best available quality. I can then just record the remaining 42 mins and merge the files? -
Hi ,
My try with :
/bitrate=2?v=3.6.0&r=DPBPC&g=MTPXPYGTLAOP instead of /bitrate=3
=> vid : 864x486
=> Aud : mp3
-ss 02:00:00
=> could not seek to position 7200.000
Code:==== ffmpeg -ss 02:00:00 -i "https://.../bitrate=2?v=3.6.0&r=DPBPC&g=MTPXPYGTLAOP" -c:v libx264 -c:a libmp3lame -f mpegts Auckland2015-2.ts ffmpeg version N-58869-gae33007 Copyright (c) 2000-2013 the FFmpeg developers could not seek to position 7200.000 Input #0, flv, from 'https://.../bitrate=2?v=3.6.0&r=DPBPC&g=MTPXPYGTLAOP': Duration: 02:41:55.42, start: 0.000000, bitrate: 1768 kb/s Stream #0:0: Video: h264 (Main), yuv420p, 864x486, 1499 kb/s, 25 tbr, 1k tbn, 50 tbc Stream #0:1: Audio: aac, 48000 Hz, stereo, fltp, 262 kb/s Stream #0:2: Data: none Output #0, mpegts, to 'Auckland2015-2.ts': Metadata: encoder : Lavf55.22.100 Stream #0:0: Video: h264 (libx264), yuv420p, 864x486, q=-1--1, 90k tbn, 25 tbc Stream #0:1: Audio: mp3 (libmp3lame), 48000 Hz, stereo, fltp Stream mapping: Stream #0:0 -> #0:0 (h264 -> libx264) Stream #0:1 -> #0:1 (aac -> libmp3lame) Press [q] to stop, [?] for help ====
Code:ffmpeg -i "https://livestreamvod-f.akamaihd.net//events/00000000003adbf0/bcb43760-9743-486b-8833-30ce4c3629da_,198,678,1756,2320,.mp4.csmil/bitrate=2?v=3.6.0&r=DPBPC&g=MTPXPYGTLAOP" -c:v libx264 -c:a libmp3lame -f mpegts Auckland2015-2.ts
Cheers .Last edited by aazerty; 5th Apr 2015 at 08:49. Reason: New process
JE SUIS CHARLIE !!! -
Thanks man. Yeah, I knew about the seek option and had tried it several times for this particular stream. I had failed each time. But now I've figured out a way to record the stream beyond the 1.99 Gb mark. Basically, beyond the 1.99 Gb mark, the link to the video changes slightly. I managed to capture that link via chrome cache. And got the rest of the file. Now all I need to do is concatenate and I'll have the complete video. But thanks a lot for the help. You Rock!
-
They may have a direct mp4 link. Try playing the video with flash disabled. Otherwise, find /accounts/xxxxxxxx/events/xxxxxxxx/ in the network traffic, where xxxxxxxx is some numeric value.
-
Hi :
Below a general tutorial .
!!! BE SURE THAT ALL .MP2T FILES HAVE THE SAME STRUCTURE !!!
1) Create a directory E:\concat
2) insert the file "FFMPEG.EXE"
3) Copy in that directory , all files .mp2t
4) Create a file "mylist.txt" in that directory . See example below :
Code:file 'E:\concat\media_1.mp2t' file 'E:\concat\media_2.mp2t' file 'E:\concat\media_3.mp2t'
Code:@echo on "ffmpeg.exe" -f concat -i mylist.txt -c copy "3_fichiers.mkv" pause :fin
Cheers .JE SUIS CHARLIE !!!
Similar Threads
-
FFMPEG & IDM download same file but result in different size?
By pir8skin in forum Video Streaming DownloadingReplies: 5Last Post: 14th Mar 2015, 21:56 -
M3U8 FFMPEG Download Issue
By adi10289 in forum Video Streaming DownloadingReplies: 15Last Post: 10th Dec 2014, 01:42 -
help me download movie from hdviet.com WITH FFMPEG
By quynhchellam in forum Video Streaming DownloadingReplies: 1Last Post: 12th Jun 2014, 13:19 -
Download HLS video using ffmpeg
By aliv in forum Video Streaming DownloadingReplies: 3Last Post: 11th Jun 2014, 18:52 -
Programming ffmpeg: AVFormatContext incomplete with internal buffer
By afcrowe in forum ProgrammingReplies: 1Last Post: 8th Feb 2012, 12:01