Opened 7 years ago

Closed 23 months ago

Last modified 19 months ago

#6422 closed defect (fixed)

cannot parser ts file when like this format: (AUD)(PPS)(SPS)(PPS)(I-Slice)

Reported by: yunhai2009 Owned by:
Priority: important Component: avcodec
Version: git-master Keywords: h264 regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

cannot parser ts file when like this format: (AUD)(PPS)(SPS)(PPS)(I-Slice)

Attachments (2)

playlist-05672.txt (137.9 KB ) - added by yunhai2009 7 years ago.
TS
video-H264-1 (538.1 KB ) - added by Carl Eugen Hoyos 5 years ago.

Download all attachments as: .zip

Change History (13)

by yunhai2009, 7 years ago

Attachment: playlist-05672.txt added

TS

comment:1 by yunhai2009, 7 years ago

Expected Behavior:

ffmpeg can parse ts,and display video

Actual Behavior:

ffmpeg cannot parse ts

Steps to Reproduce:

1、txt to ts
2、use ffmpeg parse ts

comment:2 by Carl Eugen Hoyos, 7 years ago

Keywords: h264 regression added; TS removed
Priority: normalimportant
Reproduced by developer: set
Version: 3.2.4git-master

Regression since 0bf5fd2e / 98c97994
Not reproducible with --disable-bsf=extract_extradata.

in reply to:  2 ; comment:3 by yunhai2009, 7 years ago

Replying to cehoyos:

Regression since 0bf5fd2e / 98c97994
Not reproducible with --disable-bsf=extract_extradata.

what do you mine by "not reproducible with"? you mine that i need edit configure in order to solve this problem. in addition,is this a bug?

Last edited 7 years ago by yunhai2009 (previous) (diff)

in reply to:  3 ; comment:4 by Carl Eugen Hoyos, 7 years ago

Replying to yunhai2009:

Replying to cehoyos:

Regression since 0bf5fd2e / 98c97994
Not reproducible with --disable-bsf=extract_extradata.

what do you mine by "not reproducible with"?

I was unable to reproduce the issue you describe if I use the configure option --disable-bsf=extract_extradata.

you mine that i need edit configure in order to solve this problem.

I don't think solve is the right word, it may be a work-around.

in addition,is this a bug?

I believe so and I set the status to reproduced.

in reply to:  4 comment:5 by yunhai2009, 7 years ago

using 2.8.11 that is not unable to reproduce the issue,and i do not edit configure.if i use 3.3.1 that need use the configure option --disable-bsf=extract_extradata.

in reply to:  4 comment:6 by yunhai2009, 7 years ago

Replying to cehoyos:

using 2.8.11 that is not unable to reproduce the issue,and i do not edit configure.if i use 3.3.1 that need use the configure option --disable-bsf=extract_extradata.
i have a question how to use function to disable-bsf=extract_extradata, 3.3.1 version.thanks.

in reply to:  2 comment:7 by Carl Eugen Hoyos, 6 years ago

Replying to cehoyos:

Regression since 0bf5fd2e / 98c97994
Not reproducible with --disable-bsf=extract_extradata.

The same regression can be reproduced with http://samples.ffmpeg.org/ffmpeg-bugs/trac/ticket6961/

by Carl Eugen Hoyos, 5 years ago

Attachment: video-H264-1 added

comment:8 by Carl Eugen Hoyos, 5 years ago

I attached a possible related sample that shows a regression reported on the user mailing list:
http://ffmpeg.org/pipermail/ffmpeg-user/2018-November/042045.html

comment:9 by Balling, 23 months ago

Resolution: fixed
Status: newclosed

Well, all samples work now.

First and second (m)ts samples have

[h264 @ 0000027b6aa58a00] sps_id 0 out of range
[h264 @ 0000027b6aa58a00] Error decoding the extradata
[NULL @ 0000027b612a8d80] sps_id 0 out of range

Third has:

[NULL @ 000001ccbb4e76c0] time_scale/num_units_in_tick invalid or unsupported (0/5625)
[h264 @ 000001ccc4c5c300] time_scale/num_units_in_tick invalid or unsupported (0/5625)
[NULL @ 000001ccbb4e76c0] Overread VUI by 8 bits

comment:10 by Balling, 23 months ago

I do not like how -c copy -bsf:v trace_headers fails with video-H264-1.

comment:11 by Carl Eugen Hoyos, 19 months ago

Note: See TracTickets for help on using tickets.