[mythtv-users] playback of h.264 videos

Matt skd5aner at gmail.com
Tue Aug 28 18:41:18 UTC 2007


Hello,

Running current SVN (r14299) I can't seem to get myth to playback and
h.264 encoded videos.  I've tried videos that I've transcoded using
nuvexport as well as sample videos from here:
http://www.leadcodecs.com/Download/H264-Videos.htm

However, anytime I try to play it, the screen goes black for about 3
seconds and comes back to the menu.

Using the sample video "WhatBox_720x48_q23.avi" from the site above, I
turned on -v playback and this is what I got - you can definitely see
some errors.

2007-08-28 13:58:21.789 TV: Attempting to change from None to
WatchingPreRecorded
2007-08-28 13:58:21.789
RingBuf(/mythtv/media/videos/WhatBox_720x480_q23.avi):
OpenFile(/mythtv/media/videos/WhatBox_720x480_q23.avi, 12)
2007-08-28 13:58:21.790
RingBuf(/mythtv/media/videos/WhatBox_720x480_q23.avi):
CalcReadAheadThresh(3085888024 KB)
                         -> threshhold(64 KB) min read(0 KB) blk size(32 KB)
[avi @ 0xb74aacb0]Parser not found for Codec Id: 0 !
[avi @ 0xb74aacb0]Parser not found for Codec Id: 65536 !
2007-08-28 13:58:21.900 DPMS Deactivated
2007-08-28 13:58:22.001 AFD: Stream #0, has id 0x0 codec id NONE, type
Video, bitrate 0 at 0x0x8b342c0
2007-08-28 13:58:22.002 AFD: Stream #0 has an unknown video codec id, skipping.
2007-08-28 13:58:22.002 AFD: Stream #1, has id 0x1 codec id PCM_S16LE,
type Audio, bitrate 1536000 at 0x0x8b356b0
2007-08-28 13:58:22.002 AFD: Looking for decoder for PCM_S16LE
2007-08-28 13:58:22.002 AFD: Opened codec 0x8b34430, id(PCM_S16LE) type(Audio)
2007-08-28 13:58:22.002
RingBuf(/mythtv/media/videos/WhatBox_720x480_q23.avi):
CalcReadAheadThresh(3060475792 KB)
                         -> threshhold(64 KB) min read(0 KB) blk size(32 KB)
2007-08-28 13:58:22.004 Opening ALSA audio device 'default'.
2007-08-28 13:58:22.624 Dec: Trying to select track (w/lang)
2007-08-28 13:58:22.625 Dec: Selecting first track
2007-08-28 13:58:22.625 Dec: Selected track #1 in the Unknown language(0)
2007-08-28 13:58:22.625 Resyncing position map. posmapStarted = 0
livetv(0) watchingRec(0)
2007-08-28 13:58:22.626 SyncPositionMap prerecorded, from DB: 0 entries
2007-08-28 13:58:22.626 AFD: Recording has no position -- using
libavformat seeking.
2007-08-28 13:58:22.626 AFD: Successfully opened decoder for file:
"/mythtv/media/videos/WhatBox_720x480_q23.avi". novideo(0)
2007-08-28 13:58:22.636 VideoOutputXv: ctor
2007-08-28 13:58:22.638 Over/underscan. V: 0, H: 0, XOff: 0, YOff: 0
2007-08-28 13:58:22.638 Display Rect  left: 0, top: 90, width: 1280,
height: 540, aspect: 1.33333
2007-08-28 13:58:22.638 Video Rect    left: 0, top: 0, width: 0,
height: 0, aspect: 1.77778
2007-08-28 13:58:22.638 VideoOutputXv: Pixel dimensions: Screen
1280x720, window 1280x720
2007-08-28 13:58:22.638 VideoOutputXv: Estimated display dimensions:
325x183 mm  Aspect: 1.77596
2007-08-28 13:58:22.638 VideoOutputXv: Estimated window dimensions:
325x183 mm  Aspect: 1.77596
2007-08-28 13:58:22.639 VideoOutputXv: @ j=3 Looking for flag[s]:
XvInputMask XvImageMask
2007-08-28 13:58:22.639 VideoOutputXv: Adaptor#0: NV17 Video Texture
has flag[s]: XvInputMask XvImageMask
2007-08-28 13:58:22.640 VideoOutputXv: Grabbed xv port 355
2007-08-28 13:58:22.640 VideoOutputXv: XVideo surface found on port 355
2007-08-28 13:58:22.640 VideoOutputXv: XVideo Adaptor Name: 'NV17 Video Texture'
2007-08-28 13:58:22.640 VideoOutputXv: XVideo Format #0 is 'YUY2'
2007-08-28 13:58:22.640 VideoOutputXv: XVideo Format #1 is 'YV12'
2007-08-28 13:58:22.640 VideoOutputXv: XVideo Format #2 is 'UYVY'
2007-08-28 13:58:22.640 VideoOutputXv: XVideo Format #3 is 'I420'
2007-08-28 13:58:22.640 VideoOutputXv: Using XVideo Format 'I420'
2007-08-28 13:58:22.640 VideoOutputXv: CreateShmImages(32): video_dim: 0x0
X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  140
  Minor opcode:  14
  Resource id:  0x1e2
2007-08-28 13:58:22.641 VideoOutputXv: Chromakeying not possible with
this XVideo port.
2007-08-28 13:58:22.642 Display Rect  left: 0, top: 0, width: 1280,
height: 720, aspect: 1.77778
2007-08-28 13:58:22.642 Video Rect    left: 0, top: 0, width: 0,
height: 0, aspect: 1.77778
cannot load glyph:20
cannot load glyph:21
cannot load glyph:22
cannot load glyph:23
cannot load glyph:24
cannot load glyph:25
..... these go on for a long time.

I thought people have been able to sucessfully decode and playback
x264/h.264 videos, especially since the latest ffmpeg resync.

Any ideas?

Thanks!
Matt


More information about the mythtv-users mailing list