Posts by tvtuner

    With yavdr-ansible when vdr starts up the screen is usually black. OSD works. I have to switch channel and then I get picture too. I am using vdr-plugin-softhddevice-hevc plugin with intel. Minor bug but any ideas?

    Yes but the /srv directory is a mount in separate partition. Looks like all the recordings are there but the first level of directories is missing. A long list of recordings shows up when I open the recordings menu.

    Upgrading with yavdr-ansible the folders in Recordings menu are gone. The "show folders" setting should be on. Same thing with extrecmenu and normal recordings menu. If the "show folders" is on it shows some folders but looks like the first level of folders is gone. Any idea what is wrong?

    I got the audio working with vaapidevice. But with vaapidevice some recordings don't have sound at all but some do. Recordings without sound crashed. It had more crashes and glitches.


    I went back to vdr-plugin-softhddevice-hevc and it seems to be more stable and works better. And now the recordings are smooth too. I have no idea why but all is good now. I better not touch anything for a while. :-)


    Current vdr-plugin-softhddevice-hevc settings for future reference. Maybe somebody finds them useful too.


    * Video

    Enable screensaver: off

    4:3 video display format: letterbox

    16:9+other video display format: pillarbox

    video background color: 0

    video background color alpha: 0

    use studio levels: off

    60Hz display mode: off

    Soft start a/v sync: on

    Black during channel switch: off

    Clear decoder on channel switch: off

    Bightness: 0

    Contrast: 1000

    Saturation: 1000

    Hue: 0

    * 576i:

    Scaling: HQ

    Deinterlace: Bob

    SkipChromaDeinterlace: no

    Sharpen: 0

    Cut top and bottom: 0

    Cut left and right: 0


    * Audio
    Audio/video delay: -250

    Audio drift correction: none

    Pass-through default: off

    pcm passthrough: off

    AC-3 pass-through: off

    E-AC-3 pass-through: off

    Enable (E-)AC-3 (decoder) downmix: off

    Volume control: software

    Enable normalize volume: off

    Max normalize factor (/1000): 0

    Reduce stereo volume: 0

    Audio buffer size: 0

    Enable automatic AES: off

    I'll try that. But do you know what is this about? I went back and forth with the output plugins and now the frontend won't start.


    vdr@tbox:~$ /usr/bin/start-desktop

    Traceback (most recent call last):

    File "/usr/bin/start-desktop", line 11, in <module>

    load_entry_point('yavdr-frontend==0.0.24', 'console_scripts', 'start-desktop')()

    File "/usr/lib/python3/dist-packages/yavdr_frontend/start_desktop.py", line 9, in start_desktop

    path, *args = sys.argv[1:]

    ValueError: not enough values to unpack (expected at least 1, got 0)

    How should I get audio out of vaapi plugin? Can't get it working.


    Got it working. Had to set:


    [vaapidevice]

    -a hdmi


    ..in /etc/vdr/conf.avail/vaapidevice.conf but after machine reboot it says device is busy. Rebooting vdr brings the sound back.


    There are very similar problems with the audio in vaapi plugin. It is lagging a lot.

    Low load, CPU is vdr 5% and xorg 1%. Intel I5 and Intel HD Graphics 2000. The transmission is 50Hz, Xorg is 50Hz and setting in softhddevice is 50Hz. Sound creeps slowly so it is couple seconds behind after few minutes watching one channel. In the beginning it is in sync.


    But now I figured out what is causing this. I enabled "Soft start a/v sync" in softhddevice settings. Now the audio is in sync but the picture is not so smooth anymore when watching recordings. Live TV is ok. If "soft start a/v sync" is disabled then video is smooth everywhere but audio starts lagging after a while both in recordings and live tv.

    This:

    vdr - nice -20

    vdr - rtprio 99


    should be defined in /etc/security/limits.conf to allow pulseaudio to set it's process priorities. It is run as vdr user.

    But sound is still lagging a lot for some reason, more and more with time when watching a channel. Switching channel syncs the sound back to normal. Normal here is -390ms audio delay in settings. Audio is almost half a second behind picture which very weird. This is with vdr-plugin-softhddevice-vdpau-hevc

    There is an extra "/" here line 82 /usr/lib/python3/dist-packages/yavdr_frontend/yavdrfrontend.py:

    <method name='quit'/>


    should be


    <method name='quit'>


    Edit: you were faster


    Rebooted and now it works. This yavdr-ansible is pretty good setting up vdr, thank you for that.

    Also found a little bit different message from earlier today in the logs when it was broken in the startup:


    yavdr-frontend service does not run. It broke with latest updates, either packages or yavdr-ansible. Any ideas? I get: