Welche würdest du denn da empfehlen?
Das sollten wir in einem anderen Thread diskutieren.
Welche würdest du denn da empfehlen?
Das sollten wir in einem anderen Thread diskutieren.
Das RaspiOS-Image habe ich händisch heruntergeladen und mit Win32DiskImager auf die SD-Karte gebrannt...
Welche Variant denn genau? Wenn man auf https://www.raspberrypi.org/software/operating-systems/ guckt, gibt es
Ich vermut mal die Version vom 11.1.2021, richtig?
Nachdem man keinen Desktop bzw. X-Server braucht, wenn man das Plugin das DRM-Device direkt nutzt, sollte die Live-Variante ohne GUI genügen.
richtig, es sollte eigentlich mit allen laufen, aber zum Nachvollziehen von Wayne ´s Probleme wollte ich die gleiche verwenden :=)
Ich hab den Fehler glaub ich gefunden, gib mir ein paar Minuten. Aber das ist halt nur von einem Fehler zum nächsten hangeln...
Nachdem der Ordner fdk-aac gelöscht ist, geht's wieder ein Stück weiter:
OK Fehler identifiziert und gefixt:
--- a/piwozi/update_on_pi.sh
+++ b/piwozi/update_on_pi.sh
@@ -146,7 +146,7 @@ function piwozi-rebuild-fmpeg {
#--extra-libs="-lpthread -lm -latomic -lbcm_host -lvcos -lvchiq_arm" \
#--extra-ldflags="-L/usr/local/lib -L/opt/vc/lib" \
# -lvcos -lvchiq_arm" \
- [ -e Makefile ] || ./configure \
+ [ -e config.h ] || ./configure \
--extra-version='-rpi+beta' \
--extra-ldflags="-L/opt/vc/lib" \
--extra-libs="-lbcm_host -lvcos" \
Alles anzeigen
Bitte in rpi-ffmpeg config.h löschen und das gepatchte Script aufrufen.
Also,
wenn ich MLD(unsere) installiere,
und dann über MLD WebIf die passenden Einstellungen mache (SATIP, oder streamdev)
je nachdem was man will oder hat,
habe ich ohne Probleme sofort ein Live Bild.
Was noch hackt ist Sound über HMDI, da es bei der MLD kein pulseaudio gibt.
Gruß,
Roland
P.S: kennt jemand die passende alsa config (hdmi), für den rpi4 ohne pulseaudio ?
Was noch hackt ist Sound über HMDI, da es bei der MLD kein pulseaudio gibt.
Wozu wird pulseaudio benötigt? softhddevice-drm nutzt nur Alsa!
Wozu wird pulseaudio benötigt? softhddevice-drm nutzt nur Al
dann passt unsere vc4-hdmi.conf noch nicht.
Habe noch libchromaprint und frei0r-plugins-dev nachinstalliert:
/usr/bin/install -c -m 644 src/zimg/api/zimg.h src/zimg/api/zimg++.hpp '/usr/local/include'
/usr/bin/mkdir -p '/usr/local/lib/pkgconfig'
/usr/bin/install -c -m 644 zimg.pc '/usr/local/lib/pkgconfig'
make[2]: Leaving directory '/home/pi/zimg'
make[1]: Leaving directory '/home/pi/zimg'
Already up to date.
ERROR: ladspa.h dlfcn.h not found
Habe noch libchromaprint und frei0r-plugins-dev nachinstalliert:
Danke fürs geduldige Testen!
libchromaprint wird später (vor libvdr-plugin-softhddevice-drm) runtergeladen und kompiliert, wurde das früher gebraucht?
ladspa.h ist im Paket ladspa-sdk enthalten
dlfcn.h ist im Paket libc6-dev
Bitte per Hand installieren und nochmal versuchen (nicht vergessen Makefile bzw. config.h zu löschen um das configure neu auszuführen).
Muss noch gucken wie die auf mein System kamen, aber ich nehme sie im nächsten Patch als Abhängigkeit auf, dann geht die Installation automatisch.
libchromaprint wird später (vor libvdr-plugin-softhddevice-drm) runtergeladen und kompiliert, wurde das früher gebraucht?
Ja, einige Zeilen weiter oben, z.B.:
remote: Enumerating objects: 16, done.
remote: Counting objects: 100% (16/16), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 10 (delta 7), reused 9 (delta 7), pack-reused 0
Unpacking objects: 100% (10/10), done.
From https://github.com/jc-kynesim/rpi-ffmpeg
fdcfd428b3..a66134da33 dev/4.3.1/drm_prime_1 -> origin/dev/4.3.1/drm_prime_1
Updating fdcfd428b3..a66134da33
Fast-forward
libavutil/aarch64/Makefile | 4 ++-
libavutil/aarch64/rpi_sand_neon.S | 239 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
libavutil/aarch64/rpi_sand_neon.h | 47 +++++++++++++++++++++++++
libavutil/rpi_sand_fn_pw.h | 4 +--
libavutil/rpi_sand_fns.c | 4 +++
5 files changed, 295 insertions(+), 3 deletions(-)
create mode 100644 libavutil/aarch64/rpi_sand_neon.S
create mode 100644 libavutil/aarch64/rpi_sand_neon.h
ERROR: chromaprint not found
Alles anzeigen
remote: Compressing objects: 100% (7/7), done.
remote: Total 31 (delta 24), reused 31 (delta 24), pack-reused 0
Unpacking objects: 100% (31/31), done.
From https://github.com/jc-kynesim/rpi-ffmpeg
a66134da33..12d85b11e2 dev/4.3.1/drm_prime_1 -> origin/dev/4.3.1/drm_prime_1
Updating a66134da33..12d85b11e2
Fast-forward
libavcodec/v4l2_buffers.c | 66 +++++++++++++++++++------------------
libavcodec/v4l2_buffers.h | 6 ++--
libavcodec/v4l2_context.c | 9 ++---
libavcodec/v4l2_context.h | 7 ++--
libavcodec/v4l2_m2m_dec.c | 222 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------
libavdevice/egl_vout.c | 245 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------
pi-util/conf_pi2.sh | 21 ++++++++----
pi-util/ffperf.py | 11 ++++---
8 files changed, 299 insertions(+), 288 deletions(-)
ERROR: aom >= 1.0.0 not found using pkg-config
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
~
===== ./update_on_pi.sh ended in ERROR =====
Alles anzeigen
Install libaom-dev ? sudo apt install libaom-dev
Install libaom-dev ? sudo apt install libaom-dev
...das wars...
Jetzt habe ich einen Sack voll nachinstalliert, aber hier stehe ich nun:
/usr/bin/mkdir -p '/usr/local/lib/pkgconfig'
/usr/bin/install -c -m 644 zimg.pc '/usr/local/lib/pkgconfig'
make[2]: Leaving directory '/home/pi/zimg'
make[1]: Leaving directory '/home/pi/zimg'
Already up to date.
ERROR: No usable libcdio/cdparanoia found
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
~
===== ./update_on_pi.sh ended in ERROR =====
pi@raspberrypi:~ $
Alles anzeigen
Hallo Zillerbaer
Ich versuch ein einfaches h264 file zu spielen:
svdrpsend plug softhddevice-drm PLAY /files/Media/Video\'s/Lina\ afscheidsmusical\ groep\ 8.mp4
Leider segfault vdr, das wird noch geloggt:
[softhddev]SetPlayMode: 0
SetPlayMode: play_mode 0
VideoSetClosing: buffers 5 StartCounter 788
VideoSetClosing: pthread_cond_wait
VideoDecodeInput: ClearVideo(stream)
ClearVideo()
CodecVideoFlushBuffers: VideoCtx 0x7f60000da0
CodecVideoClose: VideoCtx 0x7f60000da0
FilterHandlerThread: Thread Exit.
Frame2Display: set a black FB
CleanDisplayThread: DRM cleaned.
VideoSetClosing: NACH pthread_cond_wait
ClearAudio()
CodecAudioFlushBuffers:
AudioFlushBuffers: AudioFlushBuffers
AlsaFlushBuffers: AlsaFlushBuffers
AudioPlayHandlerThread: pthread_cond_wait
[softhddev]GetSpuDecoder:
[softhddev]CanReplay:
[softhddev]SetPlayMode: 1
SetPlayMode: play_mode 1
VideoThreadWakeup: VideoThreadWakeup
CodecAudioOpen: Codec AAC (Advanced Audio Coding) found
CodecVideoOpen: Codec V4L2 mem2mem H.264 decoder wrapper found
Backtraces:
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
Core was generated by `./vdr --port=6419 --watchdog=20 --instance=0 --user=pi --userdump --config=/etc'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x0000007fa1c5acac in ReadBit () at softhddev.c:804
804 return (m_pStart[nIndex] >> (8-nOffset)) & 0x01;
[Current thread is 1 (Thread 0x7f78ff9170 (LWP 870))]
(gdb) bt
#0 0x0000007fa1c5acac in ReadBit () at softhddev.c:804
#1 0x0000007fa1c5ad14 in ReadBits (n=n@entry=8) at softhddev.c:812
#2 0x0000007fa1c5aeb4 in ParseResolutionH264 (width=width@entry=0x7f78ff88e8, height=height@entry=0x7f78ff88ec) at softhddev.c:866
#3 0x0000007fa1c637fc in CodecVideoOpen (decoder=0x55910625f0, codec_id=27, Par=0x7f70206210, timebase=timebase@entry=0x7fa1c7ef28 <MyVideoStream+32>) at codec.c:193
#4 0x0000007fa1c5b1bc in VideoDecodeInput (stream=0x7fa1c7ef08 <MyVideoStream>) at softhddev.c:1094
#5 0x0000007fa1c5d1ec in DecodeHandlerThread (arg=0x55910655d0) at video_drm.c:1065
#6 0x0000007fa2773628 in start_thread (arg=0x7f78ff8a70) at pthread_create.c:477
#7 0x0000007fa22db01c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78
==
(gdb) bt full
#0 0x0000007fa1c5acac in ReadBit () at softhddev.c:804
nIndex = 0
nOffset = 1
__PRETTY_FUNCTION__ = "ReadBit"
#1 0x0000007fa1c5ad14 in ReadBits (n=n@entry=8) at softhddev.c:812
i = 0
r = 0
#2 0x0000007fa1c5aeb4 in ParseResolutionH264 (width=width@entry=0x7f78ff88e8, height=height@entry=0x7f78ff88ec) at softhddev.c:866
avpkt = <optimized out>
pStart = <optimized out>
frame_crop_left_offset = 0
frame_crop_right_offset = 0
frame_crop_top_offset = 0
frame_crop_bottom_offset = 0
profile_idc = <optimized out>
pic_order_cnt_type = <optimized out>
pic_width_in_mbs_minus1 = <optimized out>
pic_height_in_map_units_minus1 = <optimized out>
frame_mbs_only_flag = <optimized out>
frame_cropping_flag = <optimized out>
#3 0x0000007fa1c637fc in CodecVideoOpen (decoder=0x55910625f0, codec_id=27, Par=0x7f70206210, timebase=timebase@entry=0x7fa1c7ef28 <MyVideoStream+32>) at codec.c:193
width = -1574091276
height = 127
codec = 0x7fa133f128
type = AV_HWDEVICE_TYPE_NONE
hw_device_ctx = 0x7f60003d00
#4 0x0000007fa1c5b1bc in VideoDecodeInput (stream=0x7fa1c7ef08 <MyVideoStream>) at softhddev.c:1094
avpkt = <optimized out>
#5 0x0000007fa1c5d1ec in DecodeHandlerThread (arg=0x55910655d0) at video_drm.c:1065
render = 0x55910655d0
#6 0x0000007fa2773628 in start_thread (arg=0x7f78ff8a70) at pthread_create.c:477
ret = <optimized out>
pd = 0x7f78ff8a70
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {547490862476, 549281721184, 549281721182, 548175098416, 549281721183, 547490859632, 0, 548186730496, 548187437888, 547490861424,
547490859344, 4288171253564897091, 0, 4288171256677550883, 0, 0, 0, 0, 0, 0, 0, 0}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0,
cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#7 0x0000007fa22db01c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78
File info + ffmpeg config:
ffprobe /files/Media/Video\'s/Lina\ afscheidsmusical\ groep\ 8.mp4
ffprobe version n4.3-dev-3927-g66b2c56db0-Kodi Copyright (c) 2007-2020 the FFmpeg developers
built with gcc 10 (Debian 10.2.1-6)
configuration: --prefix=/usr --cc='ccache cc' --enable-sand --enable-v4l2_m2m --enable-v4l2-request --enable-libudev --enable-libdrm --enable-libx265 --enable-gpl --enable-libx264 --enable-pic --enable-shared --enable-vout-drm --enable-avfilter --enable-nonfree --enable-gpl --enable-iconv --enable-network --enable-pthreads --disable-vdpau --disable-vaapi --enable-libfdk-aac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libkvazaar --enable-alsa --enable-libv4l2 --enable-gnutls --enable-libwebp --enable-librtmp --enable-neon --enable-runtime-cpudetect --enable-postproc --enable-pthreads --enable-muxer=spdif --enable-muxer=adts --enable-muxer=asf --enable-muxer=ipod --enable-encoder=ac3 --enable-encoder=aac --enable-encoder=wmav2 --enable-protocol=http --extra-cflags='-Wall -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux' --extra-cxxflags=-Wall --extra-ldflags='-fuse-ld=gold -L/opt/vc/lib' --enable-swscale
libavutil 56. 51.100 / 56. 51.100
libavcodec 58. 91.100 / 58. 91.100
libavformat 58. 45.100 / 58. 45.100
libavdevice 58. 10.100 / 58. 10.100
libavfilter 7. 85.100 / 7. 85.100
libswscale 5. 7.100 / 5. 7.100
libswresample 3. 7.100 / 3. 7.100
libpostproc 55. 7.100 / 55. 7.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/files/Media/Video's/Lina afscheidsmusical groep 8.mp4':
Metadata:
major_brand : mp42
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 2016-09-08T06:31:06.000000Z
encoder : HandBrake 0.10.5 2016041700
Duration: 01:40:02.88, start: 0.000000, bitrate: 1982 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/bt470bg/bt709), 700x406, 1815 kb/s, 25 fps, 25 tbr, 90k tbn, 180k tbc (default)
Metadata:
creation_time : 2016-09-08T06:31:06.000000Z
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 160 kb/s (default)
Metadata:
creation_time : 2016-09-08T06:31:06.000000Z
handler_name : Stereo
Kansst du was damit?
Danke!
Leider segfault vdr, das wird noch geloggt:
#0 0x0000007fa1c5acac in ReadBit () at softhddev.c:804
Der Decoder will Höhe und Breite des Materials haben. Darum parse ich das aus dem Stream. Das scheint mit dem Mediaplayer nicht zu funktionieren da das kein TS Stream ist. Ich schau mir das an.
Kansst du was damit?
Vorbildliche Bugbeschreibung, einfache Lösung, schnell fertig. Im git sollte das Problem behoben sein.
Danke schon, spielt mit nur 5% last!
Damit geht h264 grundsätzlich
Gruß
Carel
Hi,
ERROR: No usable libcdio/cdparanoia found
fehlt da nicht libcdio-paranoia-dev
Gruss
Wolfgang
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!