Ts file won't open. Attempt to open 22.09.26 22-17.ts failed!

Started by Starq, September 28, 2022, 04:42:13 AM

Previous topic - Next topic

Starq

Ts file won't open, why?
Avidemux v. 2.8.1

Attempt to open 22.09.26 22-17.ts failed!
Could not open the file

file:
disk.yandex.ru/i/CAIT5CvA7atZ6Q

eumagga0x2a

Could you please provide file size in bytes and a checksum (SHA256 or SHA512)?

Starq

SHA256
57e15e963354fcb4847f693903fac693b9514a8097d2bb21b888294b6a463c1e

eumagga0x2a

Thank you. The reason while Avidemux fails to load this MPEG-TS file is timing info missing in the H.264 SPS, so that we end up with

Fps=0
in the created .idx2 file. You can change this line with an editor supporting Unix-style line breaks to

Fps=25000
to allow Avidemux to handle the stream. Whatever H.264 encoder is responsible for creating this stream: not including timing info into SPS is a bad idea.

Starq

Quote from: eumagga0x2a on September 28, 2022, 07:04:23 PMFps=0in the created .idx2 file. You can change this line with an editor supporting Unix-style line breaks to
Fps=25000
Thank you. This method helped me.

Quote from: eumagga0x2a on September 28, 2022, 07:04:23 PMThank you. The reason while Avidemux fails to load this MPEG-TS file is timing info missing in the H.264 SPS, so that we end up with
Whatever H.264 encoder is responsible for creating this stream: not including timing info into SPS is a bad idea.
Maybe you are right. Unfortunately I receive such files. If Avidemux makes an .idx2 file, then I would like it to work immediately without modification. Otherwise, this file is useless and should not have been created.

eumagga0x2a

There won't be a quick solution for that as the way Avidemux is creating index files for MPEG transport streams mandates frame rate being known from the start, before Avidemux can guess based on PTS of video frames whether the FPS matches a known standard value. The latter is possible only well after the indexing has been started.