Opened 11 years ago

Closed 10 years ago

#6603 closed defect (fixed)

vdpau cannot decode certain HD H.264 stream

Reported by: davidtlwong@… Owned by: markk
Priority: major Milestone: 0.22
Component: MythTV - Video Playback Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

MythTV cannot decode HD H.264 stream from Hong Kong broadcaster TVB using vdpau decoder. It shows grey noise screen with green/purple blocks/slices.

A sample of MythTV recorded H.264 stream can be found at: http://www.sendspace.com/file/izsffg

Change History (4)

comment:1 Changed 11 years ago by J.Pilk@…

I haven't tried much H264 material before and don't have VDPAU. This clip plays, with perfect lipsync but with pauses, in my 0.21 fixes 'bijou' internal player (1.8GHz Core2Duo). At 0.5 speed there are no pauses. With 'mplayer -nolirc -nojoystick -vfm ffmpeg -fps 25 -lavdopts fast:skiploopfilter=nonref:threads=2 Mythticket6603.mpg' the video is fine but audio seems entirely disconnected. Adding 'af -scaletempo <factor>' works but hasn't reconnected it. HTH.

comment:2 Changed 11 years ago by markk

Owner: changed from Isaac Richards to markk
Status: newaccepted

comment:3 Changed 10 years ago by davidtlwong@…

It is found that MythTV set wrong parameter to VDAPU.

In VDPAU_h264_picture_complete()

It is currently:

render->info.h264.mb_adaptive_frame_field_flag = h->sps.mb_aff

Latest MPlayer SVN uses:

render->info.h264.mb_adaptive_frame_field_flag = h->sps.mb_aff && !render->info.h264.field_pic_flag;

comment:4 Changed 10 years ago by markk

Resolution: fixed
Status: acceptedclosed

(In [20728]) Fix playback of certain h264 streams with a small fix from ffmpeg trunk. Closes #6603.

Note: See TracTickets for help on using tickets.