[mythtv-users] Unable to Seek MPEG2 : AFD Error: av_seek_frame(ic, -1, 44844800, 0) -- error

Andrew Lyon andrew.lyon at gmail.com
Fri Dec 29 19:50:15 UTC 2006


Playing a MPEG2 video using mythvideo (not a recording), If I attempt
to seek , playback stops and myth returns to the menu, the only error
I get in the log is:

2006-12-29 19:39:10.672 AFD Error: av_seek_frame(ic, -1, 44844800, 0) -- error

I added -v libav, playback and there was a lot of output (far too much
to post here), immediately after the error above there was :
2006-12-29 19:39:10.672 NVP: ClearAfterSeek(0), but I couldnt spot
anything else...

The file plays and seeks fine in mplayer, and ive included the info
from that below, I tried to make a smaller file to attach/link as a
example but my crude method (dd) produced a file that myth would not
play at all.

Please advise as to what I should do to diagnose this problem.

mplayer info:

TS file format detected.
DEMUX OPEN, AUDIO_ID: -1, VIDEO_ID: -1, SUBTITLE_ID: -2,
PROBING UP TO 2000000, PROG: 0
VIDEO MPEG2(pid=17)AUDIO A52(pid=20) NO SUBS (yet)!  PROGRAM N. 1
Opened TS demuxer, audio: 2000(pid 20), video: 10000002(pid
17)...POS=120884, PROBE=2000000
VIDEO:  MPEG2  1920x1080  (aspect 3)  29.970 fps  14200.0 kbps (1775.0 kbyte/s)
==========================================================================
Trying to force audio codec driver family hwac3...
Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
No accelerated IMDCT transform found
hwac3: switched to AC3, 384000 bps, 48000 Hz
AUDIO: 48000 Hz, 2 ch, ac3, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [hwac3] afm: hwac3 (AC3 through S/PDIF)
==========================================================================
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 1920 x 1080 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
alsa-init: using device iec958:{CARD 0 AES0 0x02 AES1 0x82 AES2 0x00 AES3 0x02}
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch ac3 (1 bytes per sample)
Starting playback...
VDec: vo config request - 1920 x 1080 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
SwScaler: using unscaled Planar YV12 -> BGRA special converter
VO: [gl] 1920x1080 => 1920x1080 BGRA
aspect: Warning: no suitable new res found!
A:12171.0 V:12171.6 A-V: -0.536 ct:  0.077 117/114 ??% ??% ??,?% 0 0
demux_mpg: 24000/1001fps progressive NTSC content detected, switching framerate.
alsa-uninit: pcm closed: -0.463 ct:  0.008 208/205 24%  7%  1.6% 0 0

Exiting... (Quit)


More information about the mythtv-users mailing list