Open dr-ni opened 2 years ago
is this correct?
https://github.com/bplaum/gmerlin/blob/main/po/Makefile.in.in
Workaround: configure.ac.txt
but now
audiofilters.c:30:10: fatal error: gmerlin/converters.h: Datei oder Verzeichnis nicht gefunden
30 | #include <gmerlin/converters.h>
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
There were references to 2 obsolete Programs and an obsolete include in audiofilters.c. Now it should work.
And yes: The Makefile.in.in is correct. It's the madness of GNU gettext.
still remaining
edldec.c:31:10: fatal error: gmerlin/converters.h: Datei oder Verzeichnis nicht gefunden
31 | #include <gmerlin/converters.h>
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
and
In file included from player.c:35:
../include/playerprivate.h:34:10: fatal error: gmerlin/converters.h: Datei oder Verzeichnis nicht gefunden
34 | #include <gmerlin/converters.h>
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Now it should work.
Note to myself: After deleting header files from the source tree, also remove them from /usr/local/include/gmerlin ;)
now
mainwindow.c:31:10: fatal error: gmerlin/gui_gtk/gtkutils.h: Datei oder Verzeichnis nicht gefunden
31 | #include <gmerlin/gui_gtk/gtkutils.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Workaround in mainwindow.c changed
to
#include <gui_gtk/gtkutils.h>
but now
./gmerlin-record -help-man > ./gmerlin-record.1
/bin/bash: Zeile 1: 13282 Speicherzugriffsfehler ./gmerlin-record -help-man > ./gmerlin-record.1
next Workaround in Makefile in /home/pi/gmerlin-code/gmerlin/apps/cmdlinerecorder
gmerlin-record.1: gmerlin-record
# $(builddir)/gmerlin-record -help-man > $(builddir)/gmerlin-record.1
echo "UN dummy" > $(builddir)/gmerlin-record.1
then
sudo make install
Making install in gavftools
make[2]: Verzeichnis „/home/pi/gmerlin-code/gmerlin/apps/gavftools“ wird betreten
make[2]: *** Keine Regel vorhanden, um das Ziel „gavf-read.1“,
benötigt von „all-am“, zu erstellen. Schluss.
make[2]: Verzeichnis „/home/pi/gmerlin-code/gmerlin/apps/gavftools“ wird verlassen
make[1]: *** [Makefile:507: install-recursive] Fehler 1
make[1]: Verzeichnis „/home/pi/gmerlin-code/gmerlin/apps“ wird verlassen
make: *** [Makefile:632: install-recursive] Fehler 1
so far after sudo ldconfig
Fixed the wrong #include line in mainwin.c
The crashes when generating the manual pages are still mysterious though.
and the other make install gavf-read.1 error?
and how can I get these
libcdio: Missing (Go to http://www.gnu.org/software/libcdio/)
Musicbrainz: Disabled
libcddb: Disabled
detected
how can I play a local audio?
Cannot reproduct the gavf-read.1 error. But I fixed a number of bugs, which occurred when the manual pages were generated, but no plugins were installed in $prefix/lib/gmerlin yet. Maybe you can delete the /usr/local/lib/gmerlin folder and try to recompile everythig except gavl.
If you install libcdio-dev, it should get detected. Makes not much sense on a Raspi without a CD-Drive though. Same for Musicbrainz. Didn't use libcddb in many years, probably it won't work. It's not needed anyway if Musicbrainz works.
You mean local audio files? Drag them into the playqueue and doubleclick them. You need to pull and recompile gmerlin-avdecoder for this as I fixed a small crash.
ok, now its like this after removing /usr/local/lib/gmerlin folder and recompiling
mv -f .deps/gavf-tee.Tpo .deps/gavf-tee.Po
/bin/bash ../../libtool --tag=CC --mode=link gcc -DLOCALE_DIR=\"/usr/local/share/locale\" -DPLUGIN_DIR=\"/usr/local/lib/gmerlin/plugins\" -DDOC_DIR=\"/usr/local/share/doc/gmerlin\" -DDATA_DIR=\"/usr/local/share/gmerlin\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/usr/local/include -march=native -mtune=native -O3 -fomit-frame-pointer -ffast-math -Wall -Wmissing-declarations -Wdeclaration-after-statement -I/usr/include/libxml2 -Wl,--as-needed -o gavf-tee gavf-tee.o libgavftools.la ../../lib/libgmerlin.la -ldl -lxml2 -L/usr/local/lib -lgavl
libtool: link: gcc -DLOCALE_DIR=\"/usr/local/share/locale\" -DPLUGIN_DIR=\"/usr/local/lib/gmerlin/plugins\" -DDOC_DIR=\"/usr/local/share/doc/gmerlin\" -DDATA_DIR=\"/usr/local/share/gmerlin\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/usr/local/include -march=native -mtune=native -O3 -fomit-frame-pointer -ffast-math -Wall -Wmissing-declarations -Wdeclaration-after-statement -I/usr/include/libxml2 -Wl,--as-needed -o .libs/gavf-tee gavf-tee.o ./.libs/libgavftools.a -L/usr/local/lib -lrt -lnettle -lgnutls -lva-x11 -lva -lGL -lEGL -lX11 -lXext -lpthread -lm ../../lib/.libs/libgmerlin.so -ldl -lxml2 /usr/local/lib/libgavl.so -pthread
gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DLOCALE_DIR=\"/usr/local/share/locale\" -DPLUGIN_DIR=\"/usr/local/lib/gmerlin/plugins\" -DDOC_DIR=\"/usr/local/share/doc/gmerlin\" -DDATA_DIR=\"/usr/local/share/gmerlin\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/usr/local/include -march=native -mtune=native -O3 -fomit-frame-pointer -ffast-math -Wall -Wmissing-declarations -Wdeclaration-after-statement -I/usr/include/libxml2 -MT gavf-visualize.o -MD -MP -MF .deps/gavf-visualize.Tpo -c -o gavf-visualize.o gavf-visualize.c
gavf-visualize.c: In function ‘main’:
gavf-visualize.c:67:12: warning: unused variable ‘g’ [-Wunused-variable]
67 | gavf_t * g;
| ^
gavf-visualize.c:66:23: warning: unused variable ‘src’ [-Wunused-variable]
66 | bg_media_source_t * src;
| ^~~
gavf-visualize.c:65:15: warning: unused variable ‘in_plug’ [-Wunused-variable]
65 | bg_plug_t * in_plug = NULL;
| ^~~~~~~
gavf-visualize.c:64:7: warning: unused variable ‘ret’ [-Wunused-variable]
64 | int ret = EXIT_FAILURE;
| ^~~
mv -f .deps/gavf-visualize.Tpo .deps/gavf-visualize.Po
/bin/bash ../../libtool --tag=CC --mode=link gcc -DLOCALE_DIR=\"/usr/local/share/locale\" -DPLUGIN_DIR=\"/usr/local/lib/gmerlin/plugins\" -DDOC_DIR=\"/usr/local/share/doc/gmerlin\" -DDATA_DIR=\"/usr/local/share/gmerlin\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/usr/local/include -march=native -mtune=native -O3 -fomit-frame-pointer -ffast-math -Wall -Wmissing-declarations -Wdeclaration-after-statement -I/usr/include/libxml2 -Wl,--as-needed -o gavf-visualize gavf-visualize.o libgavftools.la ../../lib/libgmerlin.la -ldl -lxml2 -L/usr/local/lib -lgavl
libtool: link: gcc -DLOCALE_DIR=\"/usr/local/share/locale\" -DPLUGIN_DIR=\"/usr/local/lib/gmerlin/plugins\" -DDOC_DIR=\"/usr/local/share/doc/gmerlin\" -DDATA_DIR=\"/usr/local/share/gmerlin\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/usr/local/include -march=native -mtune=native -O3 -fomit-frame-pointer -ffast-math -Wall -Wmissing-declarations -Wdeclaration-after-statement -I/usr/include/libxml2 -Wl,--as-needed -o .libs/gavf-visualize gavf-visualize.o ./.libs/libgavftools.a -L/usr/local/lib -lrt -lnettle -lgnutls -lva-x11 -lva -lGL -lEGL -lX11 -lXext -lpthread -lm ../../lib/.libs/libgmerlin.so -ldl -lxml2 /usr/local/lib/libgavl.so -pthread
make[2]: *** Keine Regel vorhanden, um das Ziel „gavf-read.1“,
benötigt von „all-am“, zu erstellen. Schluss.
make[2]: Verzeichnis „/home/pi/gmerlin-code/gmerlin/apps/gavftools“ wird verlassen
make[1]: *** [Makefile:507: all-recursive] Fehler 1
make[1]: Verzeichnis „/home/pi/gmerlin-code/gmerlin/apps“ wird verlassen
make: *** [Makefile:632: all-recursive] Fehler 1
pi@rp4:~/gmerlin-code/gmerlin $
That's weird.
Did you change apps/gavftools/Makefile.am? (you shouldn't) Did you re-run ./autogen.sh? (you should)
again I fixed /home/pi/gmerlin-code/gmerlin/apps/renderer/Makefile.am
Makefile.am.txt
and /home/pi/gmerlin-code/gmerlin/apps/gavftools/Makefile.am
Makefile.am.txt
I'll try again...
Please use the files from GIT.
./autogen
WARNINGS
apps/gavftools/Makefile.am:47: warning: '%'-style pattern rules are a GNU make extension apps/renderer/Makefile.am:27: warning: '%'-style pattern rules are a GNU make extension
They are no problem if you use GNU make.
Looks ok doesn't it?
ok after a new clone it's compiling nicely
however, still crashing when moving audio into incomming
pi@rp4:~/gmerlin-code $ gmerlin
[volumemanager] Found UDisks2 daemon at :1.6
[ssdp] Unicast socket bound at 192.168.2.223:46141
[ssdp] Sent discovery packet
[backend_dbus] Found avahi daemon at :1.1
[backend_dbus] Created MPD service browser /Client12/ServiceBrowser1
[mdb.podcasts] Doing full update
[xmlutils] Cannot open /home/pi/.gmerlin/gmerlin-mdb/podcasts/index: Datei oder Verzeichnis nicht gefunden
[bggavl] Couldn't open file /home/pi/.gmerlin/gmerlin-mdb/podcasts/index
[mediadirs] Exporting media dir /home/pi/.gmerlin/gmerlin-mdb/thumbnails
id_to_iter(/playqueue) Couldn't initialize child_iter
bgav_track_table_create
bgav_track_table_create_message_streams
Speicherzugriffsfehler
pi@rp4:~/gmerlin-code $
also for mp4 video
jpeg is working - but cannot play
Update and recompile gmerlin-avdecoder
(Forgot to commit the fix from yesterday)
ok
For images I want to support the orientation information stored in the EXIF-Tag of JPEG-Files. That's a larger project, which I postpone for now.
I have wrong aspect ratio when playing tv from my vu+ uno4k receiver. Can I change aspect? Also the fullscreen mode cannot be switched back to window mode?
Can you upload a sample file somewhere?
Switching back from fullscreen works perfectly here (Tab or F11). In some pathological cases you might need to click into the window before to get keyboard focus (on my Raspbian with Mate desktop it's not necessary).
fetched with wget: deleted ts_uno4k.zi
gmerlin also cannot resolve my m3u playlist: tv.m3u.txt
I need a longer movie sample, ideally > 1M.
The m3u parses fine here when the filename ends with .m3u.
Ahh sorry didn't look at the size. But it's too short anyway:
[audio] EOF while initializing audio parser [video] EOF while initializing video parser
I can reproduce the m3u problem. It worked fine with my bgavdump tool but indeed crashes gmerlin. I'll look into this.