Opened 16 years ago
Closed 16 years ago
#6603 closed defect (fixed)
vdpau cannot decode certain HD H.264 stream
Reported by: | 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 by , 16 years ago
comment:2 by , 16 years ago
Owner: | changed from | to
---|---|
Status: | new → accepted |
comment:3 by , 16 years ago
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;
Note:
See TracTickets
for help on using tickets.
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.