Hi,
Please can someone advise the best way to capture VH1 Classics live stream from Pluto TV as per:
http://stitcher-ipv4.pluto.tv/v1/stitch/embed/hls/channel/6076cd1df8576d0007c82193/master.m3u8?deviceType=samsung-tvplus&deviceMake=samsung&deviceModel=samsung&devi ceVersion=unknown&appVersion=unknown&deviceLat=0&d eviceLon=0&deviceDNT={TARGETOPT}&deviceId={PSID}&a dvertisingId={PSID}&us_privacy=1YNY&samsung_app_do main={APP_DOMAIN}&samsung_app_name={APP_NAME}&prof ileLimit=&profileFloor=&embedPartner=samsung-tvplus
My problem is I can capture the stream, but on playback the video timeline is incorrect. For example if I record for a hour the playback is shown as a couple of minutes.
I think the stream is being broken when the adverts are being played and corrupting the video file playback.
Just looking to quickly skip through a few hours of recordings amd cut out the music videos I want.
Any help, much appreciated.
Cheers
Steve
Support our site by donate $5 directly to us Thanks!!!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
+ Reply to Thread
Results 1 to 18 of 18
-
-
Last edited by stevepen1974; 28th Apr 2023 at 17:36.
-
tried N_m3u8DL-RE?
eg.
Code:N_m3u8DL-RE.exe "https://i.mjh.nz/PlutoTV/6076cd1df8576d0007c82193-alt.m3u8" --live-real-time-merge --live-record-limit 01:00:00
-
ffmpeg -i https://i.mjh.nz/PlutoTV/5f5141c1605ddf000748eb1b-alt.m3u8 -c copy video.ts
-
Thanks LZAA/ElCap,
Both ffmpeg and N-m3u8Dl-RE are giving the same result, the timeline is not correct. Starting to think it is the Pluto stream itself which is corrupting on the advert break.
If you can suggest anything else, much appreciated.
Just wondering is there any way to download direct the video from the server that is hosting the music videos and maybe obtain the complete list?
From the download log, there seems to be links to every video, not sure if these are drm protected?
Anita Bell - Ring my Bell
[hls @ 0000000000488180] Opening 'http://siloh-aka.plutotv.net/c6009f_pluto/clip
/60506e0045937c001ab6f9b3_80s_Songs_ES_Ring_My_Bell _Anita_Ward_S01E032/720p/2021
0316_013618/hls/hls_1000_keyfile_0.key' for reading
[hls @ 0000000000488180] Opening 'crypto+http://siloh-aka.plutotv.net/c6009f_plu
to/clip/60506e0045937c001ab6f9b3_80s_Songs_ES_Ring_My_Bell _Anita_Ward_S01E032/72
0p/20210316_013618/hls/hls_1000-00000.ts' for reading
frame= 4212 fps=9.5 q=-1.0 size= 47872kB time=00:07:35.22 bitrate= 861.5kbits/
[http @ 0000000003d20e80] Opening 'http://stitcher-ipv4.pluto.tv/v1/stitch/embed
/hls/channel/6076cd1df8576d0007c82193/1539795/playlist.m3u8?terminate=false&sid=
SAMSUNG-TVPLUS-8476c483-1bd9-481c-b0d1-fee3f89575ea&deviceDNT=0&advertisingId=%7
BPSID%7D&deviceLat=0&deviceLon=0&deviceModel=samsu ng&deviceVersion=unknown&embed
Partner=samsung-tvplus&samsung_app_domain=https%3A%2F%2Fwww.samsun g.com%2Fus%2Fa
ppstore%2Fapp.do%3FappId%3DG15147002586&samsung_ap p_name=Samsung%20TV%20Plus&ser
verSideAds=true&us_privacy=1YNY&appName=samsungtvp lus&deviceId=%7BPSID%7D&appVer
sion=unknown&deviceType=samsung-tvplus&deviceMake=samsung&includeDeviceUA=true'
for reading
[hls @ 0000000000488180] Skip ('#EXT-X-VERSION:3')
[hls @ 0000000000488180] Skip ('#EXT-X-DISCONTINUITY-SEQUENCE:6')
[hls @ 0000000000488180] Skip ('#EXT-X-PROGRAM-DATE-TIME:2023-04-30T06:55:44.000
Z')
[hls @ 0000000000488180] Skip ('#EXT-X-DISCONTINUITY')
[hls @ 0000000000488180] Skip ('#EXT-X-PROGRAM-DATE-TIME:2023-04-30T06:55:50.366
Z')
[hls @ 0000000000488180] Skip ('#EXT-X-DISCONTINUITY')
[hls @ 0000000000488180] Skip ('#EXT-X-PROGRAM-DATE-TIME:2023-04-30T06:56:00.366
Z')
[hls @ 0000000000488180] Skip ('#PLUTO-SESSION-ID:SAMSUNG-TVPLUS-8476c483-1bd9-4
81c-b0d1-fee3f89575ea')
[hls @ 0000000000488180] Skip ('#PLUTO-VERSION:2.69.0-production-stitcher-green'
)
Richard Marx - Right Here Waiting
[hls @ 0000000000408180] Skip ('#EXT-X-VERSION:3')
[hls @ 0000000000408180] Skip ('#EXT-X-DISCONTINUITY-SEQUENCE:0')
[hls @ 0000000000408180] Skip ('#EXT-X-PROGRAM-DATE-TIME:2023-04-30T07:01:06.000
Z')
[hls @ 0000000000408180] Skip ('#PLUTO-SESSION-ID:SAMSUNG-TVPLUS-bc7cb935-c866-4
3b8-afa9-9c38257d9067')
[hls @ 0000000000408180] Skip ('#PLUTO-VERSION:2.69.0-production-stitcher-green'
)
[hls @ 0000000000408180] Opening 'crypto+http://siloh-fs.plutotv.net/c6009f_plut
o/clip/60506e0045937c001ab6f995_80s_Songs_ES_Right_Here_W aiting_Richard_Marx_S01
E031/720p/20210316_013618/hls/hls_2400-00023.ts' for reading
frame= 450 fps= 76 q=-1.0 size= 4864kB time=00:00:14.99 bitrate=2657.1kbits/
frame= 514 fps= 80 q=-1.0 size= 5632kB time=00:00:17.10 bitrate=2696.8kbits/
frame= 560 fps= 81 q=-1.0 size= 6144kB time=00:00:18.60 bitrate=2706.0kbits/
frame= 594 fps= 80 q=-1.0 size= 6400kB time=00:00:19.70 bitrate=2661.4kbits/
[http @ 0000000003840e80] Opening 'http://stitcher-ipv4.pluto.tv/v1/stitch/embed
/hls/channel/6076cd1df8576d0007c82193/1539795/playlist.m3u8?terminate=false&sid=
SAMSUNG-TVPLUS-bc7cb935-c866-43b8-afa9-9c38257d9067&deviceDNT=0&advertisingId=%7
BPSID%7D&deviceLat=0&deviceLon=0&deviceModel=samsu ng&deviceVersion=unknown&embed
Partner=samsung-tvplus&samsung_app_domain=https%3A%2F%2Fwww.samsun g.com%2Fus%2Fa
ppstore%2Fapp.do%3FappId%3DG15147002586&samsung_ap p_name=Samsung%20TV%20Plus&ser
verSideAds=true&us_privacy=1YNY&appName=samsungtvp lus&deviceId=%7BPSID%7D&appVer
sion=unknown&deviceType=samsung-tvplus&deviceMake=samsung&includeDeviceUA=true'
for reading
Cheers
SteveLast edited by stevepen1974; 30th Apr 2023 at 02:09.
-
edit: stabbedbybrick's method seems a lot easier!
what you could do is record for an hour (or longer) with n_m3u8dl-re but dont join the output.
Code:N_m3u8DL-RE.exe "https://i.mjh.nz/PlutoTV/5f5141c1605ddf000748eb1b-alt.m3u8" --live-keep-segments --live-record-limit 01:00:00
have a look at the thumbnails for all the ts files and delete the ones that are ads.
then concatenate all the remaining files in order into a single output file.
eg. on windows usingCode:type 1.ts 2.ts ..... 999.ts > output.ts
you also might need to run the output ts through ffmpeg to fix up the timestamps (and can change to mp4 at the same time)
Code:ffmpeg -i output.ts -c copy output.mp4
-
Thanks stabbedbybrick,
Captured the video file ok using hlsdl, just the timestamp is incorrect. On playback video will play, but if you skip forward at say 2 minute intervals the video playback is corrupted.
Ran ffmpeg -i output.ts -c copy output.mp4, this removed most of the recorded video.
My goal is to record hours of VH1 Classic to quickly skip/fast forward the recording and just cut/edit the music videos I want to keep.
Cheers
Steve -
Okay, here's what I did that seems to work fine:
Download with hlsdl(I cut it off at ~200mb):
Code:hlsdl -q -b -o "VH1.mp4" "https://i.mjh.nz/PlutoTV/6076cd1df8576d0007c82193-alt.m3u8"
So I used ffmpeg to fix it:
Code:ffmpeg -i VH1.mp4 -c copy VH2.mp4
Make sure you use the proper filenames when using ffmpeg -i and it should work. Unless the issues arise with longer videos? -
Thanks again stabbedbybrick,
Same issue around 13 minutes, ffmpeg states input packet corrupt around 9 times on a 37 minute recording. Guessing index/timestamp is related to this as 9 music videos would cover this period roughly.
Is there a command I can use that starts a new .ts when a corrupt segment/ad break/pluto bumper starts and in effect just get 3/4 minute videos that just contain hopefully one music video?
Cheers
Steve -
I snooped around a bit and figured out how to download each music video separately. You still need the download logs to find the videos, because I didn't manage to find a set list.
Let's take Anita Bell as an example from the log you posted.
Take the link from the log, which is this:
Code:http://siloh-aka.plutotv.net/c6009f_pluto/clip/60506e0045937c001ab6f9b3_80s_Songs_ES_Ring_My_Bell _Anita_Ward_S01E032/720p/20210316_013618/hls/hls_1000-00000.ts
Code:http://silo-hybrik.pluto.tv.s3.amazonaws.com/c6009f_pluto/clip/60506e0045937c001ab6f9b3_80s_Songs_ES_Ring_My_Bell_Anita_Ward_S01E032/720p/20210316_013618/hls/hls_1000.m3u8
Code:yt-dlp "http://silo-hybrik.pluto.tv.s3.amazonaws.com/c6009f_pluto/clip/60506e0045937c001ab6f9b3_80s_Songs_ES_Ring_My_Bell_Anita_Ward_S01E032/720p/20210316_013618/hls/hls_1000.m3u8" -o "Anita.Bell.%(ext)s" [generic] Extracting URL: http://silo-hybrik.pluto.tv.s3.amazonaws.com/c6009f_pluto/clip/60506e0045937c001ab6f9b3_80s_Songs...18/hls/hls_1000.m3u8 [generic] hls_1000: Downloading webpage [generic] hls_1000: Downloading m3u8 information [info] hls_1000: Downloading 1 format(s): 0 [hlsnative] Downloading m3u8 manifest [hlsnative] Total fragments: 43 [download] Destination: Anita.Bell.mp4 [download] 100% of 28.46MiB in 00:00:50 at 582.69KiB/s [FixupM3u8] Fixing MPEG-TS in MP4 container of "Anita.Bell.mp4"
So if you first record to a file then filter the logs for the entries of the videos, you'd essentially have a set list of music videos. Writing a small script to change the links wouldn't be too difficult. You can then put those links in a .txt file and use yt-dlp to batch download all of them. So, in theory, you could automate the whole process. -
OK. Simple.
VLC Player -> Media -> Open Network Stream -> URL: https://i.mjh.nz/PlutoTV/6076cd1df8576d0007c82193-alt.m3u8 -> Convert -> Show more options -> Profile: H.264 + MP3 (TS) -> Destination file : name.ts -> Start. -
-
change hls_1000 to hls_2400
eg.
Code:http://silo-hybrik.pluto.tv.s3.amazonaws.com/c6009f_pluto/clip/60506e0045937c001ab6f9b3_80s_Songs_ES_Ring_My_Bell_Anita_Ward_S01E032/720p/20210316_013618/hls/hls_2400.m3u8
-
All good, thanks ELcap/stabbedbybrick.
Look like the music video playlist is on a loop, seem to remember the same videos playing yesterday at the times in the log.
Would be nice to get the complete music video playlist hosted on Pluto's servers, but having the direct links to the videos is much appreciated.
Cheers
Steve
Similar Threads
-
help for pluto.tv
By whs912km in forum Video Streaming DownloadingReplies: 11Last Post: 24th Dec 2022, 11:57 -
pluto tv
By David Banner in forum Video Streaming DownloadingReplies: 8Last Post: 17th Dec 2022, 22:47 -
Pluto Subtitles
By doctorm in forum Video Streaming DownloadingReplies: 11Last Post: 19th Nov 2021, 23:41 -
How to save videos from Pluto TV/Chrome cache
By xonathan in forum Video Streaming DownloadingReplies: 12Last Post: 4th Oct 2021, 06:28 -
PLuto TV question
By Test565 in forum Video Streaming DownloadingReplies: 8Last Post: 15th Nov 2020, 14:32