[BUG] using unknown tool in documentation

What / Why
The page: https://github.com/npm/documentation/blob/main/content/packages-and-modules/securing-your-code/verifying-the-pgp-signature-for-a-package-from-the-npm-public-registry.mdx (also this) contains example code and its impossible to execute that as it refers to an unknown command-line utility. The code:
http GET https://registry.npmjs.org/light-cycle | json "versions['1.4.3'].dist.npm-signature" > sig-to-check

The error: Command 'json' not found. Shouldn't be here jq? Or if there really exist some json cmd, please instruct on how to install it in the Prerequisites section of the same article.
Also http:  Command 'http' not found. Assuming curl. Also add to Prerequisites.

n/a

When
execute: json shell or http shell
Where
bash(ubuntu).
How
typing command by keyboard
Current Behavior

n/a

Steps to Reproduce
run this on any computer that doesn't have any json and http packages
Expected Behavior
jq? curl?
Who
linux user
References

n/a

Thanks for the issue @msangel! I think we should have as few prerequisites as possible so I suggest we move all the json examples to npx json and http to npm view --json.
For example, here's an npm only example for that same command:
npm view<EMAIL_ADDRESS>--json | npm exec json ".dist.npm-signature"


Added DDMMYYYY format regex

Hi,
I added this particular format for dates - It covers an specific necessity, parsing just the date part in DDMMYYYY format.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: acantatore sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for the contribution @acantatore !

Cheers! My pleasure.


Groupname schema

Coverage remained the same at 51.225% when pulling b23b4e92d27bea0924f57a2a6515aff234f25c88 on authndev into 6757ab86c3f3a9245f2a5fc7f5a1d50a97684453 on pai-0.14.y.


feat(mission_planner): inherit allow_goal_modification

Description

Pass the allow_goal_modification of the API to the planning internal route.
Related links

https://github.com/autowarefoundation/autoware_adapi_msgs/pull/30,
Tests performed

psim
Notes for reviewers

Interface changes

Effects on system behavior

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

And could you explain the reason why autoware_adapi_v1_msgs and autoware_planning_msgs are mixed here? pray

@kosuke55 I feel like there is no particular reason. I will try to unify them.

I feel like there is no particular reason. I will try to unify them.

@kosuke55 It's unified by this PR (https://github.com/autowarefoundation/autoware.universe/pull/3412), then RouteOption can be used in SetRoute as well.

@isamu-takagi
I merged https://github.com/autowarefoundation/autoware.universe/pull/3412 and rebase this PR on main. Could you please check this PR?


Bulk add with excel problem

I'm using excel to bulk add my features and product backlog items. But when adding a product backlog item as child of a feature system creates the link with "dublicate" link type by default as far as i see. I could not find a way to fix it or adding with a different link type. Help needed.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 505849d3-01c8-a2cd-dc6c-271dd1120e2d
Version Independent ID: 577fc252-60e4-f670-bb92-6bdbcb7d5c69
Content: Bulk modify work items using Microsoft Excel - Azure Boards
Content Source: docs/boards/backlogs/office/bulk-add-modify-work-items-excel.md
Product: devops
Technology: devops-agile
GitHub Login: @KathrynEE
Microsoft Alias: kaelli

Thanks for your feedback. It looks like you're working through an issue with your scenario or implementation, rather than an issue with the documentation. Here are a couple of options where you might consider asking your questions:

Azure DevOps on Stack Overflow

Azure DevOps Support Bot

I am closing this issue now.  You are welcome to @ mention me for any followup, including possible documentation updates.  We hope to hear from you again.

Thanks for your reply. I just wanted an extension on document related to this problem.


proj1.part3 Relational Algebra

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.cnissnzg seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Support running the Kepler in a non-Kube environment

What would you like to be added?
We want to run the Kepler in a non-Kube platform (e.g. RH Device Edge) to help us collecting the power metrics
Why is this needed?
Now Kepler can expose the power level metrics in Kubernetes efficiently,  we want to leverage the Kepler ability collecting the power metrics in a non-Kube platform  (e.g. RH Device Edge).

You can use the kepler rpm https://github.com/sustainable-computing-io/kepler/releases/download/v0.6.1/kepler.rpm.tar.gz to run Kepler on non Kubernetes envirnoment.

@husky-parul thanks, I will have a try...

I tried with Kepler with 0.6.1, it can work on non Kubernetes environment, thanks teams for the help


Need to use precmd_functions for bash

When adding powerline-shell to my ~/.bashrc following the instructions the prompt did not update when changing directories etc. Using the same config as for zsh only dropping the --shell argument worked fine:
function powerline_precmd() {
    PS1="$(powerline-shell $?)"
}

function install_powerline_precmd() {
  for s in "${precmd_functions[@]}"; do
    if [ "$s" = "powerline_precmd" ]; then
      return
    fi
  done
  precmd_functions+=(powerline_precmd)
}

if [ "$TERM" != "linux" ]; then
    install_powerline_precmd
fi

bash version: GNU bash, version 4.4.23(1)-release (x86_64-pc-linux-gnu)

what is your version of python

3.6.6

does not work for me either, but I really don't understand why that script is as complicated as it is.


Overview (Include Azure Stack and Microsoft Azure Comparison )

Hello Team,
Really enjoy the documentation written over here, would like to suggest to include the Azure stack and Microsoft Azure comparison section under overview tab to generate more interest in documentation.
Warm Regards,

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 252f6566-4c07-66d6-885b-88820a9d130b
Version Independent ID: 14031275-664e-193a-0cb2-a6e74a5467d9
Content: What is Azure Stack?
Content Source: articles/azure-stack/azure-stack-poc.md
Service: azure-stack
Product: unspecified
GitHub Login: @jeffgilb
Microsoft Alias: jeffgilb

@asingh1989 Thanks for bringing this to our attention and the Kudos. Your feedback has been shared with the content owner for further review.

Great suggestion @asingh1989 I've already started discussions with the larger team about doing this based on your feedback!

#please-close

Thank you for your quick response @femsulu @Jeff

@asingh1989 We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


*.dll files missing

*.dll files seem to be missing when loading REInteractiveAPI/ReLoad.fsx in the Examples/REINDotNetInteractive.ipynb notebook, run in VS Code.
What is run:
#load @"../REInteractiveAPI/ReLoad.fsx"
open ReasoningEngine

The actual files that are called within REInteractiveAPI/ReLoad.fsx are the following:
#r @"bin/Release/netstandard2.0/ReasoningEngine.dll"
#r @"bin/Release/netstandard2.0/REIN.dll"
#r @"bin/Release/netstandard2.0/REInteractiveAPI.dll"

The errors:
Error: c:\Path to local copy of the ReasoningEngine GitHub\ReasoningEngine\REInteractiveAPI\ReLoad.fsx (10,1)-(10,53) parameter error Unable to find the file 'bin/Release/netstandard2.0/ReasoningEngine.dll' in any of ...
Error: c:\Path to local copy of the ReasoningEngine GitHub\ReasoningEngine\REInteractiveAPI\ReLoad.fsx (11,1)-(11,42) parameter error Unable to find the file 'bin/Release/netstandard2.0/REIN.dll' in any of ...
Error: c:\Path to local copy of the ReasoningEngine GitHub\ReasoningEngine\REInteractiveAPI\ReLoad.fsx (12,1)-(12,54) parameter error Unable to find the file 'bin/Release/netstandard2.0/REInteractiveAPI.dll' in any of ...

Machine details:

Windows 10
VS Code 1.84.2
.NET 8

Hi @vincentdeman you need to build REInteractiveAPI manually yourself, in Release mode.
Related I've just pushed some fixes on #12 for changes to F# rules since this project was released. With those I was able to build and run the notebook. Hope it works for you too.
https://github.com/fsprojects/ReasoningEngine/tree/pr/8#tool-installation has more instructions, it's currently on a PR though.
Incidentally #3 was proposed to avoid the manual build but is still awaiting a volunteer.


[IOTDB-68]Add basic cluster framework, non-query module and query metadata module

This PR is the first part of the distributed version, which includes the following changes:

Add basic cluster framework. Mainly in package entity and rpc.raft.
Add non-query module, including functions: set storage group, create timeseries, insert、update、delete data，change authority. Mainly in package qp and rpc.raft.
Add query metadata module, including show storage group and show timeseries. Mainly in package qp and rpc.raft.
Corresponding Jira issue link: https://issues.apache.org/jira/browse/IOTDB-68

https://github.com/apache/incubator-iotdb/pull/460


Run grunt automatically after Core build

This implies everything on the developer machine is setup and ready to go. Perhaps we should wait until the necessary prerequisites to the README.md have been merged (see #9) before merging this?

Could also use the Grunt NuGet package, which will add a .bin\Grunt.cmd to the project that you can use to execute your gruntfile.

@kendaleiv: the Grunfile is in the same directory as the Core project, so you just need to call grunt.

@kendaleiv why not use the NuGet @jrusbatch mentioned?

Closing in favor of #31.


Replacement parameters are case sensitive

In laravel docs you can change the casing of lang params to change how they are displayed in the resulting string:

https://laravel.com/docs/5.4/localization#replacing-parameters-in-translation-strings

When I use the associated trans function in js I instead get the following result:

My :What parameter has first character capitalized, so the 2nd example doesn't work as expected.
That aside, great library btw!

Hey @BARNZ.
That seems right, thanks! Feel free to open a PR if you need a fix quickly (need to edit localization.js).

@carestad Would be cool if you could tell us if the issue is fixed now.
(Should have been fixed by #47.)

Maybe you meant to tag @BARNZ, @andywer? Works well for me.
I based the JS code on how Laravel does this in PHP.


arm-dns and arm-network hang on server error and doesn't retry

Package Name:

    "@azure/arm-dns": "3.2.0",
    "@azure/arm-network": "13.0.0",

Package Version:
Operating system:
nodejs

version: v8.9.3

browser

name/version: N/A

typescript

version: "3.1.4"

Is the bug related to documentation in

[ ] README.md
[ ] source code documentation
[ ] SDK API docs on https://docs.microsoft.com

Describe the bug
I have a simple node.js test app that periodically makes calls to two different azure api endpoints as long as the app is running. I've noticed during testing that both calls to the two api endpoints eventually hang and cause my test app to stop outputting logs eventually. This issue happens at random times during the lifetime of the process but the test app eventually always hangs. I suspect what's happening is that a server side error occurs and causes the sdk to not execute the default retry policy correctly resulting in the sdk ending up in some sort of state that it can't recover from. I've taken a brief look at the newer @azure/ms-rest-azure-js package which looks to be missing retry logic found in @azure/ms-rest-js that I suspect didn’t get ported over?
To Reproduce
Here's a sample app demonstrating the problem.
{
  "dependencies": {
    "@azure/arm-dns": "3.2.0",
    "@azure/arm-network": "13.0.0",
    "@azure/ms-rest-nodeauth": "2.0.1",
    "applicationinsights": "1.4.0",
    "winston": "3.2.1",
    "winston-azure-application-insights": "2.0.0"
  },
  "scripts": {
    "start": "npm run build && node dist/index",
    "build": "tsc"
  },
  "devDependencies": {
    "@types/node": "9.6.4",
    "typescript": "3.1.4"
  }
}

import { DnsManagementClient } from "@azure/arm-dns";
import { loginWithServicePrincipalSecret } from "@azure/ms-rest-nodeauth";

let dns: DnsManagementClient;

async function init(): Promise<void> {
    const creds = await loginWithServicePrincipalSecret(
        "",
        "",
        ""
    );
    dns = new DnsManagementClient(creds, "");
}

async function getDnsZones(): Promise<void> {
    const dnszones = await dns.zones.list();
    console.info(`got ${dnszones.length} dns zones`);
    setTimeout(() => {
        getDnsZones()
        .catch((err) => {
            console.info("ERROR from dns zones list", err);
            getDnsZones();
        })
    }, Math.floor(Math.random() * 100) + 100);
}

async function getRecordSets(): Promise<void> {
    const recordSets = await dns.recordSets.listAllByDnsZone("kepler-dns", "kepler.services");
    console.info(`got ${recordSets.length} record sets`);
    setTimeout(() => {
        getRecordSets()
        .catch((err) => {
            console.error("ERROR from record set list", err);
            getRecordSets();
        })
    }, Math.floor(Math.random() * 100) + 100);
}

(async ()=> {
    await init();
    getDnsZones();
    getRecordSets();
})();

Expected behavior
The app should keep outputting logs indefinitely.
Screenshots
Additional context

Thanks for opening this issue!  I've routed it to an appropriate team for follow up.

@talam could you elaborate on what is the server error you are getting. If this is a server-side error then we'd need to investigate the error from DNS service team side; however, if this is a problem with retry logic we'd need to reroute this to the appropriate team.

@rohinkoul My sample app in my original comment doesn't throw and log any server errors. Maybe they get swallowed?
The logs typically look like the below. You can see that the DNS request that should get called eventually hangs. The same happens for the other request after enough time and then there are no more logs at all.
got 100 record sets
got 7 dns zones
got 100 record sets
got 7 dns zones
got 100 record sets
got 7 dns zones
got 100 record sets
got 100 record sets
got 100 record sets
got 100 record sets
got 100 record sets
got 100 record sets
got 100 record sets
got 100 record sets
...

@talam  May I know how long will this hang occur in your tests? I am trying to reproduce it but the problem doesn't show up for like more than 10 minutes.
Also, since you doubt the package @azure/ms-rest-azure-js and @azure/ms-rest-js have missing retry logic, Can I have your versions of these two packages?  Can you show me which part is missing as well?

The issue eventually happens for me after a random amount of time. It could be 5-10 mins or longer. I suspect that once a request returns some error from the server it hangs and it's possible none of the requests during the test you ran produced an intermittent error.
@azure/ms-rest-azure-js 1.3.8
@azure/ms-rest-js 1.8.12

I am not 100% certain that it's missing retry logic as I was guessing based no a quick search for retry logic when I last checked the codebase a few months ago. Someone that's more familiar with the library details will have to take a look to investigate that for the versions of the library i mentioned above.

@talam  Can you upgrade this two packages as follow to see if problem still exists? I am using these two version
   "@azure/ms-rest-azure-js": "^2.0.1",     "@azure/ms-rest-js": "^2.0.4",

I am not 100% certain that it's missing retry logic as I was guessing based no a quick search for retry logic when I last checked the codebase a few months ago. Someone that's more familiar with the library details will have to take a look to investigate that for the versions of the library i mentioned above.

@azure/ms-rest-js does have retry policy set in place. See https://github.com/Azure/ms-rest-js/blob/master/lib/serviceClient.ts#L424-L428. We have had this for quite a while and therefore would be present in the versions provided by @talam

Can you upgrade this two packages as follow to see if problem still exists? I am using these two version "@azure/ms-rest-azure-js": "^2.0.1", "@azure/ms-rest-js": "^2.0.4",

@qiaozha The @azure/arm-dns package is using v1 of @azure/ms-rest-js and @azure/ms-rest-azure-js. So, I don't see how one can use v2 of these packages with @azure/arm-dns

I am trying to reproduce it but the problem doesn't show up for like more than 10 minutes.

@qiaozha, Since you are able to reproduce the issue, do you have any leads on what the root cause is?

@qiaozha , are you able to repro the issue?

@qiaozha , are you able to repro the issue?

I tried to repro the issue, but didn't see the hang result.

I am not 100% certain that it's missing retry logic as I was guessing based no a quick search for retry logic when I last checked the codebase a few months ago. Someone that's more familiar with the library details will have to take a look to investigate that for the versions of the library i mentioned above.

@azure/ms-rest-js does have retry policy set in place. See Azure/ms-rest-js:lib/serviceClient.ts@master#L424-L428. We have had this for quite a while and therefore would be present in the versions provided by @talam

Can you upgrade this two packages as follow to see if problem still exists? I am using these two version "@azure/ms-rest-azure-js": "^2.0.1", "@azure/ms-rest-js": "^2.0.4",

@qiaozha The @azure/arm-dns package is using v1 of @azure/ms-rest-js and @azure/ms-rest-azure-js. So, I don't see how one can use v2 of these packages with @azure/arm-dns

I am trying to reproduce it but the problem doesn't show up for like more than 10 minutes.

@qiaozha, Since you are able to reproduce the issue, do you have any leads on what the root cause is?

@ramya-rao-a  let me double check what the @azure/ms-rest-js version I am using when try to repro the issue. and I will get back to you.

@ramya-rao-a  you are right. the ms-rest-js and ms-rest-azure-env is 1.X version, but I can't repro the error.
@rohinkoul  Just wondering is it possible that the service backend has set some sort of defend logic that prevent frequently request from single IP etc. and because I am in the internal company network the server backend would not set such defend rule?

Add "Service Attention" for service team to confirm the behavior in backend. thanks.

Small update:
The latest version of the @azure/arm-dns package will now be using v2 of @azure/ms-rest-azure-js and @azure/ms-rest-js": "^2.0.4.

@talam, could you check whether you still face this issue with the latest version of JS SDK?


[lightGBM] Fixes atomic move issue

Fixes #2257
Description
Brief description of what this PR is about

If this change is a backward incompatible change, why must this change be made?
Interesting edge cases to note here

Codecov Report
Base: 72.08% // Head: 71.54% // Decreases project coverage by -0.54% :warning:

Coverage data is based on head (ea367d0) compared to base (bb5073f).
Patch coverage: 73.70% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2258      +/-   ##
============================================
- Coverage     72.08%   71.54%   -0.55%
- Complexity     5126     6342    +1216
============================================
  Files           473      631     +158
  Lines         21970    28078    +6108
  Branches       2351     2986     +635
============================================
+ Hits          15838    20088    +4250
- Misses         4925     6531    +1606
- Partials       1207     1459     +252

Impacted Files
Coverage Δ

api/src/main/java/ai/djl/modality/cv/Image.java
69.23% <ø> (-4.11%)
:arrow_down:

...rc/main/java/ai/djl/modality/cv/MultiBoxPrior.java
76.00% <ø> (ø)

...rc/main/java/ai/djl/modality/cv/output/Joints.java
71.42% <ø> (ø)

.../main/java/ai/djl/modality/cv/output/Landmark.java
100.00% <ø> (ø)

...main/java/ai/djl/modality/cv/output/Rectangle.java
72.41% <0.00%> (ø)

...i/djl/modality/cv/translator/BigGANTranslator.java
21.42% <0.00%> (-5.24%)
:arrow_down:

.../modality/cv/translator/ImageFeatureExtractor.java
0.00% <0.00%> (ø)

.../ai/djl/modality/cv/translator/YoloTranslator.java
27.77% <0.00%> (+18.95%)
:arrow_up:

...ain/java/ai/djl/modality/cv/util/NDImageUtils.java
59.21% <0.00%> (ø)

api/src/main/java/ai/djl/modality/nlp/Decoder.java
63.63% <ø> (ø)

... and 564 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


unclear licensing requirements for subscriptions

Step 3. g. the last bullet under the "Subscribe to a dashboard or a report page" section.
It currently reads: "Add the full report as an attachment instead of only a single report page and select either PDF or PowerPoint. The size of the attachment is limited to no more than 20 pages and less than 25 MB. The attachment respects all privacy labels for the report."
This creates confusion as it does not call out that Premium capacity is required to take advantage of this feature.  The way it is written makes it sound like this feature is available to Pro or Premium users.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: e35489ab-e39e-b7be-588d-38f26ccf5442
Version Independent ID: f5145d5d-afbc-f3f0-7275-1186b60890d0
Content: Subscribe yourself to reports and dashboards - Power BI
Content Source: powerbi-docs/consumer/end-user-subscribe.md
Service: powerbi
Sub-service: pbi-explore
GitHub Login: @mihart
Microsoft Alias: mihart

Thanks for your comment, @carebear4hire.
I've assigned this issue to the doc author for review.


Planetscale backend

SQLite is great. It would also be great to have the options to host db in Planetscale mysql.

There are no plans for this at the moment. You can also check the discussion in https://github.com/pocketbase/pocketbase/discussions/14.
Eventual support for other SQL databases may be added, mainly to support hosts with ephemeral storage, but for now this remains out of the roadmap.


gnome.gedit: 40.1 -> 41.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for gnome.gedit is: "Official text editor of the GNOME desktop environment"
meta.homepage for gnome.gedit is: "https://wiki.gnome.org/Apps/Gedit"
meta.changelog for gnome.gedit is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
Warning: no invocation of /nix/store/d04bs5f61b6rnfjvr7s8jcc1i2vsl8gh-gedit-41.0/bin/.gedit-wrapped had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/d04bs5f61b6rnfjvr7s8jcc1i2vsl8gh-gedit-41.0/bin/gedit had a zero exit code or showed the expected version
0 of 2 passed binary check by having a zero exit code.
0 of 2 passed binary check by having the new version present in output.
found 41.0 with grep in /nix/store/d04bs5f61b6rnfjvr7s8jcc1i2vsl8gh-gedit-41.0
found 41.0 in filename of file in /nix/store/d04bs5f61b6rnfjvr7s8jcc1i2vsl8gh-gedit-41.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
gnome.gedit

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/d04bs5f61b6rnfjvr7s8jcc1i2vsl8gh-gedit-41.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A gnome.gedit https://github.com/r-ryantm/nixpkgs/archive/4c94d65e6141173bbf6d2c8c92edef2ebc515794.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/d04bs5f61b6rnfjvr7s8jcc1i2vsl8gh-gedit-41.0
ls -la /nix/store/d04bs5f61b6rnfjvr7s8jcc1i2vsl8gh-gedit-41.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

gnome.gedit

Maintainer pings
cc @hedning @jtojnar @dasj19 @maxeaubrey for testing.

Ooops I closed this by mistake, going to open a new one.


Setup of package 'services' failed: Integration 'XXXX' not found.

I have a "Configuration warnings"
Setup of package 'services' failed: Integration 'update_now' not found.
Setup of package 'services' failed: Integration 'set_profile' not found.
Setup of package 'services' failed: Integration 'work_now' not found.
Setup of package 'services' failed: Integration 'work_for' not found.
Setup of package 'services' failed: Integration 'work_until' not found.
Setup of package 'services' failed: Integration 'border_cut' not found.
Setup of package 'services' failed: Integration 'charge_now' not found.
Setup of package 'services' failed: Integration 'charge_for' not found.
Setup of package 'services' failed: Integration 'charge_until' not found.
Setup of package 'services' failed: Integration 'trace_position' not found.
Setup of package 'services' failed: Integration 'keep_out' not found.
Setup of package 'services' failed: Integration 'custom_command' not found.
what does it mean — How to fix it pleeaseeee. help

I am not familiar with these messages and do not know where they can occur.
There is simply too much information missing for me to be able to help you in any way:

What version of the intefration has the issue?
What was the last working version of the integration?
What version of Home Assistant are you using?
What type of installation are you running?
Provide a clear and concise description of what the problem is.
Describe the issue you are experiencing here
Tell us what you were trying to do and what happened.
Diagnostics information, concrete log excerpts
....


ParamountPlus Downloads always freeze at least once during playback.

Checklist

[X] I'm asking a question
[X] I've looked through the README and FAQ for similar questions
[X] I've searched the bugtracker for similar questions including closed ones

Question

So I was curious if anyone else has issues with their ParamountPlus downloads. I noticed it when I had subtitles turned on and I skip towards the end of the video and the subs are way off. So I ran back through the video and found where the subs were correct and found that the audio will replay itself and the then the video freezes until it catches back up to the audio and then plays again. It usually happens at least once per video, sometimes not at all, other times it's multiple times per video, making it at best annoying and at worst unwatchable.
Not sure what the deal is. Just wasn't sure if I was alone in this. Or maybe there is a setting I am not using that makes everyone elses downloads work flawlessly on playback.

So I just downloaded a video manually that shows on ParamountPlus.com as being 19minutes and 45 seconds in length and manual download shows the same duration, while the file downloaded using yt-dlp is 20minutes and 21 seconds. Which means that the video freezing and audio loop is adding over 30seconds of glitches to downloaded videos.

https://www.reddit.com/r/youtubedl/comments/m1taui/video_stuck_for_a_few_seconds_but_audio_still/
https://gitmemory.com/issue/ytdl-org/youtube-dl/27972/830907405
Found a few links that show the problem, but no real concrete fixes.

which version of ffmpeg are u using?
if not using v3.0.1, try with it

Using 4.4, I mean I guess I could downgrade to that one, but would it make a difference?

Is there any way to get yt-dlp to match the duration of the downloaded file and the duration the video should be? And then re-download if there is a discrepancy?

Give an example URL. does the native downloader work with it? If so, does it still produce the issue?

I’m having the same issue. I've tried different video and sub formats but nothing fixes it

Grandfather-Paradox/paramount-dl

https://github.com/Grandfather-Paradox/paramount-dl

You haven't provided a url, u aren't willing to provide logs, you aren't willing to debug by using native downloader, you aren't willing to try with ffmpeg v3.0.1 and then you use a mkvmerge based script to download.
Idk why this issue exists 🤷♂

You haven't provided a url, u aren't willing to provide logs, you aren't willing to debug by using native downloader, you aren't willing to try with ffmpeg v3.0.1 and then you use a mkvmerge based script to download.
Idk why this issue exists 🤷♂

I have provided a url, but any url from paramountplus.com will have a risk of a corrupt video being downloaded.
I will provide logs (which don't show anything within ffmpeg anyways) when I've finished downloading my test sets. I've been using the native downloader from the on set, which is why I'm testing between ffmpeg and native.
I don't see the point in using an older version of ffmpeg as from what I've gathered it doesn't make a difference when not muxing vp9 and aac
As for the mkvmerge script, I'm simply providing information scoured from the internet to try and workaround the issue until a valid fix can be made.
Lastly, this issue exists because it IS an issue. It's no good being able to download from a site if the downloads are randomly corrupt.

So I went with a different set of files from Clarissa Explains It All as they are SD and therefore smaller and faster to download.
https://www.paramountplus.com/shows/clarissa-explains-it-all/video/4Bk6DxlokIqprvaEjDxL4sH_jSnIjHfq/clarissa-explains-it-all-new-addition/
https://www.paramountplus.com/shows/clarissa-explains-it-all/video/5Dy0pyjoSfBiKXSETMs1Mwkaw4Scl5ug/clarissa-explains-it-all-bully/
https://www.paramountplus.com/shows/clarissa-explains-it-all/video/84MUi8uqiLMExwvBKRdzyBvXRDIWTt5B/clarissa-explains-it-all-sick-days/
https://www.paramountplus.com/shows/clarissa-explains-it-all/video/aemCh6LsCnkN5ZruQ7a1T0oWBju3ehER/clarissa-explains-it-all-school-picture/
https://www.paramountplus.com/shows/clarissa-explains-it-all/video/BB4sHkq4G8D5PqR95BeXmXC5vHrLtlSD/clarissa-explains-it-all-me-101/
https://www.paramountplus.com/shows/clarissa-explains-it-all/video/CjJQQkQpEcQeC2dOdwoF3qMl7798ARfh/clarissa-explains-it-all-sam-darling/

Of the 6 videos downloaded 3 of them froze for longer than 10 seconds at multiple times during the download and the other three were just minor hangups as you'd normally expect during download. Those being 01x19 01x06 01x12.
[debug] Command-line config: ['-o', '%(series)s\\%(season_number)02dx%(episode_number)02d - %(title)s [WEBDL-%(height)s] [native].%(ext)s', '-ic', '--write-info-json', '--downloader', 'dash,m3u8:native', '--cookies-from-browser', 'chrome', '--all-subs', '--embed-subs', '-a', 'ytdlready.txt', '--verbose']
[debug] Batch file urls: ['https://www.paramountplus.com/shows/clarissa-explains-it-all/video/4Bk6DxlokIqprvaEjDxL4sH_jSnIjHfq/clarissa-explains-it-all-new-addition/', 'https://www.paramountplus.com/shows/clarissa-explains-it-all/video/5Dy0pyjoSfBiKXSETMs1Mwkaw4Scl5ug/clarissa-explains-it-all-bully/', 'https://www.paramountplus.com/shows/clarissa-explains-it-all/video/84MUi8uqiLMExwvBKRdzyBvXRDIWTt5B/clarissa-explains-it-all-sick-days/', 'https://www.paramountplus.com/shows/clarissa-explains-it-all/video/aemCh6LsCnkN5ZruQ7a1T0oWBju3ehER/clarissa-explains-it-all-school-picture/', 'https://www.paramountplus.com/shows/clarissa-explains-it-all/video/BB4sHkq4G8D5PqR95BeXmXC5vHrLtlSD/clarissa-explains-it-all-me-101/', 'https://www.paramountplus.com/shows/clarissa-explains-it-all/video/CjJQQkQpEcQeC2dOdwoF3qMl7798ARfh/clarissa-explains-it-all-sam-darling/', 'https://www.paramountplus.com/shows/clarissa-explains-it-all/video/HpY95H7lrNjG68ewbump1x1qTaX0M_NM/clarissa-explains-it-all-haunted-house/', 'https://www.paramountplus.com/shows/clarissa-explains-it-all/video/hQeBzxsYXnrLmx9VbtwRnrTBm1bY6b7F/clarissa-explains-it-all-the-great-debate/', 'https://www.paramountplus.com/shows/clarissa-explains-it-all/video/hwTFviFLmojMbOOkbijkRLFRZKq_cIiD/clarissa-explains-it-all-president-ferguson/', 'https://www.paramountplus.com/shows/clarissa-explains-it-all/video/hxpFM72gMiWvkNn4AS97B_fG91WbcWFo/clarissa-explains-it-all-clarissa-s-crush/', 'https://www.paramountplus.com/shows/clarissa-explains-it-all/video/i_9gXc6xvBuWrmAvXykTbSkF9t9KqQIu/clarissa-explains-it-all-parents-who-say-no/', 'https://www.paramountplus.com/shows/clarissa-explains-it-all/video/JKeCMhXXTkTuGIaf25LHR5qGKf_9drqz/clarissa-explains-it-all-cool-dad/', 'https://www.paramountplus.com/shows/clarissa-explains-it-all/video/JWY2IjcmZ3ULR_um1EoYMrfr_ir1cGCa/clarissa-explains-it-all-she-drives-me-crazy/', 'https://www.paramountplus.com/shows/clarissa-explains-it-all/video/nJ1Vx1SrrlFCV5gEfijz1_kWwz96jWIS/clarissa-explains-it-all-urge-to-drive/', 'https://www.paramountplus.com/shows/clarissa-explains-it-all/video/qgQDyJ4izhYr7Iq8AorSmW8ZWVCKtemW/clarissa-explains-it-all-clarissa-makes-a-cake/', 'https://www.paramountplus.com/shows/clarissa-explains-it-all/video/ROrXYsANbatWVKu_tv9cNZboT2QKYb00/clarissa-explains-it-all-no-t-v-/', 'https://www.paramountplus.com/shows/clarissa-explains-it-all/video/S73tZLaldCFBERL1pB1y7fnDKxE4q8Mb/clarissa-explains-it-all-revenge/', 'https://www.paramountplus.com/shows/clarissa-explains-it-all/video/yH4kbCY9aEPp1dL0XMuGxSgwf1GnT0A0/clarissa-explains-it-all-brain-drain/', 'https://www.paramountplus.com/shows/clarissa-explains-it-all/video/YY3n4_j2bdc0IIIEtbqqPrw51Vw1P3b0/clarissa-explains-it-all-the-return-of-aunt-mafalda/', 'https://www.paramountplus.com/shows/clarissa-explains-it-all/video/Zza2pTzBpwyctKu_BLhjj6Wletr40isA/clarissa-explains-it-all-clarissa-news-network/']
[Cookies] Extracting cookies from chrome
[debug] extracting from: "C:\Users\Sipherdrakon\AppData\Local\Google\Chrome\User Data\Default\Cookies"
[Cookies] Extracted 3258 cookies from chrome
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] yt-dlp version 2021.09.02 (exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.18363-SP0
[debug] exe versions: ffmpeg 4.4-full_build-www.gyan.dev, ffprobe 4.4-full_build-www.gyan.dev
[debug] Optional libraries: mutagen, pycryptodome, sqlite, websockets
[debug] Proxy map: {}
[debug] [ParamountPlus] Extracting URL: https://www.paramountplus.com/shows/clarissa-explains-it-all/video/4Bk6DxlokIqprvaEjDxL4sH_jSnIjHfq/clarissa-explains-it-all-new-addition/
[ParamountPlus] 4Bk6DxlokIqprvaEjDxL4sH_jSnIjHfq: Downloading JSON metadata
[ParamountPlus] 4Bk6DxlokIqprvaEjDxL4sH_jSnIjHfq: Downloading JSON metadata
[ParamountPlus] 4Bk6DxlokIqprvaEjDxL4sH_jSnIjHfq: Downloading DASH_CENC_PRECON SMIL data
[ParamountPlus] 4Bk6DxlokIqprvaEjDxL4sH_jSnIjHfq: Downloading m3u8 information
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[debug] Downloading subtitles: en
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 4Bk6DxlokIqprvaEjDxL4sH_jSnIjHfq: Downloading 1 format(s): hls-3114
[info] Writing video subtitles to: Clarissa Explains It All\01x07 - Clarissa Explains It All - New Addition [WEBDL-960] [native].en.vtt
[debug] Invoking downloader on "https://cc.cbs.com/closedcaption/CBS_Production_Entertainment_VMS/444/179/4Bk6DxlokIqprvaEjDxL4sH_jSnIjHfq_1603432675386.vtt"
[download] Destination: Clarissa Explains It All\01x07 - Clarissa Explains It All - New Addition [WEBDL-960] [native].en.vtt
[download] 100% of 72.31KiB in 00:00
[info] Writing video metadata as JSON to: Clarissa Explains It All\01x07 - Clarissa Explains It All - New Addition [WEBDL-960] [native].info.json
[debug] Invoking downloader on "https://cbsios-vh.akamaihd.net/i/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2020/10/12/1805424707901/NICKELODEON_CLARISSAEXPLAINSITALL_108_346901_,2228,4628,3128,1628,848,503,000.mp4.csmil/index_2_av.m3u8?null=0&id=AgBAcM%2fAFyZsDd%2fBNWHXf16pasQIMfIIrYJsjhkM1YRbkclsNZPb+GiUGRvgkNrDjuI3U39SuaWl8w%3d%3d&hdntl=exp=1630999391~acl=%2fi%2ftemp_hd_gallery_video%2fCBS_Production_Outlet_VMS%2fvideo_robot%2fCBS_Production_Entertainment%2f2020%2f10%2f12%2f1805424707901%2fNICKELODEON_CLARISSAEXPLAINSITALL_108_346901_*~data=hdntl~hmac=b444195623a1c486d66be3758dcb8f8fee34951cdb9ed14645e96aafa79e7e9f"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 150
[download] Destination: Clarissa Explains It All\01x07 - Clarissa Explains It All - New Addition [WEBDL-960] [native].mp4
[download] 100% of 579.70MiB in **00:42**
[debug] ffmpeg command line: ffprobe -show_streams "file:Clarissa Explains It All\01x07 - Clarissa Explains It All - New Addition [WEBDL-960] [native].mp4"
[FixupM3u8] Fixing malformed AAC bitstream of "Clarissa Explains It All\01x07 - Clarissa Explains It All - New Addition [WEBDL-960] [native].mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:Clarissa Explains It All\01x07 - Clarissa Explains It All - New Addition [WEBDL-960] [native].mp4" -c copy -map 0 -dn -f mp4 "-bsf:a" aac_adtstoasc "file:Clarissa Explains It All\01x07 - Clarissa Explains It All - New Addition [WEBDL-960] [native].temp.mp4"
[EmbedSubtitle] Embedding subtitles in "Clarissa Explains It All\01x07 - Clarissa Explains It All - New Addition [WEBDL-960] [native].mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:Clarissa Explains It All\01x07 - Clarissa Explains It All - New Addition [WEBDL-960] [native].mp4" -i "file:Clarissa Explains It All\01x07 - Clarissa Explains It All - New Addition [WEBDL-960] [native].en.vtt" -c copy -map 0 -dn -map "-0:s" -map "-0:d" "-c:s" mov_text -map "1:0" "-metadata:s:s:0" "language=eng" "file:Clarissa Explains It All\01x07 - Clarissa Explains It All - New Addition [WEBDL-960] [native].temp.mp4"
Deleting original file Clarissa Explains It All\01x07 - Clarissa Explains It All - New Addition [WEBDL-960] [native].en.vtt (pass -k to keep)
[debug] [ParamountPlus] Extracting URL: https://www.paramountplus.com/shows/clarissa-explains-it-all/video/5Dy0pyjoSfBiKXSETMs1Mwkaw4Scl5ug/clarissa-explains-it-all-bully/
[ParamountPlus] 5Dy0pyjoSfBiKXSETMs1Mwkaw4Scl5ug: Downloading JSON metadata
[ParamountPlus] 5Dy0pyjoSfBiKXSETMs1Mwkaw4Scl5ug: Downloading JSON metadata
[ParamountPlus] 5Dy0pyjoSfBiKXSETMs1Mwkaw4Scl5ug: Downloading DASH_CENC_PRECON SMIL data
[ParamountPlus] 5Dy0pyjoSfBiKXSETMs1Mwkaw4Scl5ug: Downloading m3u8 information
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[debug] Downloading subtitles: en
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 5Dy0pyjoSfBiKXSETMs1Mwkaw4Scl5ug: Downloading 1 format(s): hls-3115
[info] Writing video subtitles to: Clarissa Explains It All\01x06 - Clarissa Explains It All - Bully [WEBDL-960] [native].en.vtt
[debug] Invoking downloader on "https://cc.cbs.com/closedcaption/CBS_Production_Entertainment_VMS/435/395/5Dy0pyjoSfBiKXSETMs1Mwkaw4Scl5ug_1603432678324.vtt"
[download] Destination: Clarissa Explains It All\01x06 - Clarissa Explains It All - Bully [WEBDL-960] [native].en.vtt
[download] 100% of 64.42KiB in 00:00
[info] Writing video metadata as JSON to: Clarissa Explains It All\01x06 - Clarissa Explains It All - Bully [WEBDL-960] [native].info.json
[debug] Invoking downloader on "https://cbsios-vh.akamaihd.net/i/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2020/10/12/1805415491690/NICKELODEON_CLARISSAEXPLAINSITALL_107_346890_,2228,4628,3128,1628,848,503,000.mp4.csmil/index_2_av.m3u8?null=0&id=AgBAcM%2fAFyZsDRPCNWFdj26BEp5xoCy7J4qseVb9VM9xmqiuXnF%2fzhJL7rXW50DQqkFoMj99p%2f1+XQ%3d%3d&hdntl=exp=1630999443~acl=%2fi%2ftemp_hd_gallery_video%2fCBS_Production_Outlet_VMS%2fvideo_robot%2fCBS_Production_Entertainment%2f2020%2f10%2f12%2f1805415491690%2fNICKELODEON_CLARISSAEXPLAINSITALL_107_346890_*~data=hdntl~hmac=40d7dd80f898f71ee3a33252320103ecb6873672233a8004c4db6bf7ba38140f"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 155
[download] Destination: Clarissa Explains It All\01x06 - Clarissa Explains It All - Bully [WEBDL-960] [native].mp4
[download] 100% of 596.69MiB in **01:24**
[debug] ffmpeg command line: ffprobe -show_streams "file:Clarissa Explains It All\01x06 - Clarissa Explains It All - Bully [WEBDL-960] [native].mp4"
[FixupM3u8] Fixing malformed AAC bitstream of "Clarissa Explains It All\01x06 - Clarissa Explains It All - Bully [WEBDL-960] [native].mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:Clarissa Explains It All\01x06 - Clarissa Explains It All - Bully [WEBDL-960] [native].mp4" -c copy -map 0 -dn -f mp4 "-bsf:a" aac_adtstoasc "file:Clarissa Explains It All\01x06 - Clarissa Explains It All - Bully [WEBDL-960] [native].temp.mp4"
[EmbedSubtitle] Embedding subtitles in "Clarissa Explains It All\01x06 - Clarissa Explains It All - Bully [WEBDL-960] [native].mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:Clarissa Explains It All\01x06 - Clarissa Explains It All - Bully [WEBDL-960] [native].mp4" -i "file:Clarissa Explains It All\01x06 - Clarissa Explains It All - Bully [WEBDL-960] [native].en.vtt" -c copy -map 0 -dn -map "-0:s" -map "-0:d" "-c:s" mov_text -map "1:0" "-metadata:s:s:0" "language=eng" "file:Clarissa Explains It All\01x06 - Clarissa Explains It All - Bully [WEBDL-960] [native].temp.mp4"
Deleting original file Clarissa Explains It All\01x06 - Clarissa Explains It All - Bully [WEBDL-960] [native].en.vtt (pass -k to keep)
[debug] [ParamountPlus] Extracting URL: https://www.paramountplus.com/shows/clarissa-explains-it-all/video/84MUi8uqiLMExwvBKRdzyBvXRDIWTt5B/clarissa-explains-it-all-sick-days/
[ParamountPlus] 84MUi8uqiLMExwvBKRdzyBvXRDIWTt5B: Downloading JSON metadata
[ParamountPlus] 84MUi8uqiLMExwvBKRdzyBvXRDIWTt5B: Downloading JSON metadata
[ParamountPlus] 84MUi8uqiLMExwvBKRdzyBvXRDIWTt5B: Downloading DASH_CENC_PRECON SMIL data
[ParamountPlus] 84MUi8uqiLMExwvBKRdzyBvXRDIWTt5B: Downloading m3u8 information
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[debug] Downloading subtitles: en
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 84MUi8uqiLMExwvBKRdzyBvXRDIWTt5B: Downloading 1 format(s): hls-3106
[info] Writing video subtitles to: Clarissa Explains It All\01x12 - Clarissa Explains It All - Sick Days [WEBDL-960] [native].en.vtt
[debug] Invoking downloader on "https://cc.cbs.com/closedcaption/CBS_Production_Entertainment_VMS/443/703/84MUi8uqiLMExwvBKRdzyBvXRDIWTt5B_1603432675357.vtt"
[download] Destination: Clarissa Explains It All\01x12 - Clarissa Explains It All - Sick Days [WEBDL-960] [native].en.vtt
[download] 100% of 73.78KiB in 00:00
[info] Writing video metadata as JSON to: Clarissa Explains It All\01x12 - Clarissa Explains It All - Sick Days [WEBDL-960] [native].info.json
[debug] Invoking downloader on "https://cbsios-vh.akamaihd.net/i/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2020/10/12/1805424195670/NICKELODEON_CLARISSAEXPLAINSITALL_113_346894_,2228,4628,3128,1628,848,503,000.mp4.csmil/index_2_av.m3u8?null=0&id=AgBAcM%2fAF8k4r23CNWERuk2Pt5MjjthihaApcyhDZjtsD+IUuHfsKUBWsIlphseGkjoyISiDgbRf3w%3d%3d&hdntl=exp=1630999533~acl=%2fi%2ftemp_hd_gallery_video%2fCBS_Production_Outlet_VMS%2fvideo_robot%2fCBS_Production_Entertainment%2f2020%2f10%2f12%2f1805424195670%2fNICKELODEON_CLARISSAEXPLAINSITALL_113_346894_*~data=hdntl~hmac=51269bf50bc9475d54f7a1b91e35686db1c6c6b1ca5331d45d3a69c56f2f320a"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 155
[download] Destination: Clarissa Explains It All\01x12 - Clarissa Explains It All - Sick Days [WEBDL-960] [native].mp4
[download] 100% of 594.31MiB in **02:25**
[debug] ffmpeg command line: ffprobe -show_streams "file:Clarissa Explains It All\01x12 - Clarissa Explains It All - Sick Days [WEBDL-960] [native].mp4"
[FixupM3u8] Fixing malformed AAC bitstream of "Clarissa Explains It All\01x12 - Clarissa Explains It All - Sick Days [WEBDL-960] [native].mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:Clarissa Explains It All\01x12 - Clarissa Explains It All - Sick Days [WEBDL-960] [native].mp4" -c copy -map 0 -dn -f mp4 "-bsf:a" aac_adtstoasc "file:Clarissa Explains It All\01x12 - Clarissa Explains It All - Sick Days [WEBDL-960] [native].temp.mp4"
[EmbedSubtitle] Embedding subtitles in "Clarissa Explains It All\01x12 - Clarissa Explains It All - Sick Days [WEBDL-960] [native].mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:Clarissa Explains It All\01x12 - Clarissa Explains It All - Sick Days [WEBDL-960] [native].mp4" -i "file:Clarissa Explains It All\01x12 - Clarissa Explains It All - Sick Days [WEBDL-960] [native].en.vtt" -c copy -map 0 -dn -map "-0:s" -map "-0:d" "-c:s" mov_text -map "1:0" "-metadata:s:s:0" "language=eng" "file:Clarissa Explains It All\01x12 - Clarissa Explains It All - Sick Days [WEBDL-960] [native].temp.mp4"
Deleting original file Clarissa Explains It All\01x12 - Clarissa Explains It All - Sick Days [WEBDL-960] [native].en.vtt (pass -k to keep)
[debug] [ParamountPlus] Extracting URL: https://www.paramountplus.com/shows/clarissa-explains-it-all/video/aemCh6LsCnkN5ZruQ7a1T0oWBju3ehER/clarissa-explains-it-all-school-picture/
[ParamountPlus] aemCh6LsCnkN5ZruQ7a1T0oWBju3ehER: Downloading JSON metadata
[ParamountPlus] aemCh6LsCnkN5ZruQ7a1T0oWBju3ehER: Downloading JSON metadata
[ParamountPlus] aemCh6LsCnkN5ZruQ7a1T0oWBju3ehER: Downloading DASH_CENC_PRECON SMIL data
[ParamountPlus] aemCh6LsCnkN5ZruQ7a1T0oWBju3ehER: Downloading m3u8 information
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[debug] Downloading subtitles: en
[debug] Default format spec: bestvideo*+bestaudio/best
[info] aemCh6LsCnkN5ZruQ7a1T0oWBju3ehER: Downloading 1 format(s): hls-3107
[info] Writing video subtitles to: Clarissa Explains It All\01x02 - Clarissa Explains It All - School Picture [WEBDL-960] [native].en.vtt
[debug] Invoking downloader on "https://cc.cbs.com/closedcaption/CBS_Production_Entertainment_VMS/444/179/aemCh6LsCnkN5ZruQ7a1T0oWBju3ehER_1603432672719.vtt"
[download] Destination: Clarissa Explains It All\01x02 - Clarissa Explains It All - School Picture [WEBDL-960] [native].en.vtt
[download] 100% of 67.00KiB in 00:00
[info] Writing video metadata as JSON to: Clarissa Explains It All\01x02 - Clarissa Explains It All - School Picture [WEBDL-960] [native].info.json
[debug] Invoking downloader on "https://cbsios-vh.akamaihd.net/i/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2020/10/12/1805424707951/NICKELODEON_CLARISSAEXPLAINSITALL_102_346893_,2228,4628,3128,1628,848,503,000.mp4.csmil/index_2_av.m3u8?null=0&id=AgBAcM%2fAF8k4nAXDNWHPx6kNsQvNTaralviveIOC+lPzB0bFludq2pkR4lWDJn+%2fZTTo8UYhck+OVw%3d%3d&hdntl=exp=1630999685~acl=%2fi%2ftemp_hd_gallery_video%2fCBS_Production_Outlet_VMS%2fvideo_robot%2fCBS_Production_Entertainment%2f2020%2f10%2f12%2f1805424707951%2fNICKELODEON_CLARISSAEXPLAINSITALL_102_346893_*~data=hdntl~hmac=58db45562d1de16aed6f4eac38860f814999688a8f86bf22dd5a7af9bb8d36f7"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 149
[download] Destination: Clarissa Explains It All\01x02 - Clarissa Explains It All - School Picture [WEBDL-960] [native].mp4
[download] 100% of 573.44MiB in **00:35**
[debug] ffmpeg command line: ffprobe -show_streams "file:Clarissa Explains It All\01x02 - Clarissa Explains It All - School Picture [WEBDL-960] [native].mp4"
[FixupM3u8] Fixing malformed AAC bitstream of "Clarissa Explains It All\01x02 - Clarissa Explains It All - School Picture [WEBDL-960] [native].mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:Clarissa Explains It All\01x02 - Clarissa Explains It All - School Picture [WEBDL-960] [native].mp4" -c copy -map 0 -dn -f mp4 "-bsf:a" aac_adtstoasc "file:Clarissa Explains It All\01x02 - Clarissa Explains It All - School Picture [WEBDL-960] [native].temp.mp4"
[EmbedSubtitle] Embedding subtitles in "Clarissa Explains It All\01x02 - Clarissa Explains It All - School Picture [WEBDL-960] [native].mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:Clarissa Explains It All\01x02 - Clarissa Explains It All - School Picture [WEBDL-960] [native].mp4" -i "file:Clarissa Explains It All\01x02 - Clarissa Explains It All - School Picture [WEBDL-960] [native].en.vtt" -c copy -map 0 -dn -map "-0:s" -map "-0:d" "-c:s" mov_text -map "1:0" "-metadata:s:s:0" "language=eng" "file:Clarissa Explains It All\01x02 - Clarissa Explains It All - School Picture [WEBDL-960] [native].temp.mp4"
Deleting original file Clarissa Explains It All\01x02 - Clarissa Explains It All - School Picture [WEBDL-960] [native].en.vtt (pass -k to keep)
[debug] [ParamountPlus] Extracting URL: https://www.paramountplus.com/shows/clarissa-explains-it-all/video/BB4sHkq4G8D5PqR95BeXmXC5vHrLtlSD/clarissa-explains-it-all-me-101/
[ParamountPlus] BB4sHkq4G8D5PqR95BeXmXC5vHrLtlSD: Downloading JSON metadata
[ParamountPlus] BB4sHkq4G8D5PqR95BeXmXC5vHrLtlSD: Downloading JSON metadata
[ParamountPlus] BB4sHkq4G8D5PqR95BeXmXC5vHrLtlSD: Downloading DASH_CENC_PRECON SMIL data
[ParamountPlus] BB4sHkq4G8D5PqR95BeXmXC5vHrLtlSD: Downloading m3u8 information
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[debug] Downloading subtitles: en
[debug] Default format spec: bestvideo*+bestaudio/best
[info] BB4sHkq4G8D5PqR95BeXmXC5vHrLtlSD: Downloading 1 format(s): hls-3114
[info] Writing video subtitles to: Clarissa Explains It All\01x19 - Clarissa Explains It All - ME 101 [WEBDL-960] [native].en.vtt
[debug] Invoking downloader on "https://cc.cbs.com/closedcaption/CBS_Production_Entertainment_VMS/460/295/BB4sHkq4G8D5PqR95BeXmXC5vHrLtlSD_1603432678241.vtt"
[download] Destination: Clarissa Explains It All\01x19 - Clarissa Explains It All - ME 101 [WEBDL-960] [native].en.vtt
[download] 100% of 63.55KiB in 00:00
[info] Writing video metadata as JSON to: Clarissa Explains It All\01x19 - Clarissa Explains It All - ME 101 [WEBDL-960] [native].info.json
[debug] Invoking downloader on "https://cbsios-vh.akamaihd.net/i/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2020/10/12/1805441603978/NICKELODEON_CLARISSAEXPLAINSITALL_120_346891_,2228,4628,3128,1628,848,503,000.mp4.csmil/index_2_av.m3u8?null=0&id=AgBAcM%2fAF8k4nDHDNWHDb2g36ajxQ+eTZBUuak1M4ct4Y2QsiHqIXdnBQzqWKfRZ0Jz8X7yc4FyLMA%3d%3d&hdntl=exp=1630999729~acl=%2fi%2ftemp_hd_gallery_video%2fCBS_Production_Outlet_VMS%2fvideo_robot%2fCBS_Production_Entertainment%2f2020%2f10%2f12%2f1805441603978%2fNICKELODEON_CLARISSAEXPLAINSITALL_120_346891_*~data=hdntl~hmac=aa43d6fc7cae6a060f8009ffe5ea29be638bb12ffd5626936767bf40d6eb7069"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 143
[download] Destination: Clarissa Explains It All\01x19 - Clarissa Explains It All - ME 101 [WEBDL-960] [native].mp4
[download] 100% of 551.81MiB in **05:05**
[debug] ffmpeg command line: ffprobe -show_streams "file:Clarissa Explains It All\01x19 - Clarissa Explains It All - ME 101 [WEBDL-960] [native].mp4"
[FixupM3u8] Fixing malformed AAC bitstream of "Clarissa Explains It All\01x19 - Clarissa Explains It All - ME 101 [WEBDL-960] [native].mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:Clarissa Explains It All\01x19 - Clarissa Explains It All - ME 101 [WEBDL-960] [native].mp4" -c copy -map 0 -dn -f mp4 "-bsf:a" aac_adtstoasc "file:Clarissa Explains It All\01x19 - Clarissa Explains It All - ME 101 [WEBDL-960] [native].temp.mp4"
[EmbedSubtitle] Embedding subtitles in "Clarissa Explains It All\01x19 - Clarissa Explains It All - ME 101 [WEBDL-960] [native].mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:Clarissa Explains It All\01x19 - Clarissa Explains It All - ME 101 [WEBDL-960] [native].mp4" -i "file:Clarissa Explains It All\01x19 - Clarissa Explains It All - ME 101 [WEBDL-960] [native].en.vtt" -c copy -map 0 -dn -map "-0:s" -map "-0:d" "-c:s" mov_text -map "1:0" "-metadata:s:s:0" "language=eng" "file:Clarissa Explains It All\01x19 - Clarissa Explains It All - ME 101 [WEBDL-960] [native].temp.mp4"
Deleting original file Clarissa Explains It All\01x19 - Clarissa Explains It All - ME 101 [WEBDL-960] [native].en.vtt (pass -k to keep)
[debug] [ParamountPlus] Extracting URL: https://www.paramountplus.com/shows/clarissa-explains-it-all/video/CjJQQkQpEcQeC2dOdwoF3qMl7798ARfh/clarissa-explains-it-all-sam-darling/
[ParamountPlus] CjJQQkQpEcQeC2dOdwoF3qMl7798ARfh: Downloading JSON metadata
[ParamountPlus] CjJQQkQpEcQeC2dOdwoF3qMl7798ARfh: Downloading JSON metadata
[ParamountPlus] CjJQQkQpEcQeC2dOdwoF3qMl7798ARfh: Downloading DASH_CENC_PRECON SMIL data
[ParamountPlus] CjJQQkQpEcQeC2dOdwoF3qMl7798ARfh: Downloading m3u8 information
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[debug] Downloading subtitles: en
[debug] Default format spec: bestvideo*+bestaudio/best
[info] CjJQQkQpEcQeC2dOdwoF3qMl7798ARfh: Downloading 1 format(s): hls-3113
[info] Writing video subtitles to: Clarissa Explains It All\01x15 - Clarissa Explains It All - Sam Darling [WEBDL-960] [native].en.vtt
[debug] Invoking downloader on "https://cc.cbs.com/closedcaption/CBS_Production_Entertainment_VMS/463/723/CjJQQkQpEcQeC2dOdwoF3qMl7798ARfh_1603432678070.vtt"
[download] Destination: Clarissa Explains It All\01x15 - Clarissa Explains It All - Sam Darling [WEBDL-960] [native].en.vtt
[download] 100% of 76.62KiB in 00:00
[info] Writing video metadata as JSON to: Clarissa Explains It All\01x15 - Clarissa Explains It All - Sam Darling [WEBDL-960] [native].info.json
[debug] Invoking downloader on "https://cbsios-vh.akamaihd.net/i/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2020/10/12/1805445187878/NICKELODEON_CLARISSAEXPLAINSITALL_116_346896_,2228,4628,3128,1628,848,503,000.mp4.csmil/index_2_av.m3u8?null=0&id=AgBAcM%2fAF8k4nGnENWGoiDIk%2f0x5xh8bjtXpTNWFt1wfG6nGFv1IHvGgYAIMeKFHwL4SY2yxSDmZvg%3d%3d&hdntl=exp=1631000041~acl=%2fi%2ftemp_hd_gallery_video%2fCBS_Production_Outlet_VMS%2fvideo_robot%2fCBS_Production_Entertainment%2f2020%2f10%2f12%2f1805445187878%2fNICKELODEON_CLARISSAEXPLAINSITALL_116_346896_*~data=hdntl~hmac=8b14c070b3d621571beecccb07a48b09acb366e0565e506da6ed0c9030d44f3b"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 146
[download] Destination: Clarissa Explains It All\01x15 - Clarissa Explains It All - Sam Darling [WEBDL-960] [native].mp4
[download] 100% of 562.73MiB in **00:36**
[debug] ffmpeg command line: ffprobe -show_streams "file:Clarissa Explains It All\01x15 - Clarissa Explains It All - Sam Darling [WEBDL-960] [native].mp4"
[FixupM3u8] Fixing malformed AAC bitstream of "Clarissa Explains It All\01x15 - Clarissa Explains It All - Sam Darling [WEBDL-960] [native].mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:Clarissa Explains It All\01x15 - Clarissa Explains It All - Sam Darling [WEBDL-960] [native].mp4" -c copy -map 0 -dn -f mp4 "-bsf:a" aac_adtstoasc "file:Clarissa Explains It All\01x15 - Clarissa Explains It All - Sam Darling [WEBDL-960] [native].temp.mp4"
[EmbedSubtitle] Embedding subtitles in "Clarissa Explains It All\01x15 - Clarissa Explains It All - Sam Darling [WEBDL-960] [native].mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:Clarissa Explains It All\01x15 - Clarissa Explains It All - Sam Darling [WEBDL-960] [native].mp4" -i "file:Clarissa Explains It All\01x15 - Clarissa Explains It All - Sam Darling [WEBDL-960] [native].en.vtt" -c copy -map 0 -dn -map "-0:s" -map "-0:d" "-c:s" mov_text -map "1:0" "-metadata:s:s:0" "language=eng" "file:Clarissa Explains It All\01x15 - Clarissa Explains It All - Sam Darling [WEBDL-960] [native].temp.mp4"
Deleting original file Clarissa Explains It All\01x15 - Clarissa Explains It All - Sam Darling [WEBDL-960] [native].en.vtt (pass -k to keep)

Verbose doesn't show these frozen chunks of time but you can tell that they took longer than the other three files by anywhere from 1-5 minutes. Also looking at the jsons I had them write you can also tell that the resulting files were longer than the source says they should be for the three that froze during download.
01x02 - Clarissa Explains It All - School Picture [WEBDL-960] [native] - 1491.990 seconds SOURCE: 1492 seconds
01x06 - Clarissa Explains It All - Bully [WEBDL-960] [native] - 1550.813 seconds SOURCE: 1548 seconds
01x07 - Clarissa Explains It All - New Addition [WEBDL-960] [native] - 1504.544 seconds SOURCE: 1504 seconds
01x12 - Clarissa Explains It All - Sick Days [WEBDL-960] [native] - 1556.538 seconds SOURCE: 1546 seconds
01x15 - Clarissa Explains It All - Sam Darling [WEBDL-960] [native] - 1460.959 seconds SOURCE: 1461 seconds
01x19 - Clarissa Explains It All - ME 101 [WEBDL-960] [native] - 1457.241 seconds SOURCE: 1431 seconds

It's super late so I will try with using ffmpeg as the downloader in the morning. But at least I know that with the native downloader it is really hit or miss if you'll get a good file using it.

So I ran through all of season 1 with ffmpeg as running through only the 6 files I used for the native test had all of them come back good. But when I ran through the rest of the files ffmpeg also froze up while downloading on 3 of the 19 files I downloaded. Which is a better percentage of good to bad but these downloads that froze up for longer than 10 seconds also resulted in an increased duration and upon viewing the videos the same audio loopback and video freeze occured.
01x01 - Clarissa Explains It All - Revenge [WEBDL-960] [ffmpeg] - 1195.264 seconds SOURCE: 1195 seconds
01x02 - Clarissa Explains It All - School Picture [WEBDL-960] [ffmpeg] - 1491.990 seconds SOURCE: 1492 seconds
01x04 - Clarissa Explains It All - Urge To Drive [WEBDL-960] [ffmpeg] - 1531.691 seconds SOURCE: 1529 seconds------
01x05 - Clarissa Explains It All - Haunted House [WEBDL-960] [ffmpeg] - 1570.201 seconds SOURCE: 1570 seconds
01x06 - Clarissa Explains It All - Bully [WEBDL-960] [ffmpeg] - 1548.505 seconds SOURCE: 1548 seconds
01x07 - Clarissa Explains It All - New Addition [WEBDL-960] [ffmpeg] - 1504.544 seconds SOURCE: 1504 seconds
01x08 - Clarissa Explains It All - Brain Drain [WEBDL-960] [ffmpeg] - 1558.690 seconds SOURCE: 1559 seconds
01x09 - Clarissa Explains It All - Clarissa Makes A Cake [WEBDL-960] [ffmpeg] - 1536.326 seconds SOURCE: 1536 seconds
01x10 - Clarissa Explains It All - Parents Who Say No [WEBDL-960] [ffmpeg] - 1538.270 seconds SOURCE: 1538 seconds
01x11 - Clarissa Explains It All - Cool Dad [WEBDL-960] [ffmpeg] - 1529.277 seconds SOURCE: 1529 seconds
01x12 - Clarissa Explains It All - Sick Days [WEBDL-960] [ffmpeg] - 1546.253 seconds SOURCE: 1546 seconds
01x13 - Clarissa Explains It All - Clarissa's Crush [WEBDL-960] [ffmpeg] - 1464.337 seconds SOURCE: 1461 seconds-----
01x14 - Clarissa Explains It All - She Drives Me Crazy [WEBDL-960] [ffmpeg] - 1460.893 seconds SOURCE: 1461 seconds
01x15 - Clarissa Explains It All - Sam Darling [WEBDL-960] [ffmpeg] - 1460.959 seconds SOURCE: 1461 seconds
01x16 - Clarissa Explains It All - President Ferguson [WEBDL-960] [ffmpeg] - 1469.015 seconds SOURCE: 1461 seconds------
01x17 - Clarissa Explains It All - The Return of Aunt Mafalda [WEBDL-960] [ffmpeg] - 1462.252 seconds SOURCE: 1462 seconds
01x18 - Clarissa Explains It All - The Great Debate [WEBDL-960] [ffmpeg] - 1461.359 seconds SOURCE: 1461 seconds
01x19 - Clarissa Explains It All - ME 101 [WEBDL-960] [ffmpeg] - 1431.129 seconds SOURCE: 1431 seconds
01x20 - Clarissa Explains It All - Clarissa News Network [WEBDL-960] [ffmpeg] - 1521.753 seconds SOURCE: 1522 seconds

So regardless of downloader the problem is still occuring. As of yet I have not figured out why this is occuring, hence the workarounds I am trying to find, but will try next with one of the other usable downloaders yt-dlp supports and see if those downloads will work consistently so I can see if it is happening across downloaders or if it is something else.
currently tested: ffmpeg, native
currently UNtested: aria2c, avconv, axel, curl, httpie, wget

Just tested aria2c, not only did it not freeze up during downloads of the entire first season, it was also 50% faster in downloading and all files were uncorrupted.
01x01 - Clarissa Explains It All - Revenge [WEBDL-960] [aria2c] - 1195.264 seconds SOURCE: 1195 seconds
01x02 - Clarissa Explains It All - School Picture [WEBDL-960] [aria2c] - 1491.990 seconds SOURCE: 1492 seconds
01x03 - Clarissa Explains It All - No TV [WEBDL-960] [aria2c] - 1530.195 seconds SOURCE: 1530 seconds
01x04 - Clarissa Explains It All - Urge To Drive [WEBDL-960] [aria2c] - 1528.918 seconds SOURCE: 1529 seconds
01x05 - Clarissa Explains It All - Haunted House [WEBDL-960] [aria2c] - 1570.201 seconds SOURCE: 1570 seconds
01x06 - Clarissa Explains It All - Bully [WEBDL-960] [aria2c] - 1548.505 seconds SOURCE: 1548 seconds
01x07 - Clarissa Explains It All - New Addition [WEBDL-960] [aria2c] - 1504.544 seconds SOURCE: 1504 seconds
01x08 - Clarissa Explains It All - Brain Drain [WEBDL-960] [aria2c] - 1558.690 seconds SOURCE: 1559 seconds
01x09 - Clarissa Explains It All - Clarissa Makes A Cake [WEBDL-960] [aria2c] - 1536.326 seconds SOURCE: 1536 seconds
01x10 - Clarissa Explains It All - Parents Who Say No [WEBDL-960] [aria2c] - 1538.270 seconds SOURCE: 1538 seconds
01x11 - Clarissa Explains It All - Cool Dad [WEBDL-960] [aria2c] - 1529.277 seconds SOURCE: 1529 seconds
01x12 - Clarissa Explains It All - Sick Days [WEBDL-960] [aria2c] - 1546.253 seconds SOURCE: 1546 seconds
01x13 - Clarissa Explains It All - Clarissa's Crush [WEBDL-960] [aria2c] - 1460.625 seconds SOURCE:  1461 seconds
01x14 - Clarissa Explains It All - She Drives Me Crazy [WEBDL-960] [aria2c] - 1460.893 seconds SOURCE:  1461 seconds
01x15 - Clarissa Explains It All - Sam Darling [WEBDL-960] [aria2c] - 1460.959 seconds SOURCE:  1461 seconds
01x16 - Clarissa Explains It All - President Ferguson [WEBDL-960] [aria2c] - 1460.917 seconds SOURCE:  1461 seconds
01x17 - Clarissa Explains It All - The Return of Aunt Mafalda [WEBDL-960] [aria2c] - 1462.252 seconds SOURCE: 1462 seconds
01x18 - Clarissa Explains It All - The Great Debate [WEBDL-960] [aria2c] - 1461.359 seconds SOURCE: 1461 seconds
01x19 - Clarissa Explains It All - ME 101 [WEBDL-960] [aria2c] - 1431.129 seconds SOURCE: 1431 seconds
01x20 - Clarissa Explains It All - Clarissa News Network [WEBDL-960] [aria2c] - 1521.753 seconds SOURCE: 1522 seconds

So at least on a small subset of tests aria2c seems to be the clear winner for downloading from paramountplus.com so will do some more testing and see if that just has to be the downloader of choice for this specific website.

Just gave aria2c a shot with your settings on the same show. Same audio issue occurred for me immediately on S01E04. Audio loops twice, video freezes, then resyncs. Length mismatches.
This issue is non-deterministic, so it can be misleading when you get a good run.

If the issue exists in native downloader, it will exist in aria as well
I haven't got a chance to test this issue yet. But since you guys seems to be more than willing to play around with it, here are some things you can try:

Use native downloader, but don't let ffmpeg touch the file. So no fixup, don't embed subs, dont even merge (if merge is needed). If the issue still exists, we can be sure that the problem is not with ffmpeg. If this either resolves the issue or gives a totally unplayable file, do (2)
Try with ffmpeg 3.0.1. There are some known issues with how newer versions of ffmpeg handles timestamps. If the problem is caused by that, 3.0.1 should work correctly. If (1) still gave the desync, no point in trying this.
If neither of these fixed the problem, we can rule out ffmpeg issue. So there is either an issue with how yt-dlp is merging the files or in how the server is serving the fragments. Run with --keep-fragments and once you encounter the issue, try and identify the problem fragment. Now rename (so that yt-dlp doesnt recognize it, but we can restore the fragment later if needed) the problematic fragment (and the merged file) and rerun the download - yt-dlp will just download the missing fragment and merge everything. If the issue is gone, try restoring the problem fragment and re-running again. If you can consistently get back the issue, the problem is most likely with the fragment data that the server is providing us

and manual download shows the same duration

What did you mean manual download? How exactly did you download?

Just gave aria2c a shot with your settings on the same show. Same audio issue occurred for me immediately on S01E04. Audio loops twice, video freezes, then resyncs. Length mismatches.
This issue is non-deterministic, so it can be misleading when you get a good run.
By the way, you don't need cookies for Paramount, at least not right now.

Currently testing with ffmpeg 3.0.1 as using --fixup never worked with amazing results but I don't like having it off if I can help it. So hopefully will still work with the older ffmpeg.
UPDATE:
Out of the 50 files I've downloaded so far, not a single one was corrupt.
But I would definitely use aria2c for it's increased efficiency on this site though.
https://github.com/aria2/aria2
https://www.videohelp.com/software/ffmpeg/old-versions
I am using ffmpeg 3.0.1 only for yt-dlp and therefore used --ffmpeg-location to specify where the ffprobe.exe and ffmpeg.exe for 3.0.1 are located and that's pretty much it.

@Sipherdrakon issue solved then?

I thought so but then after after 58 videos in it started up again.

Beavis and Butt-Head - 01x02 - Beavis and Butt-Head - The Mike Judge Collection 102 [WEBDL].mp4 - Downloaded:Source - 1630:1571 - Error found, retrying...
Beavis and Butt-Head - 01x02 - Beavis and Butt-Head - The Mike Judge Collection 102 [WEBDL].mp4 - Download OK
Beavis and Butt-Head - 03x03 - Beavis and Butt-Head - The Mike Judge Collection 303 [WEBDL].mp4 - Downloaded:Source - 1785:1762 - Error found, retrying...
Beavis and Butt-Head - 03x03 - Beavis and Butt-Head - The Mike Judge Collection 303 [WEBDL].mp4 - Download OK
Beavis and Butt-Head - 01x03 - Beavis and Butt-Head - The Mike Judge Collection 103 [WEBDL].mp4 - Downloaded:Source - 1558:1526 - Error found, retrying...
Beavis and Butt-Head - 01x03 - Beavis and Butt-Head - The Mike Judge Collection 103 [WEBDL].mp4 - Download OK
Beavis and Butt-Head - 02x03 - Beavis and Butt-Head - The Mike Judge Collection 203 [WEBDL].mp4 - Downloaded:Source - 1369:1368 - Error found, retrying...
Beavis and Butt-Head - 02x03 - Beavis and Butt-Head - The Mike Judge Collection 203 [WEBDL].mp4 - Download OK
Beavis and Butt-Head - 02x04 - Beavis and Butt-Head - The Mike Judge Collection 204 [WEBDL].mp4 - Downloaded:Source - 1460:1450 - Error found, retrying...
Beavis and Butt-Head - 02x04 - Beavis and Butt-Head - The Mike Judge Collection 204 [WEBDL].mp4 - Download OK
Beavis and Butt-Head - 03x04 - Beavis and Butt-Head - The Mike Judge Collection 304 [WEBDL].mp4 - Downloaded:Source - 1685:1677 - Error found, retrying...
Beavis and Butt-Head - 03x04 - Beavis and Butt-Head - The Mike Judge Collection 304 [WEBDL].mp4 - Download OK
Beavis and Butt-Head - 01x04 - Beavis and Butt-Head - The Mike Judge Collection 104 [WEBDL].mp4 - Downloaded:Source - 1695:1662 - Error found, retrying...
Beavis and Butt-Head - 01x04 - Beavis and Butt-Head - The Mike Judge Collection 104 [WEBDL].mp4 - Download OK
Beavis and Butt-Head - 02x05 - Beavis and Butt-Head - The Mike Judge Collection 205 [WEBDL].mp4 - Downloaded:Source - 1434:1430 - Error found, retrying...
Beavis and Butt-Head - 02x05 - Beavis and Butt-Head - The Mike Judge Collection 205 [WEBDL].mp4 - Download OK
Beavis and Butt-Head - 01x05 - Beavis and Butt-Head - The Mike Judge Collection 105 [WEBDL].mp4 - Downloaded:Source - 1717:1700 - Error found, retrying...

So I'll go back to --fixup never and see if I can get something consistent. and if not then try to see if it's just randomly sending out bad fragments from the server, and in that case it won't be something that can fixed in yt-dlp and will need to just workaround it.

This error is not same as before tho and why are u always testing with different urls? 🤦
Just test the 3 urls u pasted above which didn't work before.
Also nextime run the command with -k and see if the error is in downloading or merging ( imo it's the same ffmpeg merging issue in the newer versions)

This error is not same as before tho and why are u always testing with different urls? 🤦

The error is the same as before. It still has a longer duration on the downloaded video than in the source.
Because it's a random issue, so I could test the same set 100x and I would get some that download all perfectly and others that download only half without corruption.
Notice in the above how the first time they were downloaded they were corrupt
Beavis and Butt-Head - 01x02 - Beavis and Butt-Head - The Mike Judge Collection 102 [WEBDL].mp4 - Downloaded:Source - 1630:1571 - Error found, retrying...

Then it redownloaded the video and it was good
Beavis and Butt-Head - 01x02 - Beavis and Butt-Head - The Mike Judge Collection 102 [WEBDL].mp4 - Download OK

Tried with --keep-video and it doesn't do anything, just the one video file.

I reproduce the issue with the native HLS downloader and never calling out
to ffmpeg. I don’t think ffmpeg is the issue.
I’m not sure Ashish is understanding this issue well enough and is being
needlessly dismissive and negative.
On Wed, Sep 8, 2021 at 1:47 AM Sipherdrakon @.***>
wrote:

This error is not same as before tho and why are u always testing with
different urls? 🤦
The error is the same as before. It still has a longer duration on the
downloaded video than in the source.
Because it's a random issue, so I could test the same set 100x and I would
get some that download all perfectly and others that download only half
without corruption.
Notice in the above how the first time they were downloaded they were
corrupt
Beavis and Butt-Head - 01x02 - Beavis and Butt-Head - The Mike Judge Collection 102 [WEBDL].mp4 - Downloaded:Source - 1630:1571 - Error found, retrying...
Then it redownloaded the video and it was good
Beavis and Butt-Head - 01x02 - Beavis and Butt-Head - The Mike Judge Collection 102 [WEBDL].mp4 - Download OK
Tried with --keep-video and it doesn't do anything, just the one video
file.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/yt-dlp/yt-dlp/issues/898#issuecomment-914966628, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAASBT2VXEU2KER7EPRB2VLUA4BJVANCNFSM5DOMPS7Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

There have been some updates to the hls decryption and fixup code (in master). While I don't think they will fix this issue, please do test and let me know if the issue still exists

Also, test with the same video multiple times, not with different videos. If it appears the error is appearing randomly for the same video, it is most likely a server side issue

Any update on this?

Here is some interesting info i found.
I downloaded a show 3 times.
AA - issues
BB - issues
CC - no issues
demuxing the video from all 3 downloads results in the same checksums
demuxing the audio results in 3 different checksums
ea3ff614b29ebf24a7a460f4fc85e45f930ea2d5  AA/video.h264          runtime 41 min 4 s
ea3ff614b29ebf24a7a460f4fc85e45f930ea2d5  BB/video.h264          runtime  41 min 4 s
ea3ff614b29ebf24a7a460f4fc85e45f930ea2d5  CC/video.h264          runtime  41 min 4 s
841dec5b90b1eca5c58137ddc73e9dc0fed5fd63  AA/audio.aac         runtime  41 min 41 s
e48ab4c9794e28488b79dc1411cec41d43feb186  BB/audio.aac         runtime  41 min 30 s
f1419e56f1a0f82d4acc194469e8c7211a53667a  CC/audio.aac         runtime  41 min 4 s
when using aria2 to download with --keep-segments what steps are involved in decrypting the segments so we can see how many segments are bad etc?

yes the encrypted fragments have different checksums each time you download.
i edited some code so yt-dlp writes unencrypted fragments to disk and found the following.
I download the same episode of a show 3 times. resulted in 1 'bad' copy and 2 'good' copies
the bad copy had a single fragment that's checksum didn't match the other 2 good copies
taking that fragment is demuxing it we find as excepted the video matches but the audio doesnt
68ac4dd83697c6e6ae13855tged0bca0b2e31bb5  B_GOOD/vid.h264
b3aea1021ca1ec38f09aaefe8017d0a198fa3b3b  A_BAD/aud.aac
e8cb8b9df506bca0b229312563291829398f71dd  B_GOOD/aud.aac

file sizes in bytes
195284   A_BAD/aud.aac
119918  B_GOOD/aud.aac

yes the encrypted fragments have different checksums each time you download.
i edited some code so yt-dlp writes unencrypted fragments to disk and found the following.
I download the same episode of a show 3 times. resulted in 1 'bad' copy and 2 'good' copies
the bad copy had a single fragment that's checksum didn't match the other 2 good copies
taking that fragment and demuxing it we find as excepted the video matches but the audio doesn't
68ac4dd83697c6e6ae13855tged0bca0b2e31bb5  B_GOOD/vid.h264
b3aea1021ca1ec38f09aaefe8017d0a198fa3b3b  A_BAD/aud.aac
e8cb8b9df506bca0b229312563291829398f71dd  B_GOOD/aud.aac

file sizes in bytes
195284   A_BAD/aud.aac
119918  B_GOOD/aud.aac

Reviving this issue with a fix suggestion.
It seems that the looped audio is caused by issues with the fragments during the 1st time downloading. Idk if its a caching issue on CBS's part, rate limiting or what. Doesn't matter. Point is the issue seems to go away after downloading the file a 2nd or 3rd time, which is why I think the issue is in the caching.
Suggestion for a fix: allow users to pass a duration check option (-dc or --duration_check) that compares the duration of the output file with the duration in the manifest/json (+or- 2 seconds to avoid byte splits), and if the duration doesn't match, redownload the file.
Also QOL suggestion: replace "paramountplus" with "cbs" when parsing the URLs. This fixes the 403 issues.

Suggestion for a fix: allow users to pass a duration check option (-dc or --duration_check) that compares the duration of the output file with the duration in the manifest/json (+or- 2 seconds to avoid byte splits), and if the duration doesn't match, redownload the file.

This can be easily done by a wrapper. Not a very useful feature to add for such a niche usecase imo

Closing since confirmed external issue. You can ofc still discuss possible solutions

CBS/Paramount/Viacom is a “niche” use case?
On Mon, Dec 20, 2021 at 8:55 AM pukkandan @.***> wrote:

Closed #898 https://github.com/yt-dlp/yt-dlp/issues/898.
—
Reply to this email directly, view it on GitHub
https://github.com/yt-dlp/yt-dlp/issues/898#event-5793352785, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAASBT5G5O62BNAOCL32N43UR47XJANCNFSM5DOMPS7Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

I wrote a simple python script that loops through a list of URLS, downloading one by one, checking the duration local vs source and if the diff is greater than 3 seconds, it deletes the file and redownloads. I've been messing with this for a few days now. It seems that it usually takes two downloads to get a good mp4.
INFO - https://paramountplus.com/shows/survivor/video/FtNp94zXlq0beq3eugbTOncSJFr7tM__/survivor-micronesia-i-m-in-such-a-hot-pickle-/
INFO - Download attempt: 1
INFO - Survivor\Season 16\Survivor - S16E09 - I'm In Such a Hot Pickle!.mp4
INFO - Survivor\Season 16\Survivor - S16E09 - I'm In Such a Hot Pickle!.info.json
INFO - Local timestamp: 0:44:20.717000
INFO - Source timestamp: 42:59
INFO - Local seconds: 2660
INFO - Source seconds: 2579
INFO - Diff seconds: 81
ERROR - Duration diff greater than 3 seconds - 81
ERROR - Failure, redownloading
INFO - Download attempt: 2
INFO - Survivor\Season 16\Survivor - S16E09 - I'm In Such a Hot Pickle!.mp4
INFO - Survivor\Season 16\Survivor - S16E09 - I'm In Such a Hot Pickle!.info.json
INFO - Local timestamp: 0:42:59.352000
INFO - Source timestamp: 42:59
INFO - Local seconds: 2579
INFO - Source seconds: 2579
INFO - Diff seconds: 0
INFO - https://paramountplus.com/shows/survivor/video/VMfDHm0ifFAq3I3P7ZH7wrejBopJ5cB5/survivor-micronesia-i-promise-/
INFO - Download attempt: 1
INFO - Survivor\Season 16\Survivor - S16E10 - I Promise....mp4
INFO - Survivor\Season 16\Survivor - S16E10 - I Promise....info.json
INFO - Local timestamp: 0:43:49.373000
INFO - Source timestamp: 42:59
INFO - Local seconds: 2629
INFO - Source seconds: 2579
INFO - Diff seconds: 50
ERROR - Duration diff greater than 3 seconds - 50
ERROR - Failure, redownloading
INFO - Download attempt: 2
INFO - Survivor\Season 16\Survivor - S16E10 - I Promise....mp4
INFO - Survivor\Season 16\Survivor - S16E10 - I Promise....info.json
INFO - Local timestamp: 0:42:59.218000
INFO - Source timestamp: 42:59
INFO - Local seconds: 2579
INFO - Source seconds: 2579
INFO - Diff seconds: 0
INFO - https://paramountplus.com/shows/survivor/video/ZagASFzoRqe72FgPhAu58p5LlofpZJZ_/survivor-micronesia-i-m-ruthless-and-i-have-a-smile-on-my-face/
INFO - Download attempt: 1
INFO - Survivor\Season 16\Survivor - S16E11 - I'm Ruthless and I Have a Smile On My Face.mp4
INFO - Survivor\Season 16\Survivor - S16E11 - I'm Ruthless and I Have a Smile On My Face.info.json
INFO - Local timestamp: 0:43:00.828000
INFO - Source timestamp: 43:01
INFO - Local seconds: 2580
INFO - Source seconds: 2581
INFO - Diff seconds: 1
INFO - https://paramountplus.com/shows/survivor/video/oLZ7AxcGo2EuOpdoOvktJeZWPMTMoG9t/survivor-micronesia-i-m-gonna-fix-her/
INFO - Download attempt: 1
INFO - Survivor\Season 16\Survivor - S16E12 - I'm Gonna Fix Her.mp4
INFO - Survivor\Season 16\Survivor - S16E12 - I'm Gonna Fix Her.info.json
WARNING - Seperator count mismatch - 2 - 1
INFO - Local timestamp: 0:45:18.018000
INFO - Source timestamp: 42:59
INFO - Local seconds: 2718
INFO - Source seconds: 2579
INFO - Diff seconds: 139
ERROR - Duration diff greater than 3 seconds - 139
ERROR - Failure, redownloading
INFO - Download attempt: 2
INFO - Survivor\Season 16\Survivor - S16E12 - I'm Gonna Fix Her.mp4
INFO - Survivor\Season 16\Survivor - S16E12 - I'm Gonna Fix Her.info.json
INFO - Local timestamp: 0:42:59.085000
INFO - Source timestamp: 42:59
INFO - Local seconds: 2579
INFO - Source seconds: 2579
INFO - Diff seconds: 0

I wonder if it could be related to the CDN caching fragments from upstream?
Also - I've got several seasons of logs that look just like this.

I wrote a simple python script that loops through a list of URLS, downloading one by one, checking the duration local vs source and if the diff is greater than 3 seconds, it deletes the file and redownloads. I've been messing with this for a few days now. It seems that it usually takes two downloads to get a good mp4.
INFO - https://paramountplus.com/shows/survivor/video/FtNp94zXlq0beq3eugbTOncSJFr7tM__/survivor-micronesia-i-m-in-such-a-hot-pickle-/
INFO - Download attempt: 1
INFO - Survivor\Season 16\Survivor - S16E09 - I'm In Such a Hot Pickle!.mp4
INFO - Survivor\Season 16\Survivor - S16E09 - I'm In Such a Hot Pickle!.info.json
INFO - Local timestamp: 0:44:20.717000
INFO - Source timestamp: 42:59
INFO - Local seconds: 2660
INFO - Source seconds: 2579
INFO - Diff seconds: 81
ERROR - Duration diff greater than 3 seconds - 81
ERROR - Failure, redownloading
INFO - Download attempt: 2
INFO - Survivor\Season 16\Survivor - S16E09 - I'm In Such a Hot Pickle!.mp4
INFO - Survivor\Season 16\Survivor - S16E09 - I'm In Such a Hot Pickle!.info.json
INFO - Local timestamp: 0:42:59.352000
INFO - Source timestamp: 42:59
INFO - Local seconds: 2579
INFO - Source seconds: 2579
INFO - Diff seconds: 0
INFO - https://paramountplus.com/shows/survivor/video/VMfDHm0ifFAq3I3P7ZH7wrejBopJ5cB5/survivor-micronesia-i-promise-/
INFO - Download attempt: 1
INFO - Survivor\Season 16\Survivor - S16E10 - I Promise....mp4
INFO - Survivor\Season 16\Survivor - S16E10 - I Promise....info.json
INFO - Local timestamp: 0:43:49.373000
INFO - Source timestamp: 42:59
INFO - Local seconds: 2629
INFO - Source seconds: 2579
INFO - Diff seconds: 50
ERROR - Duration diff greater than 3 seconds - 50
ERROR - Failure, redownloading
INFO - Download attempt: 2
INFO - Survivor\Season 16\Survivor - S16E10 - I Promise....mp4
INFO - Survivor\Season 16\Survivor - S16E10 - I Promise....info.json
INFO - Local timestamp: 0:42:59.218000
INFO - Source timestamp: 42:59
INFO - Local seconds: 2579
INFO - Source seconds: 2579
INFO - Diff seconds: 0
INFO - https://paramountplus.com/shows/survivor/video/ZagASFzoRqe72FgPhAu58p5LlofpZJZ_/survivor-micronesia-i-m-ruthless-and-i-have-a-smile-on-my-face/
INFO - Download attempt: 1
INFO - Survivor\Season 16\Survivor - S16E11 - I'm Ruthless and I Have a Smile On My Face.mp4
INFO - Survivor\Season 16\Survivor - S16E11 - I'm Ruthless and I Have a Smile On My Face.info.json
INFO - Local timestamp: 0:43:00.828000
INFO - Source timestamp: 43:01
INFO - Local seconds: 2580
INFO - Source seconds: 2581
INFO - Diff seconds: 1
INFO - https://paramountplus.com/shows/survivor/video/oLZ7AxcGo2EuOpdoOvktJeZWPMTMoG9t/survivor-micronesia-i-m-gonna-fix-her/
INFO - Download attempt: 1
INFO - Survivor\Season 16\Survivor - S16E12 - I'm Gonna Fix Her.mp4
INFO - Survivor\Season 16\Survivor - S16E12 - I'm Gonna Fix Her.info.json
WARNING - Seperator count mismatch - 2 - 1
INFO - Local timestamp: 0:45:18.018000
INFO - Source timestamp: 42:59
INFO - Local seconds: 2718
INFO - Source seconds: 2579
INFO - Diff seconds: 139
ERROR - Duration diff greater than 3 seconds - 139
ERROR - Failure, redownloading
INFO - Download attempt: 2
INFO - Survivor\Season 16\Survivor - S16E12 - I'm Gonna Fix Her.mp4
INFO - Survivor\Season 16\Survivor - S16E12 - I'm Gonna Fix Her.info.json
INFO - Local timestamp: 0:42:59.085000
INFO - Source timestamp: 42:59
INFO - Local seconds: 2579
INFO - Source seconds: 2579
INFO - Diff seconds: 0

I wonder if it could be related to the CDN caching fragments from upstream?
Also - I've got several seasons of logs that look just like this.

I've found that most nickelodeon stuff is really tricky using this same type of method. It either misses whole fragments or something but usually it will have the downloaded file be about 10 seconds short of the source and will never be within 3 seconds of each other. Even after 100 re-downloads.

it will have the downloaded file be about 10 seconds short of the source

How are you comparing it? If it is based on the duration given by yt-dlp, there is always the possibility that the extracted duration is slightly off

I compare using FFProbe vs the duration in the info.json file

Ffprobe for downloaded file and ytdlp for Source Duration.

Is it possible to inspect the fragments? Where could just re-download the
fragment rather than the whole thing?
On Wed, Dec 22, 2021, 6:01 PM Sipherdrakon @.***> wrote:

Ffprobe for downloaded file and ytdlp for Source Duration.
—
Reply to this email directly, view it on GitHub
https://github.com/yt-dlp/yt-dlp/issues/898#issuecomment-999930024, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJW26OOR4YFWFT6OLZHJ2DUSJKGJANCNFSM5DOMPS7Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

Is it possible to inspect the fragments
--keep-fragments

Well, yeah. is there a switch or file that details those fragments?
On Wed, Dec 22, 2021, 6:09 PM pukkandan @.***> wrote:

Is it possible to inspect the fragments
--keep-fragments
—
Reply to this email directly, view it on GitHub
https://github.com/yt-dlp/yt-dlp/issues/898#issuecomment-999933044, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJW26II5SEVSNQAC53TX73USJLD7ANCNFSM5DOMPS7Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

Judging by your confused emoji, what I am asking is: I use the --keep-fragments switch which leaves me with 256 fragment files.
Is there a switch that would allow me to save the manifest used to get the fragments? I see the info.json file, in this particular file I am looking at, references the format being hls-3114 and a manifest  url as well as some http headers. Would I need to use those details and reconstruct the request to get the manifest?

--write-pages

Thanks, I'll give those a go

Ok, I went through the traffic, each of the pages and the best I can see is that nothing provides details to the fragments such as expected file size. However, I do see a response content-length header. I guess my next step is to look to see if there could be mismatch in the header vs what actually got saved. Then maybe see if the difference can be used to identify fragments that need to be re-downloaded.

I can't add anything to this except to say that I've seen the same issues. It's a crapshoot as to whether or not the download is good. I tried downloading just the audio and then muxing that with the video, but it makes no difference. Or, rather, it's still a crapshoot.

When I had this problem on some CBS episodes I found that I could detect it by using ffprobe on the downloaded video to inspect the pts times of the audio packets. The pts time jumps backward at the started of a repeated audio segment, then jumps forward again when correct packets start to flow again. Paramount+ is likely to share infrastructure with CBS, so the same process might work for you. Unfortunately, once you spot the scrambled pts times the only fix is to try the download the video again (and again).

At the moment I am going down the rabbit hole of checking the file length compared to the content-length given in the fragment's HTTP headers. Deleting the fragment if it doesn't match and restarting the download.
Running into an issue of getting yt-dlp to redownload just the missing fragments and then rechecking, following up with a rebuild of the .mp4 file.
Currently failing at getting the mp4 to rebuild.
If I can't get this to work right at least the main script checking the durations local vs source and retrying if the diff is too large seems to be working fine but requires a complete redownload.

getting yt-dlp to redownload just the missing fragments and then rechecking, following up with a rebuild of the .mp4 file.

Delete the bad fragment and the MP4. Then re-run the command. Make sure you don't have --force-overwrite, --no-continue in your command

I wonder why this doesn't appear to be a problem when watching a show in a browser? Or is it? I've never seen it happen, but then, I haven't watched a ton of stuff in-browser.

I suspect the browser code might have some sort of check or some prefect.
Not sure.
One thing I've noticed in all of my testing is that the second download
almost always fixes the issue. Which leads me to believe it could be some
issue with the CDN cache.
On Thu, Dec 23, 2021, 8:42 PM BillyCreek @.***> wrote:

I wonder why this doesn't appear to be a problem when watching a show in a
browser? Or is it? I've never seen it happen, but then, I haven't watched a
ton of stuff in-browser.
—
Reply to this email directly, view it on GitHub
https://github.com/yt-dlp/yt-dlp/issues/898#issuecomment-1000602579, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJW26JHEH3Q3QK272GDAF3USPFZNANCNFSM5DOMPS7Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

Delete the bad fragment and the MP4. Then re-run the command. Make sure you don't have --force-overwrite, --no-continue in your command

That is the basis of the python script I've been writing. I've come to the conclusion it may not work as intended.
Using this command: yt-dlp.exe -o "%(series)s/Season %(season_number)s/%(series)s - S%(season_number)02dE%(episode_number)02d - %(title)s.%(ext)s" --keep-fragments https://paramountplus.com/shows/survivor/video/lWI2btWHoUFpiJ_DdHRQKzrFSywYSHQ_/survivor-borneo-the-marooning/
Leaves me with a mp4 that is 1,043,427,415 bytes, 44 minutes and 22.03 seconds long as well as 266 fragments.
If I delete just the mp4 and leave all 266 fragments and re-run the command I get a line for each of the fragments stating the've already been downloaded. It generates a mp4 that is unplayable. I also notice that when all fragments are already downloaded, the FixupM3u8 task doesn't appear to run.
Running ffprobe on this mp4 I get:
ffprobe "Survivor\Season 1\Survivor - S01E01 - Survivor - Borneo - The Marooning.mp4"

[mov,mp4,m4a,3gp,3g2,mj2 @ 000001e37f49e700] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible!
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001e37f49e700] moov atom not found
Survivor\Season 1\Survivor - S01E01 - Survivor - Borneo - The Marooning.mp4: Invalid data found when processing input

If I delete the mp4 and a single fragment I get a 3,777,478 byte file which is roughly the same size as the single fragment I deleted.
Running ffprobe on the new mp4 and it tells me its a 10.08 second video.
Similar results if I delete more than one fragment, say the first and last fragments. Running ffprobe on the new mp4 tells me I have a 21.39 second video. When playing the new mp4, it plays the contents from the first and last fragments.
Looking at the yt-dlp change log history I see a note from 2021.10.09 that states:

[FixupM3u8] Remove redundant run if merged is needed

Not sure if this is what prevents the file where all fragments have already been downloaded from being playable. Figured I'd mention it just in case.
TL;DR

When only the mp4 has been deleted and all fragments exist, the generated mp4 is unplayable
When the mp4 and a single fragment have been deleted, the generated mp4 is playable but only contains the content from the single fragment downloaded
When the mp4 and multiple fragments have been deleted, the generated mp4 is playable but only contains the contents from the fragments downloaded but they are in the correct order

does anyone confirm that he can download
https://www.paramountplus.com/shows/video/DIsddvlTR_yGUWS3QU_HzUqEUOyzr_3A/
without problem?
used script above always return corrupt video.
Total file secs: 1383
Total stream secs: 1389


Add orientation ray

While switching from Google Maps to Qwant Maps I realized that probably the best feature missing is the ability to see where you're looking at. It would be really nice if you could see this on the map, like you can on Google Maps. For a reference, take a look at this image: https://imag.malavida.com/mvimgbig/download-fs/google-maps-11908-1.jpg (pay attention to the blue ray coming out from the blue circle where you are standing).
I can implement this feature if you would like to, I just need your ok

On Qwant Maps, you can turn on the localization and see where you are using the button just above the zoom buttons.
When this feature is activated, you can see a blue dot where you are located.

Yes that's correct. However, you can't see where you are looking at, which I would like to add (see my screenshot for reference)


Publisher: Pass instance to subset name method on update

Brief description
Creator has access to existing instance on it's subset name change.
Description
Pass instance to get_subset_name on update of existing instance subset name. This gives option to use it but does not modify the code itself.
Additional information
In some cases creators want to define additional data for subset name template (e.g. in pre-create attributes) and should have access to existing instance to receive the information from the instance.
This should give ability to Photoshop creators to fill "layer" key on existing instances.
Testing notes:
Everything should work as before and nothing should crash.

I think it would be beneficial to add some mention of this into documentation, or example creator.


Input token length in readme

Please extend readme with information about input sequence length.

Is it 20 tokens like described here?
https://github.com/fixie-ai/ai-benchmarks?tab=readme-ov-file#test-methodology

Updated methodology section on the main page (1K input tokens, 20 output tokens)


IDZ CodeReview script - add support for external SYSLIB property

Currently the script https://github.com/IBM/dbb/blob/master/Pipeline/RunIDZCodeReview/RunCodeReview.groovy inspects the BuildReport for Copybooks which got uploaded. However, you might have configured zAppBuild to include external copybook libraries.
Provide an option to add an external SYSLIB
Please see discussion in
https://github.com/IBM/dbb-zappbuild/issues/77

Merged into master


Get off of slonik fork

We are currently using a fork of slonik: https://github.com/alxndrsn/slonik/commit/b0299faa6405e474ea84d6c96dffecc98001a6e2
This is because of some stream-related issues.
At least one related patch has been accepted to upstream node-postgres: https://github.com/brianc/node-postgres/pull/2836
History of postgres clients used in Central:

Started out with knex: chaining based query builder but wasn’t great to work with

Streaming-related bugs

Swapped to slonik because it seemed closer to desired interface

Tests ran 30% slower than knex (not clear on production impact)
Experienced several streaming-related bugs
Single maintainer has come and gone in availability

July 2022, started considering postgres.js

Lots of energy behind it
Uses a similar tag template literal interface as Slonik
issa discovered after finished Slonik work
Would have switched to it, but at the time, it didn’t support composing SQL fragments ("partials"), now introduced
Transactions weren't initially working, at least in tests
Initial PR: https://github.com/getodk/central-backend/pull/564
Lots of tiny differences from Slonik. For the most part, it’s an improvement. A lot of things that we did by hand before, porsager postgres has an answer.
porsager postgres has some weird quirks of its own though, e.g., no join utilities.
So far it’s a code reduction. No queries so far have needed to change. Only core infrastructure has changed so far.
Streaming issues -  https://github.com/porsager/postgres/issues/455; would need to add support for multiple streams

A barrier to upgrading slonik has been several breaking changes since the version we were on. It seems there's likely a more deliberate approach to breaking changes now: https://github.com/gajus/slonik/issues/450#issuecomment-1409464447
There is now a bridge to use slonik on top of postgres.js instead of node-postgres: https://github.com/gajus/postgres-bridge

Great to have these notes centralized here! Here are a few from me:

I encountered a variety of errors while trying out the initial PR. It could be that they all trace back to the issues with streaming, but that doesn't feel certain to me. Some of the errors were thrown in the postgres.js code, while others were thrown in our code (though could still stem from postgres.js).
One thing that's changed in Slonik is how SSL is configured. That's mostly a good thing, because it could allow us to offer additional configuration options to users. We know that some users have SSL configured. I wanted to make a note of this change because I think it'd be easy to miss among the other Slonik changes. One piece of awkwardness is that whatever SSL configuration we offer for Slonik will need to be available in Knex as well, since we still use Knex for migrations. Backend issue about SSL configuration: getodk/central-backend#433