Opened 11 years ago

Closed 11 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 by Marton Balint, 11 years ago

Cc: cus@passwd.hu added

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

Which stream is played for you?

in reply to:  1 comment:2 by hxuanyu, 11 years ago

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 11 years ago by hxuanyu (previous) (diff)

comment:3 by Carl Eugen Hoyos, 11 years ago

Resolution: invalid
Status: newclosed

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

Note: See TracTickets for help on using tickets.