Hi everyone, I was trying to download an instagram live stream from https://www.instagram.com/matsumura_sayuri_official/live/ with storysaver app on android.
Unfortunately the app has completely broke since a month ago, so I tried to download by finding the mpd link with chrome:
https://instagram.fsin14-1.fna.fbcdn.net/hvideo-vll-rva/_nc_cat-103/v/rASdiKoHoihMB9DO...7259944265.mpd
Tried ffmpeg, yt-dlp, streamlink, but kept getting 403 forbidden error. As the stream was going to end I thought I'll just grab all the video/audio segments with IDM from:
video segments: https://instagram.fsin14-1.fna.fbcdn.net/hvideo-vll-rva/_nc_cat-103/v/rASdiKoHoihMB9DO...944265_0-*.m4v
audio segments: https://instagram.fsin14-1.fna.fbcdn.net/hvideo-vll-rva/_nc_cat-103/v/rASdiKoHoihMB9DO...944265_0-*.m4a
Surprisingly the segments are all downloadable after the stream ended...
The problem now is that I can't seem to merge the files together:
got an error like this:Code:ffmpeg -f concat -safe 0 -i mylist.txt -c copy video.mp4
Can anyone help to see what's wrong with the segments, and is it actually possible to merge into a complete video file with the available segments? (I downloaded the video/audio init files as well, not sure whether its the correct one)Code:ffmpeg version 5.1-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers built with gcc 12.1.0 (Rev2, Built by MSYS2 project) configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint libavutil 57. 28.100 / 57. 28.100 libavcodec 59. 37.100 / 59. 37.100 libavformat 59. 27.100 / 59. 27.100 libavdevice 59. 7.100 / 59. 7.100 libavfilter 8. 44.100 / 8. 44.100 libswscale 6. 7.100 / 6. 7.100 libswresample 4. 7.100 / 4. 7.100 libpostproc 56. 6.100 / 56. 6.100 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002321891dfc0] could not find corresponding track id 1 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002321891dfc0] could not find corresponding trex (id 1) [mov,mp4,m4a,3gp,3g2,mj2 @ 000002321891dfc0] could not find corresponding track id 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002321891dfc0] trun track id unknown, no tfhd was found [mov,mp4,m4a,3gp,3g2,mj2 @ 000002321891dfc0] error reading header [concat @ 0000023218913940] Impossible to open '17982237259944265_0-0004947.m4v' mylist.txt: Invalid data found when processing input
Link to the segment files:
Video: https://anonfiles.com/yfS4O3n3z0/Video_segments_rar
Audio: https://anonfiles.com/G7SdOcn1z5/Audio_segments_rar
+ Reply to Thread
Results 1 to 5 of 5
-
-
-
You might be missing an init file.
Scratch that, you have the init file inside, I just saw now.
When you use the type command in cmd you can concatenate the files. Dunno why ffmpeg fails and I don't feel like investigating (perhaps your init file is not the first one in the .txt document?).
[Attachment 70619 - Click to enlarge] -
Yes need help as well. When using terminal commands (ffmpeg, streamlink, ytdlp) and downloading the mpd for the Instagram livestream it only downloads from the time you enter ie. If you enter in the middle of it it downloads from then onwards rather than from the beginning. How to download from the beginning? Is there a command like start index for m3u8 links? Also because not all accounts save livestreams to their account feed after they end so the only time to download them is in real time when they’re live.
Similar Threads
-
help downloading live stream
By filipino in forum Video Streaming DownloadingReplies: 9Last Post: 19th Oct 2021, 11:53 -
How to capture this live stream.
By pedrothelion in forum Video Streaming DownloadingReplies: 4Last Post: 4th Jul 2021, 11:18 -
How to STREAM a Live f4m?
By PRAGMA in forum Video Streaming DownloadingReplies: 1Last Post: 25th Dec 2018, 18:06 -
How is this 24/7 live Youtube stream done?
By AshleyQuick in forum Newbie / General discussionsReplies: 0Last Post: 3rd Jul 2018, 03:37 -
cut multiple segments from 1 video >>> stream copy app?
By savvyguy in forum Newbie / General discussionsReplies: 4Last Post: 21st May 2018, 13:31