Opened 5 years ago

Closed 5 years ago

#3275 closed defect (invalid)

the video stream returned by av_find_best_stream is different than the stream played by ffplay

Reported by: hxuanyu Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: cus@passwd.hu Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

For the attached file, av_find_best_stream(pFormatCtx, AVMEDIA_TYPE_VIDEO) returns 4

But ffplay plays another stream.

Test file is here https://dl.dropboxusercontent.com/u/89678527/aaaaaaaavvv_mpeg2video_30_yuv420p_dar4x3_sar10x11_ac3_48000_1_0.ts

Change History (3)

comment:1 follow-up: Changed 5 years ago by cus

  • Cc cus@passwd.hu added

It plays stream 4 for me: the pink guy with green belly...

Which stream is played for you?

comment:2 in reply to: ↑ 1 Changed 5 years ago by hxuanyu

Replying to cus:

It plays stream 4 for me: the pink guy with green belly...

Which stream is played for you?

Thanks, I think the stream returned by av_find_best_stream is also 4, so it might be our application's problem for showing different content (totally black) than ffplay.

So could you please close this ticket?

Last edited 5 years ago by hxuanyu (previous) (diff)

comment:3 Changed 5 years ago by cehoyos

  • Resolution set to invalid
  • Status changed from new to closed

There is of course the problem that ffmpeg does not use av_find_best_stream()...

Note: See TracTickets for help on using tickets.