Recently I've been getting the following error when compiling the dvd plugin:
/usr/include/dvdread/ifo_types.h:32:2: error: #error "Must include <inttypes.h> or <stdint.h> before any libdvdread header."
This is with debian sid, gcc-3.4 and gcc-4.2, and dvd-0.3.6-b04. I tried to add #include <inttypes.h> into the beginning of /usr/include/dvdread/ifo_types.h but it had no affect.
Many thanks for your help!
Hi. I had the same problem originally. Can't remember what I did, and in what order - but this should help....
[root@callin dvd]# pwd /root/vdr-1.6.0/PLUGINS/src/dvd [root@callin dvd]# grep stdint.h * ca52.c:#include <stdint.h> tools-dvd.h:#include <stdint.h> [root@callin dvd]# grep inttypes.h * ca52.h:#include <inttypes.h> dvdspu.c:#include <inttypes.h> dvdspu.h:#include <inttypes.h> tools-dvd.h:#include <inttypes.h>
----- Original Message ----- From: "VDR User" user.vdr@gmail.com To: "mailing list: vdr" vdr@linuxtv.org Sent: Sunday, June 01, 2008 8:59 AM Subject: [vdr] Problem with dvd plugin.. Anyone know how to fix?
Recently I've been getting the following error when compiling the dvd plugin:
/usr/include/dvdread/ifo_types.h:32:2: error: #error "Must include <inttypes.h> or <stdint.h> before any libdvdread header."
This is with debian sid, gcc-3.4 and gcc-4.2, and dvd-0.3.6-b04. I tried to add #include <inttypes.h> into the beginning of /usr/include/dvdread/ifo_types.h but it had no affect.
Many thanks for your help!
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
On Sat, May 31, 2008 at 10:00 PM, Simon Baxter linuxtv@nzbaxters.com wrote:
Hi. I had the same problem originally. Can't remember what I did, and in what order - but this should help....
[root@callin dvd]# pwd /root/vdr-1.6.0/PLUGINS/src/dvd [root@callin dvd]# grep stdint.h * ca52.c:#include <stdint.h> tools-dvd.h:#include <stdint.h> [root@callin dvd]# grep inttypes.h * ca52.h:#include <inttypes.h> dvdspu.c:#include <inttypes.h> dvdspu.h:#include <inttypes.h> tools-dvd.h:#include <inttypes.h>
I added #include <stdint.h> and #include <inttypes.h> to the top of all those files and still got the same error. Which libdvdread-dev version are you using? I've got: ii libdvdread-dev 0.9.7-10 library for reading DVDs (development)
Btw, I also tried adding -D__STDC_LIMIT_MACROS to compiler parameters as Anssi suggested but that had no affect as well.
VDR User wrote:
On Sat, May 31, 2008 at 10:00 PM, Simon Baxter linuxtv@nzbaxters.com wrote:
Hi. I had the same problem originally. Can't remember what I did, and in what order - but this should help....
[root@callin dvd]# pwd /root/vdr-1.6.0/PLUGINS/src/dvd [root@callin dvd]# grep stdint.h * ca52.c:#include <stdint.h> tools-dvd.h:#include <stdint.h> [root@callin dvd]# grep inttypes.h * ca52.h:#include <inttypes.h> dvdspu.c:#include <inttypes.h> dvdspu.h:#include <inttypes.h> tools-dvd.h:#include <inttypes.h>
I have those too, but they were already there. I'm using a CVS snapshot of dvd plugin from 2007-10-30.
I added #include <stdint.h> and #include <inttypes.h> to the top of all those files and still got the same error. Which libdvdread-dev version are you using? I've got: ii libdvdread-dev 0.9.7-10 library for reading DVDs (development)
I have the same. With libdvdnav 0.1.10 works directly, with 4.1.1 I need the below define, with 4.1.2 I need the below define and a patch to libdvdnav: http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/libdvdnav/current...
Btw, I also tried adding -D__STDC_LIMIT_MACROS to compiler parameters as Anssi suggested but that had no affect as well.
On Sun, Jun 1, 2008 at 12:30 PM, Anssi Hannula anssi.hannula@gmail.com wrote:
With libdvdnav 0.1.10 works directly, with 4.1.1 I need the below define, with 4.1.2 I need the below define and a patch to libdvdnav: http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/libdvdnav/current...
I downgraded to 0.1.10 and had no compile errors. Then I upgraded back to 4.1.2 and tried compile with that patch and the define but the error reappeared! I guess the only solution for me is to use the old 0.1.10 package. Not sure why 4.1.2 + patch + define didn't work for me if it works at your end..!
To Halim: I use a nexus card and the dvd plugin seems to work here. I have not noticed any sync problems. I also have only played retail dvd's, no self-burned.
VDR User wrote:
On Sun, Jun 1, 2008 at 12:30 PM, Anssi Hannula anssi.hannula@gmail.com wrote:
With libdvdnav 0.1.10 works directly, with 4.1.1 I need the below define, with 4.1.2 I need the below define and a patch to libdvdnav: http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/libdvdnav/current...
I downgraded to 0.1.10 and had no compile errors. Then I upgraded back to 4.1.2 and tried compile with that patch and the define but the error reappeared! I guess the only solution for me is to use the old 0.1.10 package. Not sure why 4.1.2 + patch + define didn't work for me if it works at your end..!
To Halim: I use a nexus card and the dvd plugin seems to work here. I have not noticed any sync problems. I also have only played retail dvd's, no self-burned.
What version of dvd plugin you are using?
(I don't know if it matters, though)
On Sun, Jun 1, 2008 at 1:46 PM, Anssi Hannula anssi.hannula@gmail.com wrote:
What version of dvd plugin you are using?
filename is: dvd-0.3.6-b04.tar.bz2
in dvd.h: static const char *VERSION = "0.3.6-b03";
It appears the most recent changes were made Aug. 12, 2007.
and the top of the HISTORY file is:
VDR Plugin 'dvd' Revision History ---------------------------------
- fix possible segfault's (thanks to Ioannis Petroglou) - add Turkish translation (thanks to Oktay Yolge�en) - add kNext and kPrev keys - changes for vdr-1.5.0 - changes for vdr-1.3.47 - fix pcm audiotrackhandling in audiomenu - add Slovenian translation (thanks to Matjaz Thaler) - add Greek translation (thanks to Dimitrios Dimitrakos) - add Czech translation (thanks to Vladim�r B�rta) - add Estonian translation (thanks to Arthur Konovalov) - updated the Dutch OSD texts (thanks to Maarten Wisse). - updated Spanish OSD texts (thanks to Jesus Bravo Alvarez) - add Danish translation (thanks to Mogens Elneff) - add polish translation (thanks to Jaroslaw Swierczynski) - changes for vdr-1.3.42 - add russian language (thanks to Vyacheslav Dikonov) - changes for vdr-1.3.38 - fix memleak in SetAspectString - add workaround for lcdproc-crashing (thanks to Joachim Wilke) - change SetVideoDisplayFormat to DeviceSetVideoDisplayFormat - fix error in i18.c (thanks to Ville Skytt�)
2005-04-16 Version 0.3.6-b03 - add finnish translation (thanks to Ville Skytt�) - fix error in picturetype detection to save still iframes - fix highlight in letterbox and pan&scan mode (need patch vdr-1.3.23-dvbspu.c.diff works also on vdr-1.3.22) - fix highlight button when button == 0 - change menu detection (test) - use DeviceClrAvailableTracks/DeviceSetCurrentAudioTrack from vdr - only set possible subtitles - fix subtitlehandling in replay display - fix aspectratio in pan and scan mode - fix stillpicture in menu - fix allways showed subtitles - fix audiotrackcount and audiolanguage in progress display - add mpeg2 audio language
To Halim: I use a nexus card and the dvd plugin seems to work here. I have not noticed any sync problems. I also have only played retail dvd's, no self-burned.
What version of dvd plugin you are using?
I'm also using ""0.3.6-b03""
# rpm -qa | grep dvd libdvdnav-0.1.10-4.20070503.lvn6 libdvdread-devel-0.9.7-2.fc6 libdvdcss-1.2.9-4.lvn6 libdvdcss-devel-1.2.9-4.lvn6 dvd+rw-tools-7.0-0.fc6.4 libdvdread-0.9.7-2.fc6 libdvdnav-devel-0.1.10-4.20070503.lvn6 dvdauthor-0.6.14-1.fc6
I found the original thread from when I had these problems too. Attached a patch. http://www.mail-archive.com/vdr@linuxtv.org/msg04596.html
Hello, On So, Jun 01, 2008 at 01:22:42 -0700, VDR User wrote:
To Halim: I use a nexus card and the dvd plugin seems to work here. I have not noticed any sync problems. I also have only played retail dvd's, no self-burned.
Hmm sounds interesting to me. I am using the version from cvs (sourceforge).
Are you using really the hardware mpeg2 decoder of your nexus card??? My tt 2300 dvb-s card has really problems with this plugin.
with regards Halim
On Sun, Jun 1, 2008 at 2:49 PM, Halim Sahin halim.sahin@t-online.de wrote:
Are you using really the hardware mpeg2 decoder of your nexus card??? My tt 2300 dvb-s card has really problems with this plugin.
Yes, nexus tv-out goes directly into my tv. The vdr box has no gui for using xine, etc. No monitor, keyboard, mouse even plugged into the pc.
Hi, On So, Jun 01, 2008 at 02:56:15 -0700, VDR User wrote:
On Sun, Jun 1, 2008 at 2:49 PM, Halim Sahin halim.sahin@t-online.de wrote:
Are you using really the hardware mpeg2 decoder of your nexus card??? My tt 2300 dvb-s card has really problems with this plugin.
Yes, nexus tv-out goes directly into my tv. The vdr box has no gui for using xine, etc. No monitor, keyboard, mouse even plugged into the pc.
Hmm interesting. Can you please write me some info about kernel, dvb driverversion, used dvb firmware????? BR. Halim
On Sun, Jun 1, 2008 at 3:24 PM, Halim Sahin halim.sahin@t-online.de wrote:
Hmm interesting. Can you please write me some info about kernel, dvb driverversion, used dvb firmware?????
Sure. Am using:
debian sid kernel 2.6.26-rc4 drivers from v4l @ May 30th, 2008 firmware used is dvb-ttpci-01-f12623-patched.fw
Hi,
Don't waste your time if you are using a fullfeatured dvb card. The plugin is not working correctly and it seems nobody work on it any more. it has async problems and some more compatibility things with self burned dvd's. Regards Halim
Hi,
Don't waste your time if you are using a fullfeatured dvb card. The plugin is not working correctly and it seems nobody work on it any more. it has async problems and some more compatibility things with self burned dvd's. Regards Halim
So what do you suggest using for playing DVDs then?
I have a FF and a Budget card in my system, but play through vdr-xine. I know xine natively seems to do a better job at playing DVDs, but I've never worked out how to use xine natively for DVDs and vdr-xine for VDR.
VDR User wrote:
Recently I've been getting the following error when compiling the dvd plugin:
/usr/include/dvdread/ifo_types.h:32:2: error: #error "Must include <inttypes.h> or <stdint.h> before any libdvdread header."
This is with debian sid, gcc-3.4 and gcc-4.2, and dvd-0.3.6-b04. I tried to add #include <inttypes.h> into the beginning of /usr/include/dvdread/ifo_types.h but it had no affect.
Many thanks for your help!
You probably need to define __STDC_LIMIT_MACROS, e.g. add -D__STDC_LIMIT_MACROS to compiler parameters.