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.
[SOLVED] SOFTHDDEVICE : HD channels issue
-
-
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
-
I installed ffmpeg from ppa but compiled sources of Softhddevice from git.
Is that the source of the problem ? Should I compile ffmpeg from sources too ?
Thx -
Not needed. But check if the headerfiles (/usr/include/libavcodec/) belongs to the correct ffmpeg version and not an other.
Johns
-
You were right libavcodec and libavresample versions don't belong to ffmpeg 2.6.2
What's the better way to fix that, compile ffmpeg from sources ?
Thx -
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 setupCode
Alles anzeigen[08:37:01][root@srv:~]$ cat /etc/apt/sources.list.d/mc3man-trusty-media-trusty.list deb http://ppa.launchpad.net/mc3man/trusty-media/ubuntu trusty main # deb-src http://ppa.launchpad.net/mc3man/trusty-media/ubuntu trusty main [08:37:10][root@srv:~]$ aptitude show ffmpeg Paket: ffmpeg Neu: ja Zustand: Installiert Automatisch installiert: nein Version: 7:2.6.1~trusty Priorität: optional Bereich: video Verwalter: Doug McMahon <mc631man@gmail.com> Architektur: i386 Unkomprimierte Größe: 82,7 M Hängt ab von: libasound2 (>= 1.0.16), libass5 (>= 0.10.2), libbz2-1.0, libc6 (>= 2.17), libfdk-aac0 (>= 0.1.1), libmp3lame0, libopencore-amrnb0, libopencore-amrwb0, libopus0 (>= 1.0.3), libpulse0 (>= 1:0.99.1), libsdl1.2debian (>= 1.2.11), libsoxr0 (>= 0.1.0), libspeex1 (>= 1.2~beta3-1), libva1 (> 1.3.0~), libvdpau1 (>= 0.2), libvidstab1.0, libvo-aacenc0, libvorbis0a (>= 1.1.2), libvorbisenc2 (>= 1.1.2), libvpx1 (>= 1.3.0), libx11-6, libx264-142, libx265-40, libxcb-shape0, libxcb-shm0, libxcb-xfixes0, libxcb1, libxext6, libxv1, libxvidcore4 (>= 1.2.2), zlib1g (>= 1:1.2.0.2) Beschreibung: Multimedia player, server, encoder and transcoder FFmpeg is a complete, cross-platform solution to decode, encode, record, convert and stream audio and video. This package contains the ffplay multimedia player, the ffserver streaming server, the ffmpeg audio and video encoder, and the ffprobe stream analyzer. They support most existing file formats (AVI, MPEG, OGG, Matroska, ASF...) and encoding formats (MPEG, DivX, MPEG4, AC3, DV...). Additionally, it contains the qt-faststart utility which rearranges Quicktime files to facilitate network streaming. [08:38:36][root@srv:~]$ aptitude search ffmpeg libav | grep ^i i chromium-codecs-ffmpeg-extra - Extra ffmpeg codecs for the Chromium Brows i ffmpeg - Multimedia player, server, encoder and tra i ffmpeg2theora - Kodierer für Theora-Video, der FFmpeg verw i gstreamer1.0-libav - libav plugin for GStreamer i libavahi-client3 - Avahi-Client-Bibliothek i libavahi-common-data - Gemeinsame Datendateien für Avahi i libavahi-common3 - Gemeinsame Avahi-Bibliothek i libavahi-core7 - Avahis einbettbare mDNS/DNS-SD-Bibliothek i libavahi-glib1 - Avahi-GLib-Integrationsbibliothek i libavc1394-0 - Kontrolle von Audio-/Videogeräten nach IEE i libavcodec-dev - Development files for libavcodec i A libavcodec54 - FFmpeg codec library i A libavdevice53 - FFmpeg device handling library i A libavfilter3 - FFmpeg video filtering library i A libavformat-dev - Development files for libavformat i A libavformat54 - FFmpeg file format library i A libavresample1 - FFmpeg audo resampling library i A libavutil-dev - Development files for libavutil i A libavutil52 - FFmpeg utility library
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 ? -
can you please post the exact error message here. otherwise it will probably be hard to help.
-
Here are the output of make :
Codeg++ -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
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!