Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

M3U8 Download failed "start time for stream 1 is not set in estimate_timings_from_pts" #110

Open
Avnsx opened this issue Jun 19, 2023 · 11 comments
Labels
bug Something isn't working contributors appreciated help adding this functionality/feature help wanted Extra attention is needed

Comments

@Avnsx
Copy link
Owner

Avnsx commented Jun 19, 2023

Originally posted by @CaptainKoons in #108 (comment)

I think I have the same issue.

Download in normal mode:

Info | 09:03 || Downloading video '2023-05-04_at_16-04_id_510507080679956480.m3u8'
start time for stream 1 is not set in estimate_timings_from_pts
stream 1 : no TS found at start of file, duration not set
Could not find codec parameters for stream 1 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
start time for stream 1 is not set in estimate_timings_from_pts
stream 1 : no TS found at start of file, duration not set
Could not find codec parameters for stream 1 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
sample rate not set

[33]ERROR | 09:03 || Unexpected error during sorting Timeline download:
Traceback (most recent call last):
File "fansly_downloader.py", line 1415, in
File "fansly_downloader.py", line 737, in sort_download
File "fansly_downloader.py", line 631, in download_m3u8
File "av\container\output.pyx", line 203, in av.container.output.OutputContainer.mux
File "av\container\output.pyx", line 209, in av.container.output.OutputContainer.mux_one
File "av\container\output.pyx", line 175, in av.container.output.OutputContainer.start_encoding
File "av\container\core.pyx", line 292, in av.container.core.Container.err_check
File "av\error.pyx", line 336, in av.error.err_check
av.error.ValueError: [Errno 22] Invalid argument: 'L:\***\Timeline\Videos\2023-05-04_at_16-04_id_510507080679956480.mp4'; last error log: [mp4] sample rate not set

Press Enter to attempt to continue ..

After pressing enter the scrapping continues but skips some posts.

I tried to scrap these posts with single mode, and most of them worked.

But the above mentioned post had still some isses in single mode. It downloaded a big video file (4,1GB) but the audio & playback speed was broken, and I got the following error massage multiple times:

            ► Post ID: 510503212856389632

Info | 10:42 || Inspecting a post by Tsbellabates
Info | 10:42 || Amount of Media linked to Single post: 1 (scrapable: 1)
Info | 10:42 || Downloading video '2023-05-04_at_16-38_id_510501568424980480.m3u8'
start time for stream 1 is not set in estimate_timings_from_pts
stream 1 : no TS found at start of file, duration not set
Could not find codec parameters for stream 1 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
start time for stream 1 is not set in estimate_timings_from_pts
stream 1 : no TS found at start of file, duration not set
Could not find codec parameters for stream 1 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
start time for stream 1 is not set in estimate_timings_from_pts
stream 1 : no TS found at start of file, duration not set
Could not find codec parameters for stream 1 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
start time for stream 1 is not set in estimate_timings_from_pts
*
*
*
*
*
*
stream 1 : no TS found at start of file, duration not set
Could not find codec parameters for stream 1 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
start time for stream 1 is not set in estimate_timings_from_pts
stream 1 : no TS found at start of file, duration not set
Could not find codec parameters for stream 1 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options

╔═
Finished Single type, download of 0 pictures & 1 videos! Declined duplicates: 0
Saved content in directory: 'L:***'
✶ Please leave a Star on the GitHub Repository, if you are satisfied! ✶
═╝

Press Enter to close ..

A second post with 3 shorts videos (~2min) + 1 pic didn't work either in single mode. I got the following error massage:

Info | 10:35 || Amount of Media linked to Single post: 4 (scrapable: 4)
Info | 10:35 || Downloading video '2023-05-04_at_16-05_id_510507960833679360.m3u8'
start time for stream 1 is not set in estimate_timings_from_pts
stream 1 : no TS found at start of file, duration not set
Could not find codec parameters for stream 1 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
start time for stream 1 is not set in estimate_timings_from_pts
stream 1 : no TS found at start of file, duration not set
Could not find codec parameters for stream 1 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
sample rate not set

[19]ERROR | 10:35 || Unexpected error during sorting Single Post download;
Traceback (most recent call last):
File "fansly_downloader.py", line 1168, in
File "fansly_downloader.py", line 737, in sort_download
File "fansly_downloader.py", line 631, in download_m3u8
File "av\container\output.pyx", line 203, in av.container.output.OutputContainer.mux
File "av\container\output.pyx", line 209, in av.container.output.OutputContainer.mux_one
File "av\container\output.pyx", line 175, in av.container.output.OutputContainer.start_encoding
File "av\container\core.pyx", line 292, in av.container.core.Container.err_check
File "av\error.pyx", line 336, in av.error.err_check
av.error.ValueError: [Errno 22] Invalid argument: 'L:\***\Videos\2023-05-04_at_16-05_id_510507960833679360.mp4'; last error log: [mp4] sample rate not set

Press Enter to attempt to continue ..

It may be coincidence or not, but both of the posts which are not working (even in single mode) got posted on the same date (2023/05/04). And the 3 smaller videos from the one post are teasers from the big video in the other post.

Many thanks in advance!

@Avnsx
Copy link
Owner Author

Avnsx commented Jun 19, 2023

@CaptainKoons This is different error, then the guy got in the other issue ticket.

Also I knew about this specific error where it says something about estimate_timings_from_pts before already and usually this does not influence the output media in any way. It just prints the warning into the console and that's about it.

I think the media that has the "playback speed" issues that you mentioned is the media that also errors out saying "av.error.ValueError". I am not sure if the estimate_timings_from_pts thing and the ValueError are even coherent to each other.

Regardless I am unable to reproduce the bug, as all of the mentioned media causing those errors appears to be restricted to subscribers only. To assist in resolving the issue, kindly send an email to [email protected] with account credentials, which have access to the mentioned content.

@Avnsx Avnsx added bug Something isn't working contributors appreciated help adding this functionality/feature help wanted Extra attention is needed investigating currently looking into this issue labels Jun 19, 2023
@Avnsx
Copy link
Owner Author

Avnsx commented Jun 22, 2023

@CaptainKoons I have made several commits that address this issue. Please download the latest python version of the repository and let me know if those changes, solve the issue you were having before.

@CaptainKoons
Copy link

CaptainKoons commented Jun 23, 2023

@Avnsx I’ve tried the latest python version as you said.
And it worked perfectly fine with single post download on the long 4gb+ video post! (I haven’t tied a full scrap)
Many thanks for that already!!! 🍻

But the second error post with the 3 smaller videos+1pic still gets an error

@Avnsx
Copy link
Owner Author

Avnsx commented Jun 23, 2023

av.error.ValueError: [Errno 22] Invalid argument

Unable to reproduce the bug, as the media causing errors appears to be restricted to subscribers only.
To assist in resolving the issue, kindly send an email to [email protected] with account credentials, which have access to the mentioned content.

@CaptainKoons
Copy link

@Avnsx I appreciate your willingness to investigate the issue further. But I hope you understand, that I’m not happy to share my login data online (which would in this case lead to automatically sharing my personal data and credit card details as well).
Hopefully you find a way to solve the issues regardless.

Thanks in advance & BR!
CK

@OpenFieldsOfOz
Copy link

OpenFieldsOfOz commented Jun 25, 2023

I'm seeing this issue on HotwifeLexiLove. I'd be happy to send $ via paypal so you can subscribe yourself in order to reproduce.

@Avnsx
Copy link
Owner Author

Avnsx commented Jun 25, 2023

I'm seeing this issue on HotwifeLexiLove. I'd be happy to send $ via paypal so you can subscribe yourself in order to reproduce.

If you want to help, just create a fresh fansly account, buy a subscription to the mentioned creator and send me the account credentials to [email protected] @OpenFieldsOfOz

@Avnsx
Copy link
Owner Author

Avnsx commented Jun 25, 2023

Also @OpenFieldsOfOz are you sure that the python version 0.4.1 of fansly downloader, doesn't fix the issue for you either?

@OpenFieldsOfOz
Copy link

I'm running the fe25522cfadb397d137b9aa735d0004ec9f05e4b version from master

@Avnsx
Copy link
Owner Author

Avnsx commented Jun 26, 2023

I'm running the fe25522cfadb397d137b9aa735d0004ec9f05e4b version from master

That's not exactly a versioning, just go to the config.ini file and look at the version string at the very bottom

@OpenFieldsOfOz
Copy link

Yup, version version = 0.4.1. Sent you an email with test creds

@Avnsx Avnsx removed the investigating currently looking into this issue label Jul 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working contributors appreciated help adding this functionality/feature help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants