Opened 3 years ago

Last modified 6 days ago

#9863 open defect

warning: first frame is no keyframe

Reported by: jinbiao9504 Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: vc1
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:

I found an issue with VC-1 video:
When i seek to a position after playing a VC-1 video, a warning which says 'warning: first frame is no keyframe' is presented.
And the picture will be shortly not clear after seek. I think this is caused by the warinng.
The log and one of the VC-1 files about this issue is attached, is that an issue of ffplay?

How to reproduce:

ffplay 36_vc1_720x480_interlaced_advanced.m2ts
put down RIGHT key to seek

ffmpeg version:lastest

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Attachments (3)

temp4cj.png (591.6 KB ) - added by jinbiao9504 3 years ago.
ffplay-20220808-155204.log (102.0 KB ) - added by jinbiao9504 3 years ago.
36_vc1_720x480_interlaced_advanced.m2ts (2.4 MB ) - added by jinbiao9504 3 years ago.

Change History (15)

by jinbiao9504, 3 years ago

Attachment: temp4cj.png added

by jinbiao9504, 3 years ago

Attachment: ffplay-20220808-155204.log added

comment:1 by jinbiao9504, 3 years ago

I am sorry that I cannot upload a media file bigger than 2.5M

comment:2 by jinbiao9504, 3 years ago

Component: undeterminedavcodec

by jinbiao9504, 3 years ago

comment:3 by Balling, 3 years ago

Keywords: vc1 added; VC-1 removed

Cannot reproduce.

comment:4 by jinbiao9504, 3 years ago

Hi Balling,
Thank you for your reply!
You cannot reproduce because the movie attached is too short to seek.
Is that a way(e.g. email or others) i can upload the whole movie(about 20M) to you.
I can only upload attachment less than 2.5M here.

comment:5 by Balling, 3 years ago

You can just upload to https://streams.videolan.org/upload/ (click on FFmpeg, of course).

comment:6 by jinbiao9504, 3 years ago

The whole vc1 file has been uploaded

comment:7 by jinbiao9504, 3 years ago

Hi Balling,have you received my movie file?

comment:8 by mkver, 3 years ago

Your files are here.

comment:9 by Balling, 3 years ago

Status: newopen

Same happens on a blu-ray I have of "Whiteout".

I did mention it here: https://trac.ffmpeg.org/ticket/8515#comment:3

in reply to:  9 comment:10 by jinbiao9504, 3 years ago

Replying to Balling:

Same happens on a blu-ray I have of "Whiteout".

I did mention it here: https://trac.ffmpeg.org/ticket/8515#comment:3

Yes, I saw many keyframe flags.
The decode-function may be affected if the player find the wrong keyframe after seek?

comment:11 by Balling, 15 months ago

Will just again point out that this can be only reproduced on bigger file here https://streams.videolan.org/ffmpeg/incoming/9863/36_vc1_720x480_interlaced_advanced.m2ts

comment:12 by Balling, 6 days ago

Okay, so I tried testing this after remux to mkv...

When i seek to a position after playing a VC-1 video, a warning which says 'warning: first frame is no keyframe' is presented.

The part about AFTER does not happen anymore. During video yes

put down RIGHT key to seek

This does not happen after end of video. Just pushing right button to seek does not cause issues, it gets stuck. But it does print warnings, also in mkv if you seek back it can suddely start saying

[vc1 @ 0000017742f2c740] Luma scaling is not supported, expect wrong picture
[vc1 @ 0000017742f2c740] Chroma scaling is not supported, expect wrong picture

and this happens even with -threads 1

Last edited 6 days ago by Balling (previous) (diff)
Note: See TracTickets for help on using tickets.