Started by Sora, June 21, 2022, 10:46:19 AM
Quote from: eumagga0x2a on June 21, 2022, 04:08:12 PMI'm sorry, but downloading (at least, text attachments) is currently broken in this forum. Would you please provide the files via Pastebin, WeTransfer, Mega, Dropbox or Google Drive?
Quote from: eumagga0x2a on June 22, 2022, 11:47:50 AMCould you please verify that the problem with invalid frame timestamps not detected in the source MPEG-TS file but present in the output persists with the latest Avidemux win64 nightly (currently from June 20) and if it does, provide the first ~300 MiB of the source file as a sample, cut with a simple tool similar to head or dd on Linux? (In a way that the cutter doesn't interfere with the content and internal structure of the file, just copies the first N bytes).I suspect that there is some problem with timing in the source.
Quote from: eumagga0x2a on June 22, 2022, 08:17:48 PMI have no knowledge of PowerShell, but looking at the documentation, your command line seems to be correct.
Quote from: Sora on June 24, 2022, 02:04:35 AMWould it be better if I just send you the whole original file?
head -c 500M /path/to/source.ts > /path/to/output.ts
Quote from: eumagga0x2a on June 24, 2022, 05:25:38 PMSomething must be really fishy with the source file.Quote from: Sora on June 24, 2022, 02:04:35 AMWould it be better if I just send you the whole original file?If your upstream bandwidth allows uploading 7.9 GiB within a reasonable period of time, then do, please. Please keep in mind that installing a Windows version of coreutils (or MSYS2) and usingCode Select Expandhead -c 500M /path/to/source.ts > /path/to/output.tsto write the first 500 MiB of source.ts to a new file output.ts may be faster (and you get a proper all-purpose set of tools for later).
Quote from: Sora on June 27, 2022, 10:53:33 AMMay I ask how do I use the script provided to fix the problem?
Quote from: Sora on June 27, 2022, 10:53:33 AMAnd if I understand you correctly, since a frame needs to be decoded first in order for it to be displayed, so DTS for the same frame should always be smaller than or equal to its PTS, right? In this video case, there're DTS that are after the PTS? And I'm guessing the PTS delay is to delay PTS so that they are after the DTS?