Hello friends I have a problem, I need to join two videos while I download them, I can download them without problems with the following code ffmpeg -i urlm3u8 here -c copy -bsf: a aac_adtstoasc output.mp4 but there are videos that are in 2 parts and I would like to join them while I downloaded them, try with the following code but it did not work ffmpeg -i url1 -i url2 -c copy -bsf: a aac_adtstoasc output.mp4
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 6 of 6
Thread
-
-
-
I think you can use the concat option with a list file:
https://trac.ffmpeg.org/wiki/Concatenate
That will download sequentially, not simultaneously, but the second file should be concatenated onto the first.
<edit>
Maybe not. It didn't work when I tried it.
You might be able to build your own concatenated m3u8 file. But that's probably more work than just downloading them individually and concatenating them.
</edit>Last edited by jagabo; 31st Aug 2017 at 11:28.
-
I was able to get it to work with this ffmpeg command line:
Code:ffmpeg.exe -y -safe 0 -protocol_whitelist "file,http,https,tcp,tls,hls,concat" -f concat -i list.m3u8.txt -c copy output.mp4
Code:file 'http://ga.video.cdn.pbs.org/videos/nature/e1a35d94-fd17-4615-99c3-f22db7f5cc41/123507/hd-mezzanine-16x9/naat-mybionicpet-0516x9-16x9-hls-64-800k.m3u8' file 'http://ga.video.cdn.pbs.org/videos/nature/e1a35d94-fd17-4615-99c3-f22db7f5cc41/123507/hd-mezzanine-16x9/naat-mybionicpet-0516x9-16x9-hls-64-800k.m3u8'
-
hi jagabo thanks for you help bro but i have this error failed to open segment of playlist 0 and the final show this error list.m3u8 invalid data found when prossesing input
-
Does the exact list I use work for you? Did you verify that you can download each video individually? Can you give links to the m3u8 files you're trying to download/concat?
Similar Threads
-
Why can't I join these videos?
By Aludin in forum EditingReplies: 11Last Post: 16th Apr 2017, 04:14 -
Join videos without reencoding!
By VHGNM in forum Video ConversionReplies: 4Last Post: 16th Mar 2017, 10:02 -
Join many videos to 1 file?
By HOK1N in forum EditingReplies: 1Last Post: 22nd Aug 2016, 08:16 -
join videos
By randomperson in forum Newbie / General discussionsReplies: 2Last Post: 18th Apr 2016, 02:26 -
Need to join two videos with FFMPEG
By wolfox in forum EditingReplies: 1Last Post: 5th Oct 2012, 16:46