[mythtv-users] crystalhd decoder problem

sathish holla holla.net at gmail.com
Wed Jul 25 13:29:16 UTC 2018


I am trying to configure an under powered Atom system
with a PVR-350 card and CrystalHD decoder to create a
mythfrontend node running 0.29.1.

I created a playback profile with crystalhd as
the decoder. Now in LiveTV the video has severe combing
pattern. (See the image https://pasteboard.co/Hw60GWc.jpg )

But if I use mplayer to playback the recorded file, then
the playback is good.

mplayer  -lircconf /home/mythtv/.mythtv/lircrc -vc ffmpeg2crystalhd  -vo xv  -vf scale=720:576 
<recording.mpg>

Please give me some clues as to how to go about trouble shooting
this situation..

sholla


---- mythfrontend playback logs (filtered)

2018-07-07 12:07:12.415455 I [1061/1061] CoreContext tv_play.cpp:2277 (HandleStateChange) - 
TV::HandleStateChange(): Attempting to change from None to WatchingLiveTV
2018-07-07 12:07:13.982014 I [1061/1061] CoreContext videoout_xv.cpp:616 (InitXVideo) - 
VideoOutputXv: XVideo Adaptor Name: 'PVR350'
2018-07-07 12:07:13.982045 I [1061/1061] CoreContext videooutbase.cpp:1965 (CalcHueBase) - 
VideoOutput: CalcHueBase(PVR350): Unknown adaptor, hue may be wrong.
2018-07-07 12:07:13.982057 I [1061/1061] CoreContext videooutbase.cpp:1967 (CalcHueBase) - 
VideoOutput: Please open a ticket if you need to adjust the hue.
2018-07-07 12:07:17.087796 N [1061/1061] CoreContext mythplayer.cpp:2230 (PrebufferEnoughFrames) - 
Player(0): Waited 105ms for video buffers AAAAAAAAAAAAAAAAAAAAAAAAAAAUUULP
2018-07-07 12:07:17.189131 N [1061/1061] CoreContext mythplayer.cpp:2230 (PrebufferEnoughFrames) - 
Player(0): Waited 207ms for video buffers UUUUUAAAAAAAAAAAAAAAAAAAAAAUUUUP
2018-07-07 12:07:17.023393 I [1061/1164] Fetcher privatedecoder_crystalhd.cpp:584 (FetchFrames) - 
CrystalHD: Decoder reported format change.
2018-07-07 12:07:17.567465 I [1061/1061] CoreContext videooutbase.cpp:1488 (DisplayOSD) - 
VideoOutput: Created YV12 OSD.
....


---------mplayer log ---------------
libavformat version 57.25.100 (internal)
MPEG-PS file format detected.
VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  6000.0 kbps (750.0 kbyte/s)
Opening video filter: [scale w=720 h=576]
==========================================================================
Forced video codec: ffmpeg2crystalhd
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 57.24.102 (internal)
Running DIL (3.22.0) Version
DtsDeviceOpen: Opening HW in mode 0
Enable single threaded mode
Scaling command param 0x0,ctx_scal:0x0
Selected video codec: [ffmpeg2crystalhd] vfm: ffmpeg (FFmpeg MPEG-2 (CrystalHD))
==========================================================================
Load subtitles in ./
==========================================================================
Forced audio codec: mad
Requested audio codec family [mad] (afm=libmad) not available.
Enable it at compilation.
Requested audio codec family [mpg123] (afm=mpg123) not available.
Enable it at compilation.
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 384.0 kbit/12.50% (ratio: 48000->384000)
Selected audio codec: [ffmp2float] afm: ffmpeg (FFmpeg MPEG layer-1 and layer-2 audio)
==========================================================================
[AO_ALSA] Format floatle is not supported by hardware, trying default.
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
[mpeg2_crystalhd @ 0x560d69127140]CrystalHD: Filling pipeline.
[mpeg2_crystalhd @ 0x560d69127140]CrystalHD: Filling pipeline.
[mpeg2_crystalhd @ 0x560d69127140]CrystalHD: Filling pipeline.
[mpeg2_crystalhd @ 0x560d69127140]CrystalHD: Filling pipeline.
[mpeg2_crystalhd @ 0x560d69127140]CrystalHD: Filling pipeline.
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x560d6913c380]bicubic scaler, from yuyv422 to yuv420p using MMXEXT
[swscaler @ 0x560d6913c380]using unscaled yuyv422 -> yuv420p special converter
VO: [xv] 720x576 => 720x576 Planar YV12
Movie-Aspect is 1.67:1 - prescaling to correct movie aspect.
VO: [xv] 720x576 => 960x576 Planar YV12



More information about the mythtv-users mailing list