Modify ↓
Ticket #6603 (closed defect: fixed)
Opened 3 years ago
Last modified 3 years ago
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
Attachments
Change History
comment:1 Changed 3 years ago by J.Pilk@…
comment:2 Changed 3 years ago by markk
- Owner changed from ijr to markk
- Status changed from new to accepted
comment:3 Changed 3 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;
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.