[SOLVED] SOFTHDDEVICE : HD channels issue

  • Hi,
    I just switched to softhddevice, it works great on SD channels but I can't watch HD ones.
    On HD channels, I'm hearing the sound but the picture is buggy and only shows the last SD channel's frame.
    I start softhddevice with : -P'softhddevice -d :0.0 -v vdpau'
    The syslog shows the following error 'video/vdpau: decoder rendering failed: An invalid handle value was provided.'
    Im using ffmpeg 2.6.2 installed from ppa:mc3man/trusty-media.
    How can I fix that pls ?
    Thank you.

  • Sounds like debian/ubuntu.


    You need a SoftHdDevice which is compiled with ffmpeg-dev 2.6.2.


    When SoftHdDevice comes from a different Reposit, you should use ffmpeg/libav from this.


    Johns

    Sag mir, wo die Developer sind. Wo sind sie geblieben? . . . . . . . . . . . . . . . . . . . . SoftHdDevice - A software and GPU emulated HD output device plugin.
    Sag mir, wo die Developer sind. Was ist geschehn?


    Client0: Crown CW02 MSI_C847MS-E33 Zotac_GT640_passiv Cine-S2 iMon-MCE / streamdev softhddevice
    Client1: Lian_Li_PC-Q09FB ASRock_H67M-ITX/HT I3-2100 ASUS_ENGT520_passiv / streamdev softhddevice
    Test: Lian_Li_PC-Q09R Asus C60M1-I / streamdev
    Server0: Dockstar TT-S2-3600-USB / streamdev
    Server2: Lian_Li_PC-Q07R Intel_DH61DL G620 WD20EARX 90W PicoPSU Cine-S2+DuoFlex-S2+DuoFlex-CT / streamdev / 22 Watt Verbrauch

  • Not needed. But check if the headerfiles (/usr/include/libavcodec/) belongs to the correct ffmpeg version and not an other.


    Johns

    Sag mir, wo die Developer sind. Wo sind sie geblieben? . . . . . . . . . . . . . . . . . . . . SoftHdDevice - A software and GPU emulated HD output device plugin.
    Sag mir, wo die Developer sind. Was ist geschehn?


    Client0: Crown CW02 MSI_C847MS-E33 Zotac_GT640_passiv Cine-S2 iMon-MCE / streamdev softhddevice
    Client1: Lian_Li_PC-Q09FB ASRock_H67M-ITX/HT I3-2100 ASUS_ENGT520_passiv / streamdev softhddevice
    Test: Lian_Li_PC-Q09R Asus C60M1-I / streamdev
    Server0: Dockstar TT-S2-3600-USB / streamdev
    Server2: Lian_Li_PC-Q07R Intel_DH61DL G620 WD20EARX 90W PicoPSU Cine-S2+DuoFlex-S2+DuoFlex-CT / streamdev / 22 Watt Verbrauch

  • Hi walou,
    I use XUbuntu 14.04 with mc3man ppa and ffmpeg 2.6.1 with no problems. I compiled softhddevice from git too and its working 100%.
    Here are some output from my working setup


    Regards
    Martin

  • I removed all ffmpeg packages and compiled it from the latest sources.
    Now I have an error on recompiling softhddevice. The error is about /usr/bin/ld: /usr/local/lib/libswresample.a (swresample.o).
    Any idea ?

  • Here are the output of make :

    Code
    tarik@testBOX:~/progs/src/vdr-2.2.0/PLUGINS/src/softhddevice$ make


    Code
    g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/alsa           -DPLUGIN_NAME_I18N='"softhddevice"' -D_GNU_SOURCE  -DAV_INFO -DAV_INFO_TIME=3000        -DUSE_PIP              -DUSE_VDR_SPU                   -DUSE_ALSA -DUSE_OSS -DUSE_VDPAU -DUSE_SCREENSAVER -DUSE_SWRESAMPLE  -DGIT_REV='"a1939eb"'  -g -W -Wall -Wextra -Winit-self -Werror=overloaded-virtual  -shared softhddevice.o softhddev.o video.o audio.o codec.o ringbuffer.o -lasound   -lvdpau   -lxcb-screensaver -lxcb-dpms -lxcb   -lswresample -lavutil -lm   -lrt -pthread -lavcodec -lva-x11 -lva -lxcb-shm -lxcb-xfixes -lxcb-render -lxcb-shape -lasound -lSDL -lx264 -lvpx -lvorbisenc -lvorbis -ltheoraenc -ltheoradec -logg -lopus -lmp3lame -lfreetype -lfdk-aac -lass -lz -lswresample -lavutil -lm -lX11-xcb -lX11 -lxcb-icccm -lxcb   -o libvdr-softhddevice.so


    Code
    /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libswresample.a(swresample.o): réadressage de R_X86_64_32 en vertu de « .rodata.str1.1 » ne peut être utilisé lors de la création d'un objet partagé; recompilez avec -fPIC


    Code
    /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libswresample.a: error adding symbols: Mauvaise valeurcollect2: error: ld returned 1 exit status
    Code
    make: *** [libvdr-softhddevice.so] Erreur 1


    Thx

  • Problem solved by installing ffmpeg-opti libavcodec-ffmpeg-opti-dev libavformat-ffmpeg-opti-dev libavutil-ffmpeg-opti-dev libswresample-ffmpeg-opti-dev from ppa:samrog131/ppa and then recompiling softhddevice.
    Great thx to all

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!